• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1051
  • Last Modified:

HTML/CSS - small misalignment in chrome

Hi all,

On my homepage there should be a margin between the navigation bar and the 'client access' table.

In Chrome, the margin does not show. It works fine in IE. Screenshot: Screenshot
Can anyone identify the issue causing this in chrome?

Website link: http://bit.ly/Ode2a9

Thank you
0
mhdi
Asked:
mhdi
  • 2
  • 2
1 Solution
 
Kyle HamiltonData ScientistCommented:
add margin top:

.twoColLiqLtHdr #mainContent {
margin: 15px 15px 0 4px;
}

twoColLiqLtHdr.css, line 289
0
 
Dave BaldwinFixer of ProblemsCommented:
Works fine in Firefox and Chrome here.
0
 
mhdiAuthor Commented:
@kozaiwaniec - Adding the margin pushes it down in IE making Chrome ok but IE too low.

@DaveBaldwin - Not sure why you cant see the issue, I can replicate the problem on multiple computers.
0
 
Kyle HamiltonData ScientistCommented:
.twoColLiqLtHdr #mainContent {
margin: 0 15px 0 4px;
padding-top: 15px;
}


In your index.html file, you have a conditional for IE, which specifies padding-top:15px, and that's why IE gets the padding.

You can take it out of the conditional, and apply globally in your main style file.

Play around with it. You could take the padding out completely, and apply margin instead.. dime a dozen..
0
 
mhdiAuthor Commented:
Perfect. Thank you.
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.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now