View Full Version : someone explain div tags a little bit?

09-21-2007, 03:57 AM
please explain a little bit what the difference is between a regular tag and a div tag. thanks

www.moredatesmorelove.com (http://www.moredatesmorelove.com)

Karen Mac
09-21-2007, 05:33 AM
Well what regular tag are you referring to? a div tag makes a seperate space.. like a table in html. You use division tags for menu/navigation, columns etc. There are tons of REGULAR tags so its rather hard to give you a comparison. A division tag (div) is a regular css tag. LOL.

Glad we had this chat.. clear as mud right?


09-21-2007, 06:17 AM
A div tag is a Division or Block tag.

Whilst most of other tags will define a property of a limited text or object, a div tag will enclose in it as much content as you like, and apply to it the properties you have defined (if any) for this block using css.

Also, you can position the div in many ways, while all other tags are usually positioned verically in the code flow.

BV itself uses a div to center the page content. ALL page content is placed inside this initial div and a small piece of css code centers it in your browser.
Then BV uses divs to place all other elements in the page. This is also how BV can provide the WYSIWYG effect, using the "absolute" positioning for it's divs.

You may have multiple level tags, each inside another.

09-24-2007, 07:34 PM
thank you for u'r help.. it makes more sense now http://www.vodahost.com/vodatalk/images/icons/icon10.gif

09-24-2007, 07:46 PM
Hi Naval,
if i am using css, will all that i do be within BV div#container, even if i create other containers. IE: is the BV one like a master container that all will be stored in?. (if i phrased that right)

09-24-2007, 09:29 PM
Yes, correct. The BV div #container however exists only if you center the page.

09-25-2007, 07:12 AM
Thank you! http://www.vodahost.com/vodatalk/images/icons/icon14.gif