PDA

View Full Version : Table Help



Kaliber
February 7th, 2002, 04:17
How can I make an image as the table border?

meow
February 7th, 2002, 09:29
*thinking hard*.
Well, if you mean like a pattern, you could use the image as a background image in an outer table and then use cellpadding or cellspacing in the outer table if you want a border around the whole inner table or cellspacing in the inner table if you want it to show around each cell.

If you want more like a real image you need to put it in it's own row or column and size it after the image. (Make an extra cell + rowspan/colspan).

Hope I got that half right now. :p

Avenger
February 7th, 2002, 10:59
Hey hey, maybe YES

Can STYLEs be applied to tables?! You can do textured borders with styles I can remember...

meow
February 7th, 2002, 11:20
(r u everywhere? :p)
Yeah, you can style tables but there is no border-image. You could fake them similar to above since everything can be positioned wherever. But if you go for that, I would skip tables for layout altogether since you have to deal with browser quirks anyway as soon as you tangent CSS2.

Avenger
February 7th, 2002, 11:47
right :(

Avenger
February 7th, 2002, 11:48
And YES I am everywhere ;)

There always seems to be some topics that appeal to me, in almost everywhere...:)

Kaliber
February 7th, 2002, 17:29
Well, I guess I might try meows first suggestion, make an extra td :)

Avenger
February 8th, 2002, 10:42
I'll go with that too, how much will that add to the HTML length?!

meow
February 8th, 2002, 10:56
An extra table? Around 100 bytes. :biggrin2:

Kaliber
February 8th, 2002, 19:30
Yeh, practially nothing ;)