|
Posted by Tony on 04/05/06 19:58
Paul Watt wrote:
> Hi,
> Ok, I've solved most of the layout issues I was having with the template I'm
> building and it looks ok in both IE and FF.
> One thing remains though and its driving me nuts. I've got two divs's
> displayed next too each other to make two cols, the left hand div set at a
> width of 250px, the right hand div no width set.
> In FF the right div starts at the edge of the left div and displays
> correctly, however in IE the right div starts at the edge of the page
> (although the text in the div starts at the edge of the left div).
>
> So If i set margin-left on the maincontent div to 255px in IE it sits where
> I want, but in FF it sits 255px away from the left div which just looks
> wrong.
>
> The URL is: http://www.paulwatt.info/test/turn/ .
> and http://www.paulwatt.info/test/turn/css/turnlayout.css
>
..leftcell{
margin-top:5px;
width: 250px;
position: absolute;
}
Look into FLOAT, and lose position:absolute
Navigation:
[Reply to this message]
|