Previous Message
Next Message

[NEWBIE] Trying to make text switch content

Sent by Dave on 4 January 2005 07:07


Bob,
    Thank you for the suggestion of encasing the menu into a containing 
DIV which I could use for the absolute positioning. That works 
perfectly, and the menu is situated exactly where I want it. Or at least 
it does in Firefox, which is where I'll get it to work before I worry 
about other browsers.
    Also, thanks for pointing out the absence of closing </li> tags. It 
has now been corrected, and validates as XHTML.
    The much improved page is here:
    http://www.theloop.jp/test.html

    So now I am left with the switching of the text from English to 
Japanese on moving the mouse over.
    I have looked on the web for text swapping or text switching CSS 
techniques, but those terms seem to refer to different effects than the 
one I am after, and I'm not sure how else to describe it.
    I tried making the English text shrink to zero pixels, but not only 
is it still visible as a small black line, like any other effect I do to 
try and make the English text invisible, it also applies to the 
Japanese. I would have thought the descendant span would over-ride the 
parent span, but it's not so.
    Is this actually possible with CSS?

-- 
Dave Gutteridge
[EMAIL-REMOVED]

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: