html - CSS div positioning: ridiculous number for margin-left -


In this Bella I am tired to make a small space between green divs and my right div I had to leave a small number of px margin-left to make that small difference. Can you tell me why? The difference is like 50px or something, I had to pay the margin-left 620 to make that difference. Something wrong with my nesting? I want. The correct DIV should be correct in the green divide here is my code:

   

My CSS is:

  A {display: table-cell; Height: 100%; Vertical-align: medium; Text-align: center; } A: Hover {background-color: # 000;} div.className {display: table; Width: 200px; Float: left;} div.nobr {width: 600px; } Div.right {margin-left: 620px;}  

Below your CSS update Please.

  one {display: table-cell; Height: 100%; Vertical-align: medium; Text-align: center; } A: Hover {background-color: # 000;} div.className {display: table; Width: 200px; Float: left;} div.nobr {width: 600px; Float: left;} div.right {float: left; Padding-left: 30px;}  


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -