Mozilla Firefox vs Windows Internet Explorer v.7.0


P

Paul

I have made this button as sample

http://www.tortebomboniere.com/button01.html

If I use Windows Internet Explorer, the whole area of button is clickable.
If I use Mozilla Firefox, only the link inside the area is clickable.

Why? Is it possible change the codes to make clickable the whole area using
Mozilla?
Thanks
Paul
 
Ad

Advertisements

Z

zara

I have made this button as sample

http://www.tortebomboniere.com/button01.html

If I use Windows Internet Explorer, the whole area of button is clickable.
If I use Mozilla Firefox, only the link inside the area is clickable.

Why? Is it possible change the codes to make clickable the whole area using
Mozilla?
Thanks
Paul

That's not a button, it's a table. You *could* anchor the entire
table, but that wouldn't be correct (works in my browser, but would
probably break many others). That means placing <a href> and </a>
outside the table.

You really should use CSS instead. Just Google out "css buttons" and
you'll have all the info you need.
 
J

Jonathan N. Little

zara said:
That's not a button, it's a table. You *could* anchor the entire
table, but that wouldn't be correct (works in my browser, but would
probably break many others). That means placing <a href> and </a>
outside the table.


Don't even suggest such a thing that is *so* invalid.
You really should use CSS instead. Just Google out "css buttons" and
you'll have all the info you need.

Agree, very simple example

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="content-language" content="en-us">

<title>Better</title>

<style type="text/css">
a.buttonized {
font: large bold, arial, helvetica, sans-serif;
display: block; padding: 1em; border: 3px outset #555;
text-align: center; width: 12em;
background-image: url(http://www.orefelici.com/sfondi/sfondo41.jpg);
}
</style>

</head>
<body>
<a class="buttonized"
href="http://www.tortebomboniere.com/bomboniere/en-regole.html">Terms &
Conditions</a>
</body>
</html>
 
Ad

Advertisements


Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top