Apologies...you're right. Leave the width, although I would be setting
it to 760px so it was effectively 100% in 800 x 600 and have margins in
larger resolutions. I really don't understand why people want these
margins though. I feel a site should be fluid to 100% irrespective of
resolution.
Thanks for the correction.
Regards,
Ric
Ben Wong wrote:
On 12/14/05, Ric & Jude Raftis <[EMAIL PROTECTED]> wrote:
Try this Al
#content {
padding: 10px;
margin:5px auto;
background-color: #fff;
border: 1px solid #000;
width: 70%; /* remove this because you are setting your margin to auto*/
}
errr...then the div will fill the page...
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************