Old 06-13-2005   #1 (permalink)
Registered User
 
ranjithkr1's Avatar
 
Join Date: Jun 2004
Location: India
Posts: 9

Question How to wrap the alt text area when an image is missing?

I have inserted an image in a jsp page and am calling its alt tag from a database. Now, when the img is missing i get long alt messages being displayed in the page. i dont want those text to be so lenghty.....can i reduce the text length by wrap or something similar? Its ok if the height of the alt area gets increased...

F1 F1 F1....Its an important project for me.....
Thanx in advance.....
Cheers!!!!!!!!!!!!
ranjithkr1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-13-2005   #2 (permalink)
Face addict
 
supafly's Avatar
 
Join Date: May 2004
Location: Preston England on the west side
Posts: 290

Send a message via MSN to supafly
I don't think you can! You should just shorten them all though I'm sure someone else can help you if i'm wrong but alt text should be just a short descripton not a long thing as it's just to help blind people when they read the site with a audio program that reads the site so it tells them what the image is!

But like I say I could be wrong
__________________
supafly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-13-2005   #3 (permalink)
Registered User
 
ranjithkr1's Avatar
 
Join Date: Jun 2004
Location: India
Posts: 9

Thank you my supafly .....for your effort.. Ill try it out and please try to come up with a possibiliity..Cheers...
ranjithkr1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-13-2005   #4 (permalink)
Sheep Worrier
 
Man1c M0g's Avatar
 
Join Date: Sep 2003
Location: Portsmouth, UK.
Posts: 4,105
Blog Entries: 14

Send a message via ICQ to Man1c M0g Send a message via MSN to Man1c M0g Send a message via Skype™ to Man1c M0g
Hmmm. If you are drawing the ALT value from a database you could always trim it to size using the substr() function in PHP.
__________________
Man1c M0g is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-15-2005   #5 (permalink)
Registered User
 
ranjithkr1's Avatar
 
Join Date: Jun 2004
Location: India
Posts: 9

Thank you man1c m0g, I shall make a try and get back soon...
ranjithkr1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 05:39 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT