Kathryn,

On Oct 18, 2006, at 4:47 PM, Kathryn Crutcher wrote:

> I am working on a touch screen kiosk that will use FF. In IE i  
> could define
> the button size and background and the size specified was the link  
> which is
> what I want. To get the background images to show completely In FF  
> i ended
> up resorting to a table. Ideally, i want to get rid of the table.  
> Even with
> the table, the link area is limited to the text plus padding. The  
> button
> size is height 107px, width: 296px, and i want the entire button  
> (or at
> least cell) to be a link.
>  <http://www.enermodal.com/kiosk/st_gabriels/Index.htm>
> http://www.enermodal.com/kiosk/st_gabriels/Index.htm

First you need to pay attention to the html.  Until it validates, you  
will likely have issues with differences between browsers.  Check out  
<http://validator.w3.org/check?uri=http%3A%2F%2Fwww.enermodal.com% 
2Fkiosk%2Fst_gabriels%2FIndex.htm&charset=%28detect+automatically% 
29&doctype=Inline&ss=1&verbose=1>

First you will need a doctype
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
             "http://www.w3.org/TR/html4/strict.dtd";>

Then you need to declare a character set (in head)
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

After that you need to change the id="button" to class="button" and  
change the css to match since you can only have on ie="button" per page.

You should be able to assign display: block; to the a elements in  
your menu and have them expand to fill the entire box.  Also, I would  
avoid overflow: hidden on your body element.  You can make it a fixed  
width so your kiosk won't have scroll bars, but allow the site to  
work on the web for those of us with smaller windows.  No sense  
having to write it twice :-)

Hope that gets you started.

-- 
Roger Roelofs
"Remember, if you’re headed in the wrong direction,
        God allows U-turns!"
          ~Allison Gappa Bottke

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to