Archived

This topic is now archived and is closed to further replies.

  • 0

Grid default margins and padding


Question

Posted · Report post

Yes, I've searched the docs and the forums (and the google). That's where i found Danny's omgwtfbbq, which made me laugh for awhile.

 

Having trouble w margins padding vertical space w rows/spans.

 

Trying to set up a little table-like area. As you can see the last entry (booze) stops way short of the right margin.

 

Also, there's a huge whitespace between the line of text and the well below it.

 

I can't set up CSS to work with it if I don't know WHAT it is (the default margins, etc.) Can you help? Thank you.

 

http://screencast.com/t/G5J20Sta

 

http://paste.pagelines.com/8i5

 

http://www.capemyers.com/nevermind-awesome/

Share this post


Link to post
Share on other sites

7 answers to this question

Posted · Report post

It's entirely up to you, you can continue with the grid if you like but you can also try using a list or even a table.

 

Try all three methods and see which suites your design best.

 

In my opinion a list would be best, but again the choice is entirely up you to.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

Not entirely sure what the issue is here, as this has nothing to do with margins or padding. Each column has a width and the (Price Range:) column simply doesn't have enough text to fill the area.

 

I have changed the current value to something else and as you can see from the image below, it doesn't look odd.

 

http://d.pr/i/fKjS

 

So this isn't an issue with margin/padding or CSS, its just an issue with the default value you currently have in your column.

Share this post


Link to post
Share on other sites

Posted · Report post

hmmm...thanks, Danny. thing is, the content is going to be different all the time, depending on the venue covered in the post. can you suggest something else i might use to accomplish this?

Share this post


Link to post
Share on other sites

Posted · Report post

If the content is going to be different every time, then I would use a list format, instead of the grid.

 

For example,

 

Cuisine: New American

Price Range: $200,000

Booze: Full Bar

Share this post


Link to post
Share on other sites

Posted · Report post

yes, sometimes the price range will be in the hundreds of thousands, like, for, say, a hamburger with some ketchup, and maybe a pickle. so, i will just use a list. a nice horizontal list. i will now take my commas and go away and figure out how to do that.

 

i want to make 3 columns and 2 or 3 rows. kind of like this: http://screencast.com/t/rJevaBoKVv5

 

so, a horizontal ul is the way to go, you say?

Share this post


Link to post
Share on other sites

Posted · Report post

i defer to your wisdom. thank you!

Share this post


Link to post
Share on other sites

Posted · Report post

No problem! :D

1 person likes this

Share this post


Link to post
Share on other sites