CSS Div Problem

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

I am using the following CSS class:
.leftnav {
font-family: verdana, helvetica, arial, geneva, lucida, sans-serif;
color:#000000;
font-size:11px;
align: center;
padding: 10,5,5,5;
}
And calling it like so:

href_linktext

As shown in the left navs on this page. It works fine in IE, but the padding doesn't work at all in Opera or Mozilla. I suppose because of the href links. Any idea of a fix or should I just make a new possibly paragraph class?

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

text-align: center;
padding: 10px 5px 5px 5px;

??

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Thanks, I knew that it was simple. I just didn't want to have to spend the time digging it up.

I was looking on your site the other day. That boy of yours is getting big. I found out on Valentines Day that my wife is expecting our 2nd.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

Congratulations! On the baby that is not the CSS Wink

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

On Valentine's Day! YAY! Congratulations, Mark!

And hey, extra eyes, sometimes that's all it takes. Unlike when I mess around with Busy's functions. Heh.

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

Congratulations on both (mainly the baby of course)!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.