• NOW LIVE! Into the Woods--new character species, eerie monsters, and haunting villains to populate the woodlands of your D&D games.

Web site help.


log in or register to remove this ad

A div is simply a division/divider - a region that is different from other regions.

It can be likened to sections in Word. Each div can have different colours, settings, and so forth.
 

Heh. The most irritating thing Word does for me is the whole styles thing. I know how to adjust my text manually. I hate it when Word thinks it knows better than I do and tries to reformat things.

I just want to have a static header, a static navigation part, and then text that scrolls. How do I do that without frames, and why are frames bad?
 

a DIV is a structural block in the HTML. In terms of CSS layout you can use them to provide a static header and static navigation area if you wish, and a further one for a scrollable main text area.

examples:
http://urbanmainframe.com/folders/css/fixed_header/

http://jessey.net/simon/articles/007.html

http://www.webmasterworld.com/forum83/560.htm has an IE compatible method.



Frames are bad for several reasons - not least that it makes it impossible to bookmark anything other than the main frontpage, doesn't necessarily work well with regard to forward and back buttons across all browsers, search engines often don't index framed pages. They also make it more complex for you as a web designer to keep everything right. It is very rare to see frames on any commercial sites nowadays.
 


Into the Woods

Remove ads

Top