1 reply [Last post]
SPB
Offline
newbie
Dublin
Last seen: 15 years 18 hours ago
Dublin
Joined: 2005-01-24
Posts: 3
Points: 0

Sorry - last one today!!
Maybe I'll start posting advice here when I finally start understanding CSS!!!

Ok problem Im having, is that my "add to favorites" and "make this your homepage" aren't validating in Mozilla?

Any ideas - any help would be greatly appreciated.
Stefan

test.lightbox.ie/redcross/index.html

karinne
karinne's picture
Offline
Enthusiast
Aylmer, QC, Canada
Last seen: 12 years 31 weeks ago
Aylmer, QC, Canada
Timezone: GMT-5
Joined: 2004-01-14
Posts: 291
Points: 0

"Add To Your Favourites..." - hmmm?

remove the empty href in front of the onclick

<div id="textbox"><div class =" welcomehd"><a style='cursor:hand;' href onclick='window.external.AddFavorite(location.href,document.title);'>
Add to your favorites</a> | <a style="cursor:hand" href onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.redcrosschurch.ie');">Make us your homepage</a></div><img src="images/welcome.gif" alt="Redcross Header" width="308" height="73" /></div>

also... in XHTML, everything must be lowercase. change your onClick to onclick