Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

strange problem with identical icons on page

0 views
Skip to first unread message

xyZed

unread,
Aug 15, 2002, 5:45:27 AM8/15/02
to
I am currently building a home page and have 2 icons of a hand holding
a pen, which are a links. One of them gets a yellow border round it
when the mouse hovers over, but the other doesn't.

I can't see why this would be. Needless to say I don't want the yellow
border (I do have hover set to turn the background yellow on text
links in my style sheet btw - xyz.css)

It doesn't do this on any other icon link either. And it doesn't do it
in Dreamweaver or Homesite either. Is there something so obvious I'm
missing it?

www.xyz.gb.com


--
_____________________________

It's everytime I bend down Doctor

[remove MYMASK to e-mail]

brucie

unread,
Aug 15, 2002, 5:52:46 AM8/15/02
to
In Post <dntmlugkpgl3dbdp0...@4ax.com>,
xyZed said...

> I am currently building a home page and have 2 icons of a hand holding
> a pen, which are a links. One of them gets a yellow border round it
> when the mouse hovers over, but the other doesn't.
>
> I can't see why this would be. Needless to say I don't want the yellow
> border

stick border="0" in your <img>

--
brucie
FAQs: http://allmyfaqs.com/ http://html-faq.com/ http://alt-html.org/

xyZed

unread,
Aug 15, 2002, 6:06:29 AM8/15/02
to
There is circumstantial evidence that on Thu, 15 Aug 2002 19:52:46
+1000, brucie <bruc...@alt-html.org> wrote
_______________________________________________________

>› stick border="0" in your <img>

It's already there - in both - that's why it's stumped me

brucie

unread,
Aug 15, 2002, 6:23:30 AM8/15/02
to
In Post <t7vmluohlu5vfpton...@4ax.com>,
xyZed said...

> >› stick border="0" in your <img>
>
> It's already there - in both - that's why it's stumped me

remove the white space at the end of the line, like so:

border="0"></a>

this is also bad:

<td colspan="4">
<h6>Useful stuff I've learned about ...</h6>
</td>

use:

<td colspan="4"><h6>Useful stuff I've learned about ...</h6></td>

Sid Ismail

unread,
Aug 15, 2002, 6:39:18 AM8/15/02
to
On Thu, 15 Aug 2002 10:45:27 +0100, xyZed <Andy@.Net> wrote:

:I am currently building a home page and have 2 icons of a hand holding


:a pen, which are a links. One of them gets a yellow border round it
:when the mouse hovers over, but the other doesn't.
:
:I can't see why this would be. Needless to say I don't want the yellow
:border (I do have hover set to turn the background yellow on text
:links in my style sheet btw - xyz.css)
:
:It doesn't do this on any other icon link either. And it doesn't do it
:in Dreamweaver or Homesite either. Is there something so obvious I'm
:missing it?
:
:www.xyz.gb.com


I do this "trick" purposely - lol.

You have whitespace between the IMG and the </a>:

<a href="poetry2.html"><img src="hand.gif" alt="go to my stories"
width="56" height="42" border="0" />
</a>

To get rid of it,

<a href="poetry2.html"><img src="hand.gif" alt="go to my stories"
width="56" height="42" border="0" /></a>

There!

---------------
Sid Ismail The way I see it, if you want the rainbow,
www.elsid.co.za you gotta put up with the rain.
---------------

Grant Dixon

unread,
Aug 15, 2002, 10:14:39 AM8/15/02
to

"xyZed" <Andy@.Net> wrote in message news:dntmlugkpgl3dbdp0...@4ax.com...

> I am currently building a home page and have 2 icons of a hand holding
>
> It doesn't do this on any other icon link either. And it doesn't do it
> in Dreamweaver or Homesite either. Is there something so obvious I'm
> missing it?
>
> www.xyz.gb.com
>

The obvious answer is the space between "> </A>" in the line
href="http://www.andytrigg.pwp.blueyonder.co.uk/xyz/poetry2.html"><IMG
height=42 alt="go to my stories" src="xyz home_files/hand.gif" width=56
border=0> </A>

The less obvious is why does it not show up in Homesite. It was not until I ran your code
through "CSE Html Validator" that an exception in the very beginning of you code was
revealed. The lines :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0055)http://www.andytrigg.pwp.blueyonder.co.uk/xyz/home.html -->

If replaced with :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Now this will show the error in Homesite. Seems to be a very obscure problem.

Grant

xyZed

unread,
Aug 15, 2002, 12:41:35 PM8/15/02
to
There is circumstantial evidence that on Thu, 15 Aug 2002 10:14:39
-0400, "Grant Dixon" <grant...@cogeco.ca> wrote
_______________________________________________________

Thanks for all the replies. I can't understand why Homesite 5 and
Dreamweaver 4 both validate the page ok and show no errors.

Jail Worm

unread,
Aug 15, 2002, 2:45:23 PM8/15/02
to

"xyZed" <Andy@.Net> wrote in message
news:fsknlu44nbcj760gn...@4ax.com...

> There is circumstantial evidence that on Thu, 15 Aug 2002 10:14:39
> -0400, "Grant Dixon" <grant...@cogeco.ca> wrote
> _______________________________________________________
>
> Thanks for all the replies. I can't understand why Homesite 5 and
> Dreamweaver 4 both validate the page ok and show no errors.
>

All software is flawed. Starting with that premise, things get easier. :)


0 new messages