Topic: Using empty divs as spacers |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: |
posted 08-13-2003 20:29
I need to create spacers using |
Bipolar (III) Inmate From: Cold Sweden |
posted 08-13-2003 22:57 |
Bipolar (III) Inmate From: |
posted 08-13-2003 23:26
I'm trying to align complex tables using divs as shims rather than scaled transparent gifs but if the css is invalid then I'll have to find another way. :-( |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-13-2003 23:42
Using a div as a placeholder is no better than using a transparent gif as a placeholder. You're missing the spirit of CSS-based design. |
Bipolar (III) Inmate From: |
posted 08-14-2003 00:05
It's my boss who is missing the spirit of css among other things. If it were up to me I would do away with the tables altogether. Anyway I had used this idea previously in Proxomitron as a replacement for web bugs and I thought it might work here but I'll stick with the shims because that's what he wants. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-14-2003 01:43
Eesh, what sort of project are you doing where your boss actually tells you how to write your HTML? |
Bipolar (III) Inmate From: |
posted 08-14-2003 03:07
My boss is an MD who thinks he's a geek. I actually contracted with him to migrate his network to Windows. While I was at it he asked if I could help him clean up his web site but he has thus far vetoed my every suggestion. I've had it with him so as soon as I have finished training his employees how to use SOAPware I am getting out. |
Maniac (V) Inmate From: under the bed |
posted 08-14-2003 03:21
ack |
Bipolar (III) Inmate From: |
posted 08-14-2003 07:07
Sorry, I had a bad day. |
Maniac (V) Inmate From: California |
posted 08-14-2003 07:13
Just today? Everday sounds like a bad day, with that kinda boss... |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-14-2003 08:54
In any case, if you're required to use a table, I strongly recommend using the table-layout:fixed CSS property on it, which will cause it to behave much more intuitively than the default table-layout:auto. (Columns will take the width you give them, and remaining columns will divide the remaining space up evenly, provided you set a width for the table.) |
Maniac (V) Inmate From: California |
posted 08-15-2003 07:17
Wow, I've never even heard of those properties. Border-collapse? Table-layout? And I thought I knew CSS... |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-15-2003 08:02 |
Maniac (V) Inmate From: California |
posted 08-15-2003 08:04
Ah, yes, the spec. Should've thought of that. Thanks. |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
posted 08-15-2003 16:52
Try using |
Maniac (V) Inmate From: California |
posted 08-15-2003 22:01
*sigh* |