Hi,
In advance I'm sorry this is long and hope it makes sense....
I have a few uploaded examples of a site I'm currently re-building in CSS. Initially I'd like some tips on the coding itself, the CSS is uploaded aswell so hopefully you will be able to view the CSS and HTML.
www.j27.tv/TEMPLATE.html
Here it is so far as you can see it's midway through the build. The problem I encountered revolves around me having 3 divs side by side. a left bar "leftbar", a right bar "rightbar", and a central section "header" which also leads into several more divs containing the "banner" and "maincontent" etc.
I have a feeling I may not be doing this correctly, but the issue is that as the "header" children divs extend downwards, the two bars left and right need to grow with it to stop the content spilling out. as it stands it means as I get below the two side divs the content begins to fill the whole width of the container div "mainbody" (1000px)
I need to make it so that the two side bar divs will grow relative to what is in the central section.
Additionally, and not that important I had a go with static positioning on the left and right bars so that just the central section scrolls:
however, first and foremost the effect doesnt work on IE8, and on the other browsers, the whole thing falls apart, as the "header" automatically drops to the left. i have an example here:
http://www.j27.tv/TEMPLATE2.html
I hope some of this made sense and you can de-construct my CSS. I have not been doing this long so I just hope it's not terrible coding.
Thanks in advance
use the review forum.
Last edited by chrishirst; 06-05-2010 at 02:42 PM..
|