Note that there are some explanatory texts on larger screens.

plurals
  1. POCSS Tables and spacing
    primarykey
    data
    text
    <p>I'm new to CSS tables, it's my first time. So I discovered that when you set <code>display:table</code> to a div, you can forgot all <code>margin</code> and <code>padding</code> (and whatever) you're planning on it's future cause they are ignored. Nice. The only property I've found to make this job is <code>border-spacing</code> but it is a little limited comparing with <code>margin</code> and <code>padding</code>. It have only two ways of styling, horizontal and vertical. You can't set the value of the side you want like <code>border-spacing-left</code> or <code>border-spacing: 0 1px 2px 3px</code>. </p> <p>In my case, I have a table with one row that lies on the top right corner of the screen. I want it attached on the very top and spaced horizontally, which caused me problems. The top is okay but the right detaches from the border when I use <code>border-spacing: 10px 0</code>.</p> <p>Smart guys like me don't see this as a problem, cause we can set it <code>margin-right</code> negatively, making it be attached again on the right side of the browser. Wow, whata smart ass I am!</p> <p>However, I saw an little damn scrollbar on the bottom of the screen like a roach under your cooker at the kitchen. I hate roac.. scrollbars specially horizontals, so I got my inseticide called <code>overflow-x</code> and kil.. set it to <code>hidden</code>. She run desperately and dissapeared, but I know that she's there, somewhere staring at me. And this is driving me crazy.</p> <p>Seriously now. I think this isn't the right way to do that and I hope somebody can teach me how to do it.</p> <p><a href="http://jsfiddle.net/VKnQZ/" rel="nofollow">This is my scenario on Fiddle</a></p> <p>Thank you in advance(mainly for reading this crap).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload