...

View Full Version : Resolved Sidebar is centered. How do I align it to the left?



BabyJack
11-16-2008, 09:35 AM
So the question is in the title.
How do I align the sidebar to the left?

http://simgalaxy.missingstudios.com/

Currently, it's centered.

Regards

Actinia
11-16-2008, 10:34 AM
Your CSS for #sidebar is:

#sidebar {
width: 250px;
padding: 2px;
float: right;
padding: 5px;
}

This is telling it to float right. In FF it is floated right as you specify. If you want it on the left, then you should specify this.

There are a number of other CSS errors that FF (firebug) flags.

John

BabyJack
11-16-2008, 11:00 AM
Ah sorry. I meant the text is aligned to the center. I would like the text to be aligned to the left.

GardenGnome2
11-16-2008, 01:26 PM
I can't open your page, but...using this code.
all I can tell you is to use text-align:left;


#sidebar {
width: 250px;
padding: 2px;
float: right;
padding: 5px;
text-align:left;
}

You also may have some <center> tags that aren't closed with </center> Check that out, too.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum