|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Elimination of bluish/purple border around button image (link)
Hi,
I have pictorial buttons that really are <a href's></a> with img buttons in between. When viewed in IE i get a bluish/purple box around my buttons. I want to eliminate the link marking around the images. How do I do this? Thanks for all and any suggestions. Melroy |
|
#2
|
|||
|
|||
|
have you set
border="0" in the img tag? |
|
#3
|
||||
|
||||
|
There are a couple of ways to fix this, the easiest being only if none of your images ever have borders... for example,
CSS: img{border:0px;} Another method would be to define a class that does the exact same thing as above... and use it on the specific images that are going to be links... CSS: .imglink{border:0px} Hope that helps...
__________________
The Standards! CSS 2 - CSS 3 - w3c CSS Validator - XHTML 1.1 - HTML 4.01 - w3c (X)HTML Validator - ActionScript Reference Links! Bert's Door and Lock Service | Brandon Erik Bertelsen | TextPattern |
|
#4
|
||||
|
||||
|
Quote:
border="0" is no longer a valid attribute for newer dtd's |
|
#5
|
|||
|
|||
|
Oops! Sorry
Still look on the bright side, I'm viewing this page on my newly downloaded and very compliant Firefox, so you never know... I might get the hang of this CSS gubbins eventually ![]() |
|
#6
|
||||
|
||||
|
It's still valid for everything pre xhtml...but it's better to get in the habit of knowing what's not going to be valid in the very near future... rather than stick with learning old mark up...
|
|
#7
|
|||
|
|||
|
It works! What's the long-term (xhtml compliant) solution?
Hi all,
Thanks for that mighty-quick response! It works, and I'm going to implement it. Is there an xhtml compliant solution so that I wont have to fix this issue for about 20 years? Thanks, everybody. Melroy |
|
#8
|
||||
|
||||
|
I've already given it to you... using css...
|
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Elimination of bluish/purple border around button image (link) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|