The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> ALT text rendering in Opera
Christian J
post Apr 10 2007, 05:53 PM
Post #1


.
********

Group: WDG Moderators
Posts: 6,167
Joined: 10-August 06
Member No.: 7



CODE
p {
width: 100px;
border: solid;
}

<p>
<img src="dog.jpg" width="100" alt="Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.">
</p>


When image viewing is disabled in Opera 9, the ALT text is rendered as a non-breaking line of text. If the image's container is too narrow, the ALT text spills out of it and may cover other content. Even worse, if image viewing is enabled but the image is broken, any ALT text exceeding the image width is cropped.

Is ALT text rendering specified by W3C somewhere? Can Opera's behavior be avoided?


--------------------
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 30th October 2014 - 11:40 AM