This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > January 2005 > Re: DIV height difference between IE and FF





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: DIV height difference between IE and FF
martin h

2005-01-07, 11:14 pm

image_dr wrote:
> I am trying to include a scrolling div in my layout; however, Internet Explorer
> and FireFox (Mozilla) handle div heights differently. IE considers the scroll
> bars as part of the height while Mozilla does not. Therefore, I have a
> discrepancy of 15 pixels in div height. Any ideas on circumventing this?
>

Apply different css per browser.

Detect browser using javascript (or server side) and show different css
accordingly.

Martin
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews