Closed (fixed)
Project:
NineSixty (960 Grid System)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2010 at 15:07 UTC
Updated:
5 May 2010 at 23:10 UTC
After applying #497394: Clean up 960.css & 960-rtl.css there's still a problem:
In the screenshots the area marked with blue border and red content has grid-11 alpha omega
and the CSS is:
.omega {
margin-right:0;
}
960.css?N (line 75)
.alpha {
margin-left:0;
}
960.css?N (line 71)
In the RTL however the CSS is:
.omega {
margin-left:0;
margin-right:10px;
}
960-rtl.css?N (line 37)
.alpha {
margin-left:10px;
margin-right:0;
}
The problem is that .omega-RTL should not declare margin-right
Comments
Comment #1
yhager commentedsubscribing
Comment #2
dvessel commentedCould you look into the latest dev build?
Here's the reason it has a right margin. The ".grid-X" classes have margins on both sides while .alpha and .omega cuts them out. The RTL .alpha and .omega adds those margins back in while swapping their location at the same time. It might not make sense but those margins had to be added back somewhere.
This is the fix I added:
Comment #3
dvessel commentedI just committed a better fix. The previous one should have worked but it wasn't straight forward.
By redefining the margin at the .grid-x selector, it's easier to understand. Should have been this way from the start.