Mozilla Firefox vs Windows Internet Explorer v.7.0

Discussion in 'HTML' started by Paul, Dec 27, 2007.

  1. Paul

    Paul Guest

    I have made this button as sample

    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
    Paul, Dec 27, 2007
    1. Advertisements

  2. Paul

    zara Guest

    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.
    zara, Dec 28, 2007
    1. Advertisements

  3. Don't even suggest such a thing that is *so* invalid.
    Agree, very simple example

    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="content-language" content="en-us">


    <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(;

    <a class="buttonized"
    href="">Terms &
    Jonathan N. Little, Dec 28, 2007
  4. Paul

    Paul Guest

    Thank you very much. That code is very useful and I am going to use it
    Paul, Dec 28, 2007
    1. 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 (here). After that, you can post your question and our members will help you out.