Click to See Complete Forum and Search --> : When 100% isn't 100%


spuppett
February 4th, 2005, 10:34 AM
I've had a heck of a time trying to figure this out. using css, in IE, width: 100%; USUALLY means that the box will extend the entire width of the page. but not always. Some times its about a quarter too short. In FireFox, its either about 2px too short of 100% OR about a mile too long. I don't get it.

So I guess my solution to this would be to look the browser and load the correct .css. However I don't know how to do this. I tried
<%
set bc = server.createObject("MSWC.BrowserType)

response.write(bc.browser)
%>

what this output was not what I was expecting. In FireFox it displayed "Default", in Opera, it display "Netscape" and in IE, "Netscape".

Any thoughts or ideas??

Thank you much

spuppett
February 8th, 2005, 04:26 PM
I found some Javascript that gets the browser information. Howver, I still don't get how 100% doesn't mean 100% across platforms??