5 replies [Last post]
donpwinston
donpwinston's picture
Offline
Regular
Alexandria, Virginia
Last seen: 3 years 33 weeks ago
Alexandria, Virginia
Timezone: GMT-4
Joined: 2010-11-28
Posts: 18
Points: 24

I moved a link(class=tw-slideshow-more) so it's on top of an image using absolute positioning with top and left. As a result of this the text of my link became unclickable(actually only the ellipse was clickable, but if I add more text or move it further inside the box then the whole thing becomes unclickable). Explanation?
(NOTE: below works as expected in IE9 but not Safari and Firefox)

<div class="tw-slideshow-desc">
	<div class="tw-slideshow-title"><?php print $fields['title']->content; ?></div>
	<div class="tw-slideshow-teaser"><?php print $fields['teaser']->content; ?>
		<div class="tw-slideshow-more">
			<a href="<?php print $href; ?>">More...</a></div></div>
</div>
 
div.tw-slideshow-desc {
	position:relative;
	margin-top:-100px;
	1width:700px; /* not necessary because 9 | 3 => 700px */
	height:100px;
	background-color:white;
	color:black;
	opacity:0.5;
}
 
.tw-slideshow-more {
	position:absolute;
	1text-align:right;
	1margin-top:-5px;
	top:80px;
	left:655px;
}

Simpler is better!

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 2 weeks 4 days ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2040
Points: 2262

Is this the same question as

Is this the same question as this one?

donpwinston
donpwinston's picture
Offline
Regular
Alexandria, Virginia
Last seen: 3 years 33 weeks ago
Alexandria, Virginia
Timezone: GMT-4
Joined: 2010-11-28
Posts: 18
Points: 24

Yeah. I guess it's not a

Yeah. I guess it's not a "beginning CSS" question

Simpler is better!

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 11 hours 42 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9544
Points: 3598

Do you have this publicly

Do you have this publicly available somewhere? A link? I'd like to see this in action.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

donpwinston
donpwinston's picture
Offline
Regular
Alexandria, Virginia
Last seen: 3 years 33 weeks ago
Alexandria, Virginia
Timezone: GMT-4
Joined: 2010-11-28
Posts: 18
Points: 24

staging.theaterwashington.org

oops. The test site has been secured. sorry.

Simpler is better!

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 11 hours 42 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9544
Points: 3598

Closing this thread in favor

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.