Log in

View Full Version : Border Width



tomyknoker
10-18-2006, 11:58 PM
I have a border at the top of a table... It spans across the whole table, I want 20px on the left and right not to show of the border... Any ideas?

the-disturbed
10-19-2006, 02:16 AM
as in.....

............_________
|....................................|
|....................................|
|....................................|
|....................................|
|....................................|
|....................................|
|....................................|
|....................................|
+-------------------------+

i dont think its possible, unless the top border is an image, correct me with this, im no CSS pro

djr33
10-19-2006, 04:26 AM
You can't specify an area that is covered by a border.

You could try to create that in pieces, though.

Not sure how you could make the vertical lines... I suppose giving a border to a div of width 1.


Why do you want this anyway? Seems awfully complex for just a border.

Use an image... that's the best way.