Firefox errors not present in IE: More please

M

Mark

Hi

I have another problem with code not executing in FF:

The following works OK in IE and serves as part of a menu bar which a) sets
the cursor to the "hand" and b) sets the on-click property.


<span lang="en-gb" onclick="doClick(home,'home.asp',0)">
<td id="home" style='cursor:hand; border-style: solid; border-width: 1px;
padding-left:4; padding-right:4; padding-top:1; padding-bottom:1'
height='20' width='76' align='center' bordercolor='#808000'
bgcolor='#F7C700'><font size='2'>Home</font></td>
</span>


The cursor doesn't change in FF and the on-click doesn't appear to fire..

I'm not getting any errors in the error console though there are loads of
warnings stating "Error in parsing value for property 'cursor'. Declaration
dropped.". Sorry but I have no idea what that means.

Also getting warnings about CSS (not so important but I'd like to know how
to sort it out) that say "Selector expected. Ruleset ignored due to bad
sector." The CSS was generated using Frontpage (which I'm begining to wish I
hadn't installed).

Anyway, thanks for any pointers or solutions.

Mark
 
M

Mark

and thanks again...

You're not joking about "daunting task", it's hard to believe I let myself
make such a mess of a job by using IE as my only browser.

I moved the on-clicks out of the span and into the td and got rid of the
spans altogethr. Works fine now :eek:)

Next to sort out formatting. Looks like the CSS generated through frontpage
is a bit of a problem. Font sizes are completely different in FF... Yippeee!

Thanks again

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,405
Latest member
DavidCex

Latest Threads

Top