Jump to content

<div>


dukxud
 Share

Recommended Posts

i've been building a website and since i'm fairly new at it i took a free templete and decided to edit it. it is composed of mostly <div> as structue it seems and when i want to edit the page and give it a new form it just messes up. I'm using dreamweaver 8. can someone explain to me exactly how a <div> is used for structure or explain to me how to edit the structure, since it has no tabels. -Nathani can post what i've done with it so far if i have been vauge in some manner.

Link to comment
Share on other sites

A <div> is simply a box, or container. You can give it a size, shape, color, border, position and other things with CSS.
right but i havn't seen anything on the HTML or the Style Sheet telling it that stuff and it's very agrivating. here is the site if you'd like to look at it. Fadingearth.com Edited by dukxud
Link to comment
Share on other sites

The CSS is telling it what to do:

#left {float: left;width: 243px;}

The element <div id="left"> will be put to the left and given 243px of width.And the same with all the other elements. You should look through the CSS tutorial to see what the properties do.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...