CSS - 1 pixel in top left hover

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

I am learning CSS for the first time. I have created the following site, 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
    LVL 42

    Accepted Solution

    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?
    LVL 1

    Author Comment

    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?
    LVL 9

    Expert Comment

    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 42

    Expert Comment

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

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Most web designers often experience crossbrowser issues during interface design / development.  On common problem is with Internet Explorer due to its rendering discrepancies between previous versions.  Here are some techniques I use to help avoid c…
    Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
    In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
    The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now