troubleshooting Question

HTML / Image spacing problem

Avatar of TechComposer
TechComposer asked on
Web Languages and StandardsWeb DevelopmentHTML
5 Comments1 Solution579 ViewsLast Modified:
Alright, I'm pulling my hair out here...

Here is a page I'm having a problem with:

See the spaces between the images in the navigation bar?

Now, here's a page without those spaces:

The ONLY difference that I can find between these two pages is the fact that the source code first (blank.html) is formatted for readability (indented, etc.) and in the second one, the source code for the navigation bar section is all run together.  I've tried fixing this through CSS, etc.  It seems that the only option I have is to remove all that whitespace, making the code impossibly difficult to read.

Why is this?  I thought whitespace didn't bother HTML!  This problem replicates across various browsers.  Can anyone tell me what's happening here?

Thank you!

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros