Hi
Whats the best way to keep your container div centered on the page at different resolutions?
thx
css code for keeping a div centered at any resolution
Started by zAchEus, Oct 04 2007 05:43 AM
3 replies to this topic
#1
Posted 04 October 2007 - 05:43 AM
#2
Posted 04 October 2007 - 06:16 AM
margin:0 auto;
#3
Posted 04 October 2007 - 12:09 PM
In case you don't know what that means, it's setting the left and right margins to auto.
#4
Posted 04 October 2007 - 01:00 PM
This is a frequently asked question, please use google/the forum search.
Note that with the margin trick, the div has to have a specified width.
Note that with the margin trick, the div has to have a specified width.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
