Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 14th, 2004, 09:15 AM
ed shaw ed shaw is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 35 ed shaw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 34 sec
Reputation Power: 5
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;
}

Reply With Quote
  #2  
Old December 14th, 2004, 12:13 PM
BonRouge's Avatar
BonRouge BonRouge is offline
Winemaster
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Sendai, Japan
Posts: 1,354 BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 2 h 52 m 6 sec
Reputation Power: 86
Take this out :
Code:
border="0"
and put this :
Code:
img {border:0;}
in your css.

Reply With Quote
  #3  
Old December 14th, 2004, 05:50 PM
ed shaw ed shaw is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 35 ed shaw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 34 sec
Reputation Power: 5
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Image border not valid in XHTML - CSS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway