4 replies [Last post]
larmyia
Offline
Elder
London
Last seen: 11 years 47 weeks ago
London
Timezone: GMT+1
Joined: 2005-01-25
Posts: 1060
Points: 0

Hi, quick question. when I put a link on my logo to my home page it seems to put a border around it. I've tried text-decoration: none; and this doesn't seem to do anything? what can I do to get rid of it?

thanks

larmyia

antibland
antibland's picture
Offline
Leader
Pittsburgh
Last seen: 11 years 30 weeks ago
Pittsburgh
Joined: 2005-01-17
Posts: 603
Points: 0

<a> link on logo

Did you try:

a img { border: 0; } ?

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 30 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

<a> link on logo

Or :
img {border:none;}

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

larmyia
Offline
Elder
London
Last seen: 11 years 47 weeks ago
London
Timezone: GMT+1
Joined: 2005-01-25
Posts: 1060
Points: 0

<a> link on logo

ah! I see my mistake. I had .banner a {} and I needed .banner img {}

many thanks!

larmyia[/code]

antibland
antibland's picture
Offline
Leader
Pittsburgh
Last seen: 11 years 30 weeks ago
Pittsburgh
Joined: 2005-01-17
Posts: 603
Points: 0

<a> link on logo

Thanks for the assist, "Huges."