aurel
aurel

Reputation: 3122

960 Grid system Design Help

I started to design website using the 960 grid system everything works amazingly apart from the following

 <div class="grid_1 pagelink prefix_12"><p><a href="">1</a></p></div>
  <div class="grid_1 pagelink"><p><a href="">2</a></p></div>
  <div class="grid_1  page"><p><a href="">3</a></p></div>
  <div class="grid_1 pagelink"><p><a href="">4</a></p></div>

I need the above 4 links to be in a container, so that i can have a white background across all for boxes, so I am doing this:

<div id="somecontainer">
    ... the code above
</div>

I also tried

<div class="grid_4">
    ... the code above
</div>

But this does not work. If the above had worked I wanted to add this style:

#somecontainer{
   background:white;
   overflow:auto; /*  I added this but not difference  */
 }

I hope you can help me fix this problem

thanks

Upvotes: 0

Views: 186

Answers (1)

breezy
breezy

Reputation: 1918

Try This

#somecontainer{
   width:960px; /* or 100% */
   background:white;
   overflow:hidden; /*  I added this but not difference  */
 }

Upvotes: 1

Related Questions