CSS - 1 pixel in top left hover


I am learning CSS for the first time. I have created the following site,

http://www.giles-and-elsas-wedding.com/test2.pl so far. But as you might see all my hover zones have 1 grey pixel in the top left corner. What is causing this? How can I get rid of it?

Also, if you see anything stupid in my code let me know as this is the first css page I have created.

Thanks in advance!
Who is Participating?
David S.Connect With a Mentor Commented:
Those are added by the border declaration in the "dd" rule in master.css

P.S. Are you aware that your page contains XHTML errors?
Fredde87Author Commented:
Thank you, that was the cause! Can believe I missed that (it was 5.30am when I posted though).


Regarding the w3c validation, I was planning on correcting all these issues once my website was finished. Is this a bad practice? Should one check during development as well?
If you are using mozill browser
You just download the addon FIREBUG will be very helpful to clear your html code errors and diplaysother pages code also


Thanks this helps
David S.Commented:
You're welcome.

I find it easier to check for errors during the development process rather than only at the end. Fixing errors at the end can be more difficult than if they are caught earlier.

The HTML Validator Firefox extension is very helpful for this: http://users.skynet.be/mgueury/mozilla/
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.