[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


CSS - 1 pixel in top left hover

Posted on 2009-02-14
Medium Priority
Last Modified: 2012-05-06

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!
Question by:Fredde87
  • 2
LVL 43

Accepted Solution

David S. earned 200 total points
ID: 23643817
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?

Author Comment

ID: 23644702
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?

Expert Comment

ID: 23644728
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
LVL 43

Expert Comment

by:David S.
ID: 23646209
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/

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses
Course of the Month20 days, 3 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question