|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Image border not valid in XHTML - CSS
I'm trying to get rid of an image border and validate the
XHTML. I'm using an ID selector with absolute positioning called in the selector. Validation says border is not a valid XHTML attribute. Grateful for any advice. Thanks. (Ed) <p id="tc01"> <a href="http://www.URI"> <img src="./pic/XXXX.gif" width="200" height="50" alt="Picture.gif" border="0"></a> </p> Called from: #tc01 { position: absolute; top:140px; left:185px; } |
|
#2
|
||||
|
||||
|
Take this out :
Code:
border="0" Code:
img {border:0;}
|
|
#3
|
|||
|
|||
|
RE: Border="0" --- Thanks, Bon Rouge
Thank you for the kind assistance, Bon Rouge. Also, for the fine information in the tutorial and the Sensai site. CSS Zen Garden has been very helpful, but, I see there is a lot more available now. (29 errors down, 49 to go.)
Ed Shaw |
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Image border not valid in XHTML - CSS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|