Hi there,
Need some CSS guru help. If you visit my link:
http://www.gabbr.com/js/viewer/cmedata/index1.html
and hover over the years (top middles, 2008, 2009, 2010, etc) you will notice an orange bar extending from the top to the bottom of the page. I am trying to get the same effect on the left (month and day) but am unable to do so.
The problem I am having is that I cannot get the orange hover bar to extend off the left of the screen for either #dayleft or for #monthleft. It extends all the way to the right margin of the screen but not the left. The problem is the margin-left: 15px; in #monthleft and margin-left: 80px; in #dayleft. But I cannot get rid of these since I require them for the letter spacing.
Any advice?
'left: 0; right: 0' doesn't do anything because you have fotgotten to make A 'position: absolute' for day and month.
I think the effect looks cool, but it causes problems. Try to select some text and you see what I mean.
Maybe it would work if you instead of extending the A to the bottom (or the right) of the page include a hidden SPAN in the A and then make it 'display: block' when the A is hovered, make it stretch across the page and apply the background color to that. That way you won't have any hover effect on the bar itself.
I think I'm going to steal this idea. I quite like it.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)