i am using the 960 grid system to try and create a layout… I have the following code:
<div class="container_12">
<div class="grid_3 alpha"></div>
<div class="grid_9 omega"></div>
</div>
I am using alpha and omega to remove the left and right margin respectively.. This enables the divs to touch the left edge of the container..
The problem however is the right hand grid_9 omega does not touch the right hand side. I understand why this is happening, but i do not know how to correct this behaviour using 960 methods..
Thanks,
It may help to understand the fundamentals behind the 960 grid framework. This framework is based off of a very simple principle that combines fixed width and margins to create a grid like layout for rapid website development. The entire framework utilized
float: leftwhich allows the girds to display side-by-side as well as creating the 20px buffer between each grid. And Thus I believe you are misunderstanding the use of the"alpha"and"omega"classes. These classes are intended to remove margins on grids that are children of other grids so that the margin is multiplied.Take this code for example:
This produces something similar to:

you will notice that there is no margin to the left of Grid_3 but there is a 20 pixel margin between Grid_3 and Grid_9. This is caused by Grid_3 having a
margin-right:10pxand Grid_9 having amargin-left:10px. When both divs are floated left they produces this spacing. You will also notice that there is another 10px margin to the right of Grid_9. This is due to the fact that the left margin has been removed to Grid_3 and is now shifted the entire layout over 10px inside the container_12 div.In order to achieve the layout you described. Which from my understanding should look like this:

You will need to either create a new class to apply a
float:rightto Grid_9 or increase Grid_9 width.To do this inline would look something like this: