Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Layers positioning??

Posted 14 Dec 2005 10:30:35
1
has voted
14 Dec 2005 10:30:35 ricky ricky posted:
Hi guys,its my first post and relatively new to web design I would like some advice with regards to layer positioning?,I understand that they are abosolute to the top and left in pixels from top corner of page.My problem is my layout looks great on 1024X768 but lousy on resolutions greater than this.Is this something we put up with or is there a solution??is it possible to have a table centred then add a layer inside it positioned relative to the table??so then it wouldn't matter which resolution your viewing it? can't seem to get around this problem I have.I really like designing with layers rather than with tables but find this aspect of it really annoying.BTW im using dreamweaver V8.

Thanks

Edited by - crows on 14 Dec 2005 10:31:49

Replies

Replied 28 Dec 2005 09:33:39
28 Dec 2005 09:33:39 Tjerk Heringa replied:
create one layer containing all other.
Call it layerContainer.

your css would be something like:

#layerContainer {
width: 700 px;
left: 50%;
margin-left: -350px;
}

This will give you a smoothly centered layer.


----------------------------------------------
The client is allways right even if he is not.

Reply to this topic