This content has been marked as final. Show 6 replies
Start by fixing the coding errors:
Especially this one: ID "lnav2marg" already defined
"ottz0" <firstname.lastname@example.org> wrote in message
>I have a 2 divs nested inside one another. left div float left and right
> float right.
> This displays correctly in IE and all good ,however Firefox is not
> can someone please have a look and see where it's going wrong. Also A want
> left nav BG to display all the way down but it stops where the content
> does.. I
> want it at 100%
Thanks Walt. I have passed validation, but still the error. Any Ideas
> Thanks Walt. I have passed validation, but still the error. Any Ideas
Alter your css for the elements as below (there's some subtle changes so
make sure its exactly the same as written)
font-family:Arial, Helvetica, Geneva, sans-serif;
Also A want the
> left nav BG to display all the way down but it stops where the content does.. I
> want it at 100%
The left lnav bg you'll have to attach to the .content <div> css as this
is the <div> that wraps both the lnav and rcontent <divs> and governs
the height of the page design.
You'll most likely need to use a 'clearing' the floats method to force
the .content <div> to wrap around the other two <div> which are floated
left and right. You can do this by adding:
overflow: hidden; to the .content css
If you do not do this you will not see the bg image once its been
attached to the .content css.
Make the changes I suggest in my other reply first to get the page
layout correct, then come back and implement the bg image solution.
On Mon, 27 Oct 2008 06:56:33 +0000 (UTC), "ottz0"
>Thanks Walt. I have passed validation, but still the error. Any Ideas
You float your rcontent class, but you never assign a width to it.
Give it a width of 660 or less and it will float the way you want.
Thanks heaps that has fixed all solution. It a bit easy to get lost sometimes.
The only thing now in Firefox is that the grey border around the content is missing and this displays in IE. Also in Firefox the BG image was showing so I set the rcontent to white. That fixed that but now the grey borders.
Thanks for your help