PDA

View Full Version : Need some help



[Oli]
05-11-2006, 04:25 PM
ok, so im coding my v3.

But this time im using div's instead of tables.
Im not to good at div's so...

How can i make it so that i have 3 divs next to each other?

[DIV1][DIV2][DIV3]

couse now i just get:

[DIV1]
[DIV2]
[DIV3]



<div id="mid_box">
<div id="leftbg">&nbsp;</div>
<div id="mid">&nbsp;</div>
<div id="rightbg">&nbsp;</div>
</div>

Geek
05-11-2006, 04:26 PM
You could use the float element. float:left etc

[Oli]
05-11-2006, 04:28 PM
You could use the float element. float:left etc

tried that :/
Goes to the whole left of my page and my layout is centerd so i want it on the left but still in place with the layout

get what i mean ?

Invent
05-11-2006, 07:52 PM
Im a nub at Divs + Css.

But cant you just use simple CSS to customise it?

EG:

#div1 {
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}

alter all the sizes etc, then just add: id="div1" to the DIV layer. Then it should float where you have positioned it with the CSS.

Want to hide these adverts? Register an account for free!