Is it the browser detection that not working?
Try this instead:

if(navigator.useragent.indexof("AppleWebKit") > -1){
   document.getElementById("tblBannerNav").style.height=88 + "px";

Might be the problem.

Thanks,
Perry Gerenday
http://www.webinitiative.net




Quoting T-- <[EMAIL PROTECTED]>:

http://www.No-Pun.com/DisneyInstitute/index.asp

Stephen has been very helpful to send me screenshots and even a suggestion, which unfortunately is not working.

ISSUE:   Safari only
               3px space under blue navigation bar (at top of page)

As is (working on all PC browsers, and even IE Mac), the height of this "banner" navbar area is 85px. If I change it to 88px, the navbar vertically aligns as it should -- atop the dark blue horizontal line, the "white space" eliminated.

QUESTION: How can I eloquently-enough serve up just that mod for Safari? Here is what I have tried, that does not work:

if(navigator.useragent.indexof("AppleWebKit") > -1){
   document.getElementById("tblBannerNav").style.height="88px";
}


Safari is not recognizing this browser detect at all. Been googling for better Safari browser detection suggestions. Not coming up with any solutions.

Thank you!

T--




____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.h
tml/
      Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface
:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
om
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.




____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
      Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to