Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Rollover and Link Text
Old 08-29-2006, 11:18 AM Rollover and Link Text
Junior Talker

Posts: 2
Trades: 0
Hi:

In my seeking for the way to implement a rollover using transitional images based strictly on xhtml and css, I need to develop a system that show the two images in active and hover, but no link title.

Therefore, I have eventually come across a good example of coding specially designed to cover text with images present only in the css file. In the case the image is not shown by the browser or the computing system, a text edited in simple font is shown to replace it.

You can see the result by yourselves:

http://wellstyled.com/files/css-replace-text-by-image/example02.html

In the next paragraph, the article presents a similar solution to display an image-based rollover with no title in the following web address:

http://wellstyled.com/files/css-replace-text-by-image/example03.html

Nevertheless, as you will see, it is implemented using this piece of coding:

#chapter-one a span { display:none }

which means that the link text is not behind the rolling images, but completely hidden. Thus, if the images fail to show, there is no link at all. No images, no link text, … nothing.

I am trying to combine the example2 and the example3 in a way to implement a button based on rollover images as in example3, but also offering the alternative link text behind the images as in example2.

And, of course, I am having some problems.

Is there anyone who might solve this riddle without using the classic solutions (padding-top, display:none, etc.), but applying the same system presented in the example2?

In such a case, thank you for your help and interest.

Anyway, I consider it to be a much interesting problem that might offer a solution to this and other issues.

José Manuel Rosón Bravo
(Northern Spain)

JM Rosón is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-29-2006, 11:26 AM Re: Rollover and Link Text
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Why are you trying to use image replacement on a menu/navigation scheme ??
There are numerous image-replacement methods:
Image Replacement - css-discuss
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Rollover and Link Text
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11337 seconds with 12 queries