Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
@#$%*! CSS Table Model...
I've been trying to solve this for a few hours now, with no luck.
Problem:
I want the 2px spacing *between* cells to stay there, but the 2px spacing around the whole table to disappear. At the very least, I want the spacing on the left and right edges to be gone.
I've tried every combination of CSS properties and evil html attributes I can think of, to no effect. Initially i thought I could set border-spacing to 0 and give the cells a margin, but margins apparently don't work with table cells. This was tested in both IE6 and Firefox.
Help!
Problem:
I want the 2px spacing *between* cells to stay there, but the 2px spacing around the whole table to disappear. At the very least, I want the spacing on the left and right edges to be gone.
I've tried every combination of CSS properties and evil html attributes I can think of, to no effect. Initially i thought I could set border-spacing to 0 and give the cells a margin, but margins apparently don't work with table cells. This was tested in both IE6 and Firefox.
Help!
0
This discussion has been closed.
Comments
<table border="0" cellpadding="0" cellspacing="0" class="MyTableClass">
Then use css to make the table look however you want. I've had big headaches if I don't do it this way.
1. IE ignores the border-spacing CSS property, as far as I can tell.
2. Firefox treats border-spacing like cell spacing and applies it to the table edges as well as the cells.
I'm about ready to just give it an ugly hack...
Link
The CSS is in there too.
from table.calendar to table.calendar td.past
it's pretty close to what you want.
The beige background was just to show where the spacing was; on the real page, the whole background is that color.
The calendar goes right below the logo.
I'm gonna give my border idea a shot.
Next stop: using People sessions to allow users to register for events.