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
Post a Comment