pardicity3
05-15-2003, 04:38 AM
I didn't want to post this as I hate making people plow through my code just to find probably a simple error, but here it goes.
I am developing a new layout that breaks down to one header div with a 100% width, one main content area beneath that which also spans 100% width and contains two child div's--one for navigation and one for the real content. This page can be seen here:
http://www.mikesadventures.net/testing/index.html
My problem comes when I try and float the content div to the right of the navigation div. When this is done the content div seems to leave it's parent div. Here is the example page:
http://www.mikesadventures.net/testing/indexfr.html
See how the content exceeds the area contained by the main div with the white background? For you who are looking at the page in IE and are confused right now, this only seems to happen in Moz. Or atleast Moz 1.2a on windows 2k.
I thought maybe there was something wrong with my divs that was preventing them from being floated. But I tried to move the content div below the navigation div and then float the navigation div to the left. This seemed to work which made me wonder about my theory that I couldn't float either div. An example of the page with the left floating nav can be seen here:
http://www.mikesadventures.net/testing/indexfl.html
I am not quite sure what is going on now. I know there is a lot of code in there (well not A LOT, but enough to make it annoying...), but hopefully the problem will be easy to find.
I am developing a new layout that breaks down to one header div with a 100% width, one main content area beneath that which also spans 100% width and contains two child div's--one for navigation and one for the real content. This page can be seen here:
http://www.mikesadventures.net/testing/index.html
My problem comes when I try and float the content div to the right of the navigation div. When this is done the content div seems to leave it's parent div. Here is the example page:
http://www.mikesadventures.net/testing/indexfr.html
See how the content exceeds the area contained by the main div with the white background? For you who are looking at the page in IE and are confused right now, this only seems to happen in Moz. Or atleast Moz 1.2a on windows 2k.
I thought maybe there was something wrong with my divs that was preventing them from being floated. But I tried to move the content div below the navigation div and then float the navigation div to the left. This seemed to work which made me wonder about my theory that I couldn't float either div. An example of the page with the left floating nav can be seen here:
http://www.mikesadventures.net/testing/indexfl.html
I am not quite sure what is going on now. I know there is a lot of code in there (well not A LOT, but enough to make it annoying...), but hopefully the problem will be easy to find.