You are here: Re: Mozilla Firefox vs Windows Internet Explorer v.7.0 « HTML « IT news, forums, messages
Re: Mozilla Firefox vs Windows Internet Explorer v.7.0

Posted by Jonathan N. Little on 12/28/07 02:34

zara wrote:
> On Dec 27, 6:28 pm, "Paul" <orelieteNOS...@NOSPAMtiscali.it> wrote:
>> 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.


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>


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация