We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

CSS - 1 pixel in top left hover

Fredde87
Fredde87 asked
on
Medium Priority
416 Views
Last Modified: 2012-05-06
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!
Comment
Watch Question

Consultant & Challenge Subduer
CERTIFIED EXPERT
Top Expert 2009
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/

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

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?
masheikSoftware Engineer
CERTIFIED EXPERT

Commented:
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
David S.Consultant & Challenge Subduer
CERTIFIED EXPERT
Top Expert 2009

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/
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.