Background color of links

Discussion in 'HTML' started by Jens Lenge, Mar 8, 2005.

  1. Jens Lenge

    Jens Lenge Guest

    Hello world,

    I would like to highlight a hovered link with a background color that covers
    the entire width of the surrounding DIV instead of just the area where text
    is. When I set a background-color for "a:hover" the background color will
    only be where text is (example: http://www.photoss.de/test/test.htm).

    I tried a number of approaches, but nothing worked. Maybe I just need a kick
    in the right direction...
    What would be a suitable approach to achive this look?

    Jens
    Jens Lenge, Mar 8, 2005
    #1
    1. Advertising

  2. Jens Lenge wrote:
    > I would like to highlight a hovered link with a background color that
    > covers the entire width of the surrounding DIV instead of just the area
    > where text is.


    http://css.maxdesign.com.au/listamatic/ - with free better markup!

    --
    David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is
    David Dorward, Mar 8, 2005
    #2
    1. Advertising

  3. Jens Lenge

    Jens Lenge Guest

    Jens Lenge, Mar 8, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mason66
    Replies:
    0
    Views:
    422
    mason66
    Jul 27, 2006
  2. JWL
    Replies:
    4
    Views:
    587
    Michael Winter
    Sep 26, 2006
  3. fig000
    Replies:
    0
    Views:
    4,546
    fig000
    Sep 6, 2004
  4. Kamaljeet Saini
    Replies:
    0
    Views:
    412
    Kamaljeet Saini
    Feb 13, 2009
  5. Replies:
    1
    Views:
    267
    marss
    Feb 14, 2007
Loading...

Share This Page