positioning my sidebar.

Permalink
Well I cant seem to position my sidebar right, to the side of the main content box on the right. if someone could help that would be nice.

1 Attachment

 
onjegolders replied on at Permalink Reply
I've looked briefly at your CSS, but can't see your html file.
It seems that you need to float your Main and sidebar areas
so
#main_content: {float:left;}
.
#sidebar: {float:right;}
.

You may then have to add a clearer div to clear these two floating elements to avoid messing up the following divs
Steevb replied on at Permalink Reply
Steevb
Hi,

As onjegolders says, you need to float.

But you should probably float both to left and do not have a margin on the same side as the float.

A small tip- you don't margin-left, margin-bottom and margin-right?

#wrapper:{ 0 auto } is enough to centralise it.

Just do margin: 10px auto (margin top and bottom, auto left and right) or margin:0 10px (no margin top and bottom, but 10px left and right).

Your footer margin: 25px auto should be enough.

Why have coded border-radius different for webkit?

They should be all the same with prefix: -moz- , -webkit- , -o-

hope that helped

Steev