Previous Message
Next Message

getting titles to appear under image - when hovering on animage map

Sent by Cory Shubert on 27 March 2008 14:02


Al, I have a question on this example you sent, just trying to
understand.

You posted this code in the backend of the example:

#wrapper {
	936px;
	margin: 0 auto;
	overflow: hidden;
	padding: 30px;
	background-color: #F7F3E7;
	width: 936px;
	height: 220px; /*TEMPORARY*/
	border: 1px solid #000000;
}

What is the reason for having 936px; as the first rule, then a width:
936px later on?  What does havging them both do?

Thanks,

Cory



-----Original Message-----
From: [EMAIL-REMOVED]
[EMAIL-REMOVED]] On Behalf Of tedd
Sent: Thursday, March 27, 2008 9:14 AM
To: [EMAIL-REMOVED]
Cc: Al Sparber
Subject: Re: [css-d] getting titles to appear under image - when
hovering on animage map

At 10:14 PM -0400 3/26/08, Al Sparber wrote:
>From: "Stuart King" [EMAIL-REMOVED]> That's an awfully complex 
>approach. My advice would be to have each gallery image be a separate 
>image, use the ALT attribute properly, then carry the popup title as 
>the actual text of the link, embedded inside a span, which you would 
>show and hide using the a:hover pseudoclass... like this:
>http://www.projectseven.com/csslab/images/hover/stuart-titles/
>
>It's perfectly accessible because assistive readers will read the ALT 
>attribute and people with images disabled (very rare breeds) will see 
>the ALT attribute if they've set up their browser properly (if not, 
>they get exactly what they asked for).
>
>--
>Al Sparber - PVII
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: