...

View Full Version : <div> and </div>



twomt
09-21-2006, 11:55 AM
Hi,

can someone perhaps explain or point me to an explanation of this option?
I am not sure how they can be used and what their main purpose is.
But if I look at where they are used, they seem to provide me with a solution of how to insert data into a specific area at the end of a php script (maybe?)

thanks,
twomt

BonRouge
09-21-2006, 01:13 PM
http://www.w3.org/TR/html4/struct/global.html#edef-DIV

twomt
09-21-2006, 01:40 PM
OK, how I understood it (correct me if I am wrong) is that I give it an id <div id=x> and then when I want to stick info into that section I do index.php?x=something

probably not, but that is how I understood it.

BonRouge
09-21-2006, 02:15 PM
Erm... no. I'm not sure where you're coming from with the php references. 'div' is an html element that usually denotes sections of a page. For example, many people put a banner and navigation menu in a div and giv it the id 'header'.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum