Quote:
Originally Posted by World
Thanks!
I actually used #id in CSS as I have images with borders on my website (which I needed), so I created the rule for the buttons only (which are images, too).
Code:
#button_pricing {
border:0;
}
Worked like a charm.
|
Creating a rule for a specific ID does of course mean that you have to create the same rule for every individual image that is linked, as IDs have to be unique in the document.
A class applied to the linked images to turn off borders is one way;
Code:
img.no_border {
border:0;
}
creating a rule that only applies to images inside a type of element is another.
This is for images inside anchors (<a>)
Code:
a img {
border:0;
}
Or creating a rule for images in a specific container is yet another;
Code:
#navigation img {
border:0;
}
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|