I have a problem that's been bugging me.
It seems a global theme problem & relates to d5 & d6 themes.
I'd like to have borders for images & not for the logo.
But no matter if there's a 'logo' tag in the css file & even if it's set to 'border:none',
as long as the img & a img tags have borders, they will show on the logo.
As I've said, I've tried with several themes & in both drupal 5 + 6.
Does anyone know how to solve this ?

Comments

naveenpl’s picture

It is just a tip to solve your problem. CSS can be override by style.
In css last class will override the first class. so automatically border must be there for logo.
So declare style="border:none;" to the Only local images are allowed. tag for logo. That way style will override class.
This way all other image will have border except logo.
I think this will work.

Hope this will help
Cheers.

steve-psngs’s picture

thanks very much, it worked.
I don't know why it didn't work before as I had placed the logo tag below the img tag.
This time I placed it directly underneath the img tag :

img, a img {
  border:   1px solid;
  border-color: #241B19;
 }
#logo {
  border: none;
 }

perhaps it's because I added "#" to the tag ?

Anyway, thanks very much as now I can make the site look the way I wish it to look.
:)

guigo’s picture

I had the same problem, no matter what i did, the border didn't show up!!!
Thanks for the code lines, now it works.
Strange thing that Drupal is..