Hey guys,
I am having a problem with coding my layout with CSS. I would like to make two columns/divs or whatever for the red boxes I listed in the example below. Any help to do so would be greatly appreciated.
Thanks in advance.
Example: http://www.detroitro...com/example.jpg
CSS Layout Help
Started by digitalmike, Feb 02 2006 09:47 PM
4 replies to this topic
#1
Posted 02 February 2006 - 09:47 PM
#2
Posted 02 February 2006 - 10:12 PM
#3
Posted 03 February 2006 - 12:12 AM
Use relative positioning:
#left {
float: left;
position: relative;
top: 0;
left: 0;
}
#right {
float: left;
position: relative;
top: 0;
left: 400px;
}
Replace 400px with the distance you want.
#4
Posted 03 February 2006 - 12:22 AM
Would I place that code in the style sheet or in the page itself? Sorry for the newbie question guys.
#5
Posted 03 February 2006 - 12:39 PM
Well that's CSS code, so it would be best to place it in the stylesheet. On your HTML page, just give the divs the correct id's.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
