View Full Version : DIV help


i_love_sailors
04-13-2003, 05:08 PM
I went through the entire section looking for DIV tag help and I did find some things.

Does anyone know of any really detailed good tutorials about DIV tags and everything? I noticed one tutorial on there that I looked at but it was very basic.

The layout for my website is going to be something like this: www.buck-off.com. THe main image will be up top and there will be a large section of red where the navigation will be, the body will be in the middle, and then a place for small ads on the right, which is also a section of red.

Should I use DIV tags or tables? I've been looking at the source codes on numerous websites and it really all goes over my head. Any help is much appreciated.

* kr is ti n *

Alcy
04-13-2003, 05:48 PM
There really isn't much to it. You can include a table in a div, or just position the table itself.
<table style="position:absolute; top#; left:#;">

Here's some tuts though:
http://swankyspork.com/tutorials/divtutorial.html
http://www.echoecho.com/csslayers.htm
http://www.yourhtmlsource.com/stylesheets/csslayout.html

i_love_sailors
04-13-2003, 06:59 PM
If I was to put something all the way up top, would I put 0 as the number? And how would I position the two red sections to line up with the image up top?

Thanks for your help. :)

MaGiCSuN
04-13-2003, 07:05 PM
Something to the top is 0px yes
from top the higher number will make it go down. From left the higher the number will make it go more to the right

Love,
Mirna

i_love_sailors
04-13-2003, 08:12 PM
Great! Thanks so much!

* kr is ti n *