Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthormista3
    • CommentTimeFeb 11th 2006 edited
     permalink
    I've used negative spacing on the large sidebar links on the right at http://www.3stripe.net/

    But when hovered over, the hover colour only stretches 96% of the way across the word, leaving an unchanged strip at the end.

    Any way around this? (apart from using a gif of the text instead ;-)
    • CommentAuthorMouldy
    • CommentTimeFeb 11th 2006
     permalink
    It looks OK to me, using Opera
    •  
      CommentAuthornifkin
    • CommentTimeFeb 11th 2006 edited
     permalink
    Step one: try to fix yr invalid html. you've got this around yr navigation bar items...

    <ul><h1>
    <li>


    then that chunk ends with:

    </ul></h1>


    What you should probably have (or at least what I'd do) is something like:


    <ul id="myconspicuouslyhugenavitems">
    <li><a href="#">OMG BIG!</a></li>
    </ul>


    which would be easier to style (IMO).


    ul#myconspicuouslyhugenavitems { padding:0; margin:0; }
    ul#myconspicuouslyhugenavitems li { padding:0; margin:0 0 1em; font-size:4em; font-weight:bold; letter-spacing:-0.1em;}
    ul#myconspicuouslyhugenavitems li a { color:#000; text-decoration:none; }
    ul#myconspicuouslyhugenavitems li a:hover { color:#666; text-decoration:underline; }
    • CommentAuthormista3
    • CommentTimeFeb 11th 2006
     permalink
    cool thanks nifkin. (just rememebered that i got lazy with wordpress and couldn't be bothered to fix the formatting)
    •  
      CommentAuthornifkin
    • CommentTimeFeb 11th 2006
     permalink
    I dunno if that's what's hosing it all up or not. But it can't be helping. :)
    • CommentAuthormista3
    • CommentTimeFeb 12th 2006
     permalink
    haha just noticed "myconspicuouslyhugenavitems". cheeky.
    • CommentAuthormista3
    • CommentTimeFeb 12th 2006
     permalink
    ok i've made those changes, same problem stil... hmmm
    •  
      CommentAuthorJohnRiv
    • CommentTimeFeb 13th 2006
     permalink
    if you click a link, you'll notice (in FF at least) that the bounding box for the link covers the area that is changing color. Add 10px of right padding to those links and it will expand the bounding box and your entire text will change color, fixing the browser bug.
Add your comments
    Username Password
  • Format comments as (Help)