CSS - 1 pixel in top left hover

Hi,

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!
LVL 1
Fredde87Asked:
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?
http://validator.w3.org/
0
 
Fredde87Author Commented:
Thank you, that was the cause! Can believe I missed that (it was 5.30am when I posted though).

Thanks!

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?
0
 
masheikCommented:
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

https://addons.mozilla.org/en-US/firefox/search?q=firebug&cat=all

Thanks this helps
0
 
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/
0
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.