Change [IMG] button output?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
DortoH
Regular
Posts: 82
Joined: Fri Feb 25, 2005 2:00 am

Change [IMG] button output?

Post by DortoH »

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?

Post by garvinhicking »

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
# 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/
Post Reply