Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

noscript dot???? 1

Status
Not open for further replies.

glenmac

Technical User
Joined
Jul 3, 2002
Messages
947
Location
CA
If I turn javascript off in FF and go to my site, click on "Email US" a dot apears in the top left corner and changes with mouseover (like a link on the site)and for the life of me I can't find it in my code. Maybe it's my eyes!!! anyhoo if a fresh set of eyes can find it it would be greatly appreciated.
Glen
 
Not sure wher the email us option is meant to be I just get JS errors when hovering over anything, that's before I even turn JS off!

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!
 
Hi

In fact that is not just a dot, is the dotted border around the selected link. Its collapsing into a single dot is probably related to the invalid markup :
Code:
<h4 style = "color:blue">Email Us</h4[red][b]>[/b][/red]

Feherke.
 
It could be the focus rectangle not displaying correctly - because the markup is invalid (you have a block-level H4 inside an inline Anchor).

Just a guess...





Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
The first thing I'd do is make sure the page Validates:

Line 195, Column 104: document type does not allow element "H4" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag.

…Site%20Info"><h4 style = "color:blue">Email Us</h4</a></noscript>

?

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").



With that said, what you are seeing is a by product of your A:hover settings. and a phantom space in the link tag between where the link space starts and where the <h4> tag starts.


Remove the H4 tag from there, and style the link either with a class or an ID if its the only one.



----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Seems I took to long to post this, sorry.


----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Got rid of the dot thanks Feherke. Working on validation as we speek. Thank you all for looking but I gave the star for the first answer that worked.

Glen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top