I have 3 nested div’s in a row and want them to all be a link on hover - the left and right div (box in css) work fine yet the center one does’nt behave in the same way.
I’ve tried debugging and can only think that this line is the casue;
Needs to be this: #right-box, #left-box, #center-box
One other comment - you’re using the a element to wrap those divs. While technically legal in html5, it’s not a good idea as you’re using an inline element as if it’s a block level element, and if you use this, you can’t have links inside the divs at all.
Okay typo removed - the a element is the issue then… thanks Dave i’ll work on that…
I’ve worked a hack using a float and adjusted the margin http://jsfiddle.net/valleysboy/VvHdb/ will attempt the wrapper now.
This is perfect Ronpat - thanks for your time and help - I managed to do a quick hack previous to your example (an example of is here - http://www.cypsp.org/belfast.htm)
I’ll work on your idea above, i like the media queries - i’m actually looking to put everything into the foundation framework to make it reponsive - trouble so far is that I have to cater for IE and the top line and main navigation’s dont play ball!