Change [IMG] button output?
Change [IMG] button output?
When inserting an image with the IMG button it adds alt="" to the end. I would like to drop this and add border="1" . Where can this change be made?
Rod
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Change [IMG] button output?
Short answer: You shouldn't.
Long answer: ALT is required so that your HTML is XHTML compliant. "border" is a deprecated attribute and should be set via CSS using the "img { border: 0px}" method.
Regards,
Garvin
Long answer: ALT is required so that your HTML is XHTML compliant. "border" is a deprecated attribute and should be set via CSS using the "img { border: 0px}" method.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/