Hi Using this CSS rule, I am able to apply a b/g image to a link. #right-block a { padding:0 10px 0 40px; text-decoration:none; background-image:url(..images/right-bullet.jpg); background-repeat:no-repeat; }
Hi
Using this CSS rule, I am able to apply a b/g image to a link.
#right-block a {
padding:0 10px 0 40px;
text-decoration:none;
background-image:url(..images/right-bullet.jpg);
background-repeat:no-repeat;
}
This works ok, pushes the text of the link over by 40px and so on and when I have a link on a line of its own, the b/g is good. This is perhaps ideal for a simulation of a list of URLS.
Trouble is, if I
also have a block of text, which also has a link in it such as the representation below:
"This is a paragraph of text with a
URL LINK GOES HERE in it and I want it to be there!"
...then the same background would appear immediately before the word "URL" (in the example).
Can someone show me the rule I would need to create to over-ride the first rule to allow me to simply have (say) a 'text-decoration:underline' when the link is within a paragraph of other text?
Hope this makes sense!
Cheers
Chris