Borders around images using CSS
i just tried to get a border around images i have postet, but i noticed that this does not work, ich created the following new entry while "editing css":
img {
border: 1px solid #000;
}
and my soup did not change,
bug or feature? :>
greetings, Lino.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?It's neither a bug or a feature, you're simply doing it wrong ;-p
Assuming the rule quoted above is correct: Look at the source of your soup and check _all_ .css files that are linked in. The one you can edit should be specified last and therefore overwrite rules in earlier ones, but note that more general selectors do not overwrite more specific ones. Therefore, check every rule that could be affecting your images. There could be one saying ".post img { ..." or something like that; simply copy that selector and specify your own rule for it in your skin.
2 people say
this answers the question
-
Inappropriate?Hum, sounds quite logic, my css-skills need some polish i think ;)
Whatever, thanks for the quick answer, when i get some time to check my source i'll post the results here.
have a nice day, Lino.
I’m looking forward to solve this prob
-
Inappropriate?Okay, i just got it goin, the element you have to define while editing css is named ".post img { ... }".
Thanks for the support and keep up the good work,
Lino.
I’m lovin the soup!
-
Inappropriate?Btw, cool customization ;-)
-
Inappropriate?Thank you, i love orange, but it was just some pastime, mabe ill do "the" great custumization when i get some time to get css to do what i want ;)
I’m surprised
Loading Profile...





