hmmmmm. OK, so I've given my content div a margin-left: 160px; (10 more than the width of the leftNav div) but although it stops the problem it moves that whole div to the right 10px and obviously that's not what i want. I take it there's something I'm not quite getting with this, any more nudges in the 'right' direction...?
I was given another 'hack' (detailed bottom) which worked fine and as you can see only has two extra attributes.
#leftNav { float:left; width:150px; } * html #leftNav {
margin-right: 10px; } * html #content { height: 1%; margin-left: 0; } #content {
background-color:#fff; margin-left: 160px; padding: 5px 5px 5px 10px; } the hack below works......!!!!!!
#content {
background-color:#fff; margin-left: 150px; padding: 5px 5px 5px 10px; /margin-left: 0px; /float: right; } ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ****************************************************** |
- Re: [WSG] CSS navigation pushing contents of next div ov... David Sam Butler
- RE: [WSG] CSS navigation pushing contents of next d... Samuel Richardson
- RE: [WSG] CSS navigation pushing contents of next d... David Sam Butler
- RE: [WSG] CSS navigation pushing contents of next d... Samuel Richardson
- RE: [WSG] CSS navigation pushing contents of next d... David Sam Butler