Kevin said:
FireFox 1.5 has much more going on in its JavaScript console than the
older version. If you open up the FireFox home page, you get 2 of
these messages: "Selector expected. Ruleset ignored due to bad selector."
I decided to try the Javascript Console inFirefox 1.5 and sure enough, all
it reported were CSS "errors", especially these:
table {
cellpadding: 0;
cellspacing: 0}
and
input.btn
{cursor: hand; }
Also , plenty of
Error: Selector expected. Ruleset ignored due to bad selector.
The lines were
..head1, .245pc {font-size: 245%; } /* 32px */
..head2, .185pc {font-size: 185%; } /* 24px */
..head3, .140pc {font-size: 140%; } /* 18px */
..head4, .123pc {font-size: 123%; } /* 16px */
..head5, .100pc {font-size: 100%; } /* 13px */
..head6, .75pc {font-size: 75%; } /* 10px */
.50pc {font-size: 50%; } /* 8px */
I changed cursor:hand to cursor
ointer and I got
Error: Error in parsing value for property 'cursor'. Declaration dropped.
Source File:
file:///C:/Documents%20and%20Settings/Trevor/My%20Documents/My%20Webs/myweb/style.css
Line: 107
Why are % font-sizes not accepted. I thought this would be the safest to
allow for all browsers and all screen sizes. (In my code above, you can see
what I had set them to)
So, I guess my queries are:
1. Where do I find a list of deprecated styles.
w3schools mentions cursor:hand but not cellpadding or cellspacing or
font-size as %
2. What do I change these styles to, e.g. what replaces cellpadding:0 and
cellspacing:0
Still, I do find the JavaScript console quite useful. Firefox doesn't
come with a debugging tool, but a nice DOM Viewer. Visual Studio.Net
has awesome JavaScript debugging capabilities.
Where do I find the DOM Viewer in Firefox?
I think I may try to download Visual Studio again. Last time I tried, there
were errors in one of the major components, I think it was something to do
with SQL. I didn't know what difference this would make so I deleted the
whole lot.