homepage Welcome to WebmasterWorld Guest from 54.226.213.228
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    

mousemoves




msg:632931
 4:31 am on Dec 20, 2000 (gmt 0)

I love this resourceful css bug list site.
[richinstyle.com...]

what's your bug and/or bug tip?

 

tedster




msg:632932
 12:55 pm on Dec 20, 2000 (gmt 0)

I agree, mousemoves, that's a great resource.

I think the most commonly encountered (and overlooked) CSS bug is the Netscape bug where the browser "forgets" to inherit declared styles following a table or frame. The fix is to make some redundant style definitions -- that is declare the style for more than one element, for example <p> tags AND <td> tags and maybe a class or div id as well.

In order to catch this bug, I have found it important to set my browser's default font to something odd and immediately noticeable. That way, when Netscape forgets, I see it right away.

The natural temptation is to set the browser default to the font I am most comfortable with, and I often code that font into my CSS as well. But if I do, I can't see when the CSS bugs out and the default font kicks in.

BTW, high on my wish list is wanting richinstyle.com to document CSS for Macintosh browsers. With Mac growing in market share again, we can't afford to overlook compatibility betweeen platforms as well as browsers.

mousemoves




msg:632933
 11:20 pm on Dec 20, 2000 (gmt 0)

thanks Tedster!

i'm working on a bug right now, if i have anything decent to say, one way or the other, i will post it.

mousemoves




msg:632934
 5:04 am on Dec 21, 2000 (gmt 0)

This is a common problem that is terrible if you don't know how to fix it or why it is happening. i think it took me 48 hours to solve for nav. 4.7 by finally posting at netscape. the response was buy the book listed below and look on page 93 so i did.

Navigator 4+ destroys positioned elements when the window is resized. I don't know what Nav 6 does.

Anyway, the solution that i found in "Dynamic HTML The Definitive Reference" by O'Reilly is:

function handleResize(){
location.reload()
return false
}

if (isNav){
window.captureEvents(Event.RESIZE)
window.onresize = handleResize
}

for some reason my similiar solution to the above, i always put in semi colons and i didn't use their variable isNav for browser detection, did not work for nav 4.08, so today i did the following and now it works.

<html><head><title>foo</title>

<script language="JavaScript1.1">

function capture(){
if (navigator.appName == "Netscape"){
window.captureEvents(Event.RESIZE);
window.onresize = handleResize;}
}

function handleResize(){
location.reload();
return false;
}

onresize = capture;
</script>
</head>

the scripts automatically reload the browser when the browser window is resized. Thus, by reloading the browser the positioning returns to where it is suppose to be.

if you know all about this, i know you are bored but if you don't, i hope this saves your time and you have lots of fun with positioning!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved