Comments (5)
Tested it with a 960-12-20 (60px columns) grid. Same problem.
from hashgrid.
Hi Sebastian,
I've taken a look at your test page, the left gutter added to #grid div.vert.first-line is causing the last vertical grid line to not render.
If you're going for 12 columns with 11 gutters, you'll need to redo the CSS calculations with something like this:
#grid {
width: 940px;
position: absolute;
top: 0;
left: 50%;
margin-left: -470px;
}
#grid div.vert {
width: 32px;
border: solid darkTurquoise;
margin-right: 47px;
border-width: 0 1px;
}
#grid div.vert.first-line {
margin-left: 47px;
}
It looks like you may be trying to get some outer gutters with a different width to the others. Try this:
#grid div.vert-container {
margin: 0 16px;
border: solid darkTurquoise;
border-width: 0 1px;
width: auto !important;
}
from hashgrid.
truth is, i'm pretty sure i didn't understand why this works, but fact is, it works just perfectly fine. but i'm a designer, so i don't have to understand everything right?
you can see my result here: http://dl.dropbox.com/u/4332685/Hashi-60-20/Publish/test.html (just a test for an upcoming project)
i use the semantic.gs (semantic grid system) for the layout and as you can see it now works perfectly together with the hashgrid. even if you resize the page and the media queries get in action.
thanks a lot for your help and for this great tool.
from hashgrid.
forgot to mention that i'm using the 60px column version right now, so don't be irritated.
from hashgrid.
Sorry for slow reply. No worries… glad to help.
Setting up hashgrid probably isn't as clear as it could be. Complicated grids end up a bit tricky to code CSS for. It's been on my mind to create a code generator of some sort and have been talking to David Sleight about something similar to Gridulator.
from hashgrid.
Related Issues (14)
- Keydown doesnt show grid HOT 3
- Wrong docoument height HOT 1
- No horizontal grid lines (jQuery 1.9.1) HOT 1
- > 2 Grids not working HOT 2
- Missing my last column & gutter... HOT 4
- [enhancement] Add missing bower.json. HOT 1
- Skeleton grid - a bit different... HOT 1
- NPM Package HOT 5
- UMD module
- Licensing? HOT 1
- Unresponsive script error in Firefox 4
- CSS Centered HOT 1
- IE7 bug: only showing 2 vertical grid lines HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hashgrid.