Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 11-29-2011, 09:03 PM   #1
New Member
 
Join Date: Nov 2011
Posts: 12
Default Issues using the 960 grid system

Hello everyone, after a good bit of browsing around in an attempt to understand how to apply push/pull as supporter by the 960 css FW I've utterly failed.

I'm simply doing the layout right now to see where to place elements and so forth, and as far as I understand the following code would push the logo box 3 columns up (3*60=180px +60 px for gutters):

HTML Code:
<div class="grid_6 push_3">
		<p>logo</p>
	</div>
Whilst this here, would pull one of my textboxes back 6 columns (6*60=360px + 120px for gutters so, 360+120=480 = middle of a 960 wide grid));

HTML Code:
	<div class="grid_3 pull_6">
		<p>text column</p>
	</div>
Yet while using dreamweaved and previewing the page in firefox, for some reason, even after saving the index page, i still get the logo box on the top left corner, so anyone able to tell me why it wont adhere to the pushes and pulls?

Oh btw, these DIV's are place inside of the <body> tags.
And here's the full code of body so far:

HTML Code:
<body>
	<div class="grid_6 push_3">
		<p>logo</p>
	</div>

	<div class="grid_3 pull_6">
		<p>text column</p>
	</div>

	<div class="grid_3">
		<p>text column</p>
	</div>

	<div class="grid_12">
		<p>big box</p>
	</div>
</body>

Last edited by enat; 11-30-2011 at 03:58 PM. Reason: Added full code of body
enat is offline   Reply With Quote


Old 11-30-2011, 03:35 PM   #2
New Member
 
Join Date: Nov 2011
Posts: 12
Smile

Ok so, silly me forgot to lead with:
HTML Code:
<div class="container_12">
Which meant that the 960 grid didn't know what i wanted to use, 12, 16 or 24 columns, hence no interpretation of push/pull.

So, fixed it on my own =)

Last edited by enat; 11-30-2011 at 03:54 PM. Reason: Corrected the explanation.
enat is offline   Reply With Quote
Old 11-30-2011, 03:51 PM   #3
Platinum Member
 
ronaldroe's Avatar
 
Join Date: Jan 2011
Location: Oklahoma City, OK
Posts: 677
Send a message via Skype™ to ronaldroe
Default

Thanks for posting your answer. A lot of people don't.
__________________
Ronald Roe
Small Business Web Design
ronaldroe is offline   Reply With Quote
Old 11-30-2011, 03:53 PM   #4
New Member
 
Join Date: Nov 2011
Posts: 12
Default

Quote:
Originally Posted by ronaldroe View Post
Thanks for posting your answer. A lot of people don't.
Shame on them, invoice sent thru paypal =)
enat is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:11 AM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.