css rollovers
- Started
- Last post
- 4 Responses
- fonicsM
is there a way to have a text link
then when rolling over it - add a charachter to it say like text + so when u roll over the text link it shows the plus sign to the right or left of it.tx
- ********0
can do a javascript function
- welded0
No, not really. The only way I can imagine is if you had two divs layered on top of one another and used css and javascript to swap the visibility, but even then it's a pretty dodgy method.
Why didn't you just bump your topic from last night?
- jon_0
here is an example of two possible methods
http://www.liesandhalftruths.com…
the first link is just a normal link with no additions
the second uses the css pseudo-element :before in conjunction with the :hover pseudo-element, this method is the more advanced of the two and the least likely to be supported currently (works with mozilla but not ie or safari)
the third uses a span within the link with the + inside, this method is based on an example by eric meyer ( http://www.meyerweb.com/eric/css… ) and will work across most modern browsers although ie mac didn't seem to like it.
unfortunately both of this methods will end up bloating your code somewhat
- fugged0
try looking around at http://www.alistapart.com. You might what you need there, or something that will get you started in the right direction.