Results 1 to 3 of 3

Thread: FF: Anchors width ** Resolved **

  1. #1

    Thread Starter
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Resolved FF: Anchors width ** Resolved **

    Hi,

    In ie when you set the anchor (<a href='...'>summat</a>) style width to 90% you can hover over that area and it works as though you are clicking on the link.

    In Firefox, it doesn't seems to be working...
    Any ideas? Is it a bug with ie that it works?

    CSS:
    Code:
    /* subsections */
    table.subs {
    	width: 100px;
    }
    table.subs tr {
    	vertical-align: middle;
    }
    table.subs td {
    	font-size: 75%;
    	text-align: center;
    }
    table.subs td a { width: 90%; }

    Vince
    Last edited by Ecniv; Oct 4th, 2004 at 04:15 AM.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    This works for me:
    Code:
    	<style type="text/css">
    	a { 
    		width: 90%; 
    		display: block;
    	}
    	</style>
    and the html
    Code:
    <body>
    	<a href="#">Click me!</a>
    </body>
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You can't set the width of inline elements such as a. Firefox is behaving correctly.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width