5 replies [Last post]
donpwinston
donpwinston's picture
Offline
Regular
Alexandria, Virginia
Last seen: 2 years 5 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 2 days ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2037
Points: 2259

Is this the same question as

Is this the same question as this one?

donpwinston
donpwinston's picture
Offline
Regular
Alexandria, Virginia
Last seen: 2 years 5 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: 6 hours 57 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9229
Points: 3235

Do you have this publicly

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

cheers,

gary

Unplanned code results in a tangled wad of brain-cramping confusion.

There are enough html & css demos and tutorials to be interesting. Please visit.

donpwinston
donpwinston's picture
Offline
Regular
Alexandria, Virginia
Last seen: 2 years 5 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: 6 hours 57 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9229
Points: 3235

Closing this thread in favor

Unplanned code results in a tangled wad of brain-cramping confusion.

There are enough html & css demos and tutorials to be interesting. Please visit.