PDA

View Full Version : Vertical line height??


MTDesigns
05-15-2000, 01:02 AM
Hi![nbsp][nbsp]Does anyone know if there's some code to specify a vertical line image in one column, to be as high as the column next to it?[nbsp][nbsp]

TIA,

Joi~

Dan Kaplan
05-15-2000, 01:26 AM
The key is to divide your table into columns.[nbsp][nbsp]Where you want the vertical line, make a column with the width around 2-4 and whatever background color you want.[nbsp][nbsp]You also should add a colspan="" at the bottom for however many columns wide the table is, as that will tie the bottom of the columns together at the same length.

Dan

MTDesigns
05-15-2000, 01:52 AM
Ohhhhhh...so I've been using an actual image....you're saying to make the col bkgrd a color....now why didn't I think of that??[nbsp][nbsp]I'll have to give it a try....thanx Dan!!

Dan Kaplan
05-15-2000, 10:03 AM
I think you might be able to get by stretching an image to the size you want, but that doesn't work in all browsers and it won't size itself automatically to the length of the column.

Distorted

Drew
05-15-2000, 10:13 AM
I'm a very big fan of the pixel trick.[nbsp][nbsp]Use a 1x1 transparent gif... you can set width and heigth to whatever you need it to be.[nbsp][nbsp]This especially helps when you need columns in tables with widths or heights of 1, because you need something to go in there.[nbsp][nbsp]Then, like Dan said, make the background color of the cell whatever color you want the line to be.[nbsp][nbsp]Tables, tables, tables :)

Drew