![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I am using style sheets and have attached a class to the the image to no avail. I tried your suggestion of giving the border a color and 0px also to no avail. Here is a copy of the image and css. |
#4
| |||
| |||
|
|
I have done quite a few searches from both Google and here in the DW forum for my question and have given up. The answer may be out there (not still watching X-Files) but I have yet to be able to find it. My questions stems from wanting to make my page XML compliant for nothing more than...well something and giggles. I have found that the statement border="anything" is not valid when I did a validation check at the W3C website (http://validator.w3.org/). Dutifully, I removed all border="0" from all of my images in my gallery section, in which I used the Just So Photo Album extension. I now have a blue line surrounding all of my thumbnails. I did some research at the W3C website and other respectable sites to determine how to remove the little blue line (that we all seem to love so much) and I tried several options to remove it. I put together the following on my last attempt to no avail. .img a:link {border: 0px; border-style: none; align: center; } having used several variations and gone to the bare minimum on a test page and test style sheet I have not been able to remove the blue line and remaining compliant with XML. Being XML compliant is not truly necessary, it is a personal effort to further my abilities for something or other and giggles. Any help would be truly appreciated. Cheers- Erick |
#5
| |||
| |||
|
|
I've read thru the full lot of posts here and there's one thing I have to point out. the 'border="0"' tag is valid under xhtml. |
#6
| |||
| |||
|
|
Hopefully you are using style sheets. If you are, create a class that you will use for your image links, and in that class have border: solid red 0px; |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
OK...Thank you very much for the help, both Anton and Gary. This is what I used. img { border: none;} and it worked perfectly. The "a img" did not but Gary you were right in your thinks. Thank you again. |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
Hopefully you are using style sheets. If you are, create a class that you will use for your image links, and in that class have border: solid red 0px; Then apply it like so: <img src="../images/home-body/footer/sales-ad.gif" alt="Sales!" width="160" height="90" border="0" class="allImageBorder" HTH |
![]() |
| Thread Tools | |
| Display Modes | |
| |