CSS Div Problem
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 posted this at 16:32 — 17th February 2004.
She has: 5,507 posts
Joined: Feb 2000
text-align: center;
padding: 10px 5px 5px 5px;
??
mairving posted this at 17:18 — 17th February 2004.
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 posted this at 17:28 — 17th February 2004.
She has: 5,586 posts
Joined: Feb 2001
Congratulations! On the baby that is not the CSS
Suzanne posted this at 17:47 — 17th February 2004.
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 posted this at 08:29 — 18th February 2004.
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.