Forum Moderators: travelin cat

Message Too Old, No Replies

mac error with PV11 Layout Designer2

centering a layer on Mac OS 8+

         

richardb

3:29 pm on Dec 18, 2002 (gmt 0)

10+ Year Member



Has anyone used this addin for Ultradev with success have tried and given up and gone for a conventional table based approach. Macs seem to ignore the calc re. screen width & height and left align the layer that should be centered.

Works fine on IE 5 & 6 (not tried on 4) and Opera 6.

TIA

Rich

BjarneDM

5:07 pm on Dec 22, 2002 (gmt 0)

10+ Year Member



if you want to center a design do the following: (partial code)

<head>
<style>
#thepage {
position: relative ; width: 300px ;
margin-left: auto ; margin-right: auto ; }
</style>
</head>
<body>
<div id="thepage"> contents </div>
</body>

yours in happy hacking
Bjarne - København ; Danmark ; Europa

richardb

11:59 am on Dec 23, 2002 (gmt 0)

10+ Year Member



Hi Bjarne

Thanks for that it's actaully a bit more complicated than that, there are multimple layers into a three column style layout. The center aspect acts as an information overlay. Everything works on IE 4+ and NS 4 + but fails in a Mac OS 9.2 running IE5... The client traffic is less than 2% Mac users but 50 % of his oofice use Macs so it needed to work. Have found the PV11 forum

forums.projectseven.com

Has some good stuff.

Rich

BjarneDM

1:10 pm on Dec 29, 2002 (gmt 0)

10+ Year Member



If it works in both IE 4 and NS 4 I've got a nasty suspicion that you've got some really nasty legacy coding on your website. I've personally dropped supporting IE 4 and NS 4 as these browsers now must be considered totally out of date. I started coding when html 3.2 was de rigeur and have upgraded my website 4 times since as the browsers and standards evolved. I stopped supporting NS 4 when NS 6 was released, and IE 4 got the boot a month ago after having analysed my weblog and noticing that the traffic from IE 4 was neglicible - some of the things that registered as IE 4 were web-proxies, search-bots and spiders, so they don't even count.

Advise:
1) start rewriting using *only* xhtml 1.0 transitional
2) get people to ugrade to Mozilla 1.2.1 as IE 5 Mac has some serious CSS bugs