I hope someone can help me. I have produced a CSS Menu and want a description underneath each header to light up on mouseover, corresponding to the above title (hope that makes sense).
The only thing that seems to make sense for me is to put in soft carriage returns to keep the lines together… but on mouseover it doesn’t highlight both lines, just the one hovered over. The other way I thought was to create CSS styles for hover and active states and use a slave action for the subheads… but not sure if this was poss in CSS styles.
This should work, as long as the subtext is part of the same link as
the heading text. Also, because of the order that you add links and
styles makes a difference to the output remove the styling from the
text first, apply the link and then add the styling. Doing it the
other way round will generate a link for each line essentially making
the heading and subtext two different items.
I hope this helps.
Joe
On 7 May 2009, at 11:44, wingnut wrote:
Hi there,
I hope someone can help me. I have produced a CSS Menu and want a
description underneath each header to light up on mouseover,
corresponding to the above title (hope that makes sense).
The only thing that seems to make sense for me is to put in soft
carriage returns to keep the lines together… but on mouseover it
doesn’t highlight both lines, just the one hovered over. The other
way I thought was to create CSS styles for hover and active states
and use a slave action for the subheads… but not sure if this was
poss in CSS styles.
on 07/05/2009 11:57, Joe Billings at email@hidden wrote:
This should work, as long as the subtext is part of the same link as
the heading text. Also, because of the order that you add links and
styles makes a difference to the output remove the styling from the
text first, apply the link and then add the styling. Doing it the
other way round will generate a link for each line essentially making
the heading and subtext two different items.
Ah! Now that’s why I was having a problem before, as long as I can remember
for next time.
Best wishes Peter
–
================================
Peter Tucker, Oxford UK email@hidden