|
-
Sep 28th, 2004, 04:28 AM
#1
Thread Starter
Don't Panic!
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.
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...
-
Sep 28th, 2004, 06:53 AM
#2
Frenzied Member
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.
-
Sep 30th, 2004, 06:29 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|