|
|
 |
Re: FN-FORUM: FW: CSS Advice
date posted 1st March 2006 16:18
Hi Terry
assuming you are applying to a tag or something similar, you could try
splitting the CSS code and applying css elements relevant to the link - to
the tag only (.servicemenu a:link)
something like this
.servicemenu {
font: bold 9pt Verdana,Helvetica,Arial;
text-align: center;
padding: 5px;
}
.servicemenu a:link{
text-decoration: none;
color: #182C5A;
background-color: #6699CC;
background-image: url(images/pane.gif)
}
HTML
text link text text text
this works for me I just tested it
Julie
----- Original Message -----
From: [EMAIL REMOVED] [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Wednesday, March 01, 2006 4:12 PM
Subject: FN-FORUM: FW: CSS Advice
I wonder if someone could help with a CSS problem, that I can't seem to get
round.
I have the following lines;
.servicemenu { font: bold 9pt Verdana,Helvetica,Arial;
text-decoration: none;
text-align: center; color: #182C5A;
padding: 5px;
background-color: #6699CC;
background-image: url(images/pane.gif)}
I find I am having to use background-color and background-image tags in the
html directly as it line is not taking this setting. Also the text is still
underlined. The "a" tag has been set in the same CSS, but surely this class
should overwrite any other settings.
Stupid question I know, but it's beginning to get under my skin.
Any help would be appreciated.
Terry
|
 |
|