Forums / Basic Configuration / Sidebox text too far to one side

Sidebox text too far to one side

Locked

Views: 1,397

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Oct 2008, 5:30 AM
#1
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Sidebox text too far to one side

The text within my sideboxes is pressed right up to the left edge. (See example) How can I pull it just slightly to the right?

Thanks!

5 Oct 2008, 5:38 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Sidebox text too far to one side

Add some padding

Zen-Venom Get Bitten

5 Oct 2008, 5:46 AM
#3
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Sidebox text too far to one side

I had tried that but with no success:

.sideBoxContent {
font-size:.975em;
padding:5px 0;
}

Maybe it's not .sideBoxContent...

5 Oct 2008, 6:40 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Sidebox text too far to one side

padding:5px 0;

means 5px of padding on top & bottom, 0 on left & right.

If you want left & right padding, you need a value in the second position, or eliminate it and have only
padding:5px;
which will give 5px all around.

5 Oct 2008, 10:49 AM
#5
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Sidebox text too far to one side

gjh42:

padding:5px 0;

means 5px of padding on top & bottom, 0 on left & right.

If you want left & right padding, you need a value in the second position, or eliminate it and have only
padding:5px;
which will give 5px all around.

Thanks Glenn!!