Question from a freind
Posted: Sun Feb 02, 2003 10:57 am
Ok i have a freind that has a question that needs answering today but i wont have time to answer it cause i am gonna be away today...so maybe one of yall can answer it.
<---start message--->
I've got my page in the main table. It has
everything on it. Its 710 pixels and centered. Then I've got my backgroung
set to a 2 pixel image I found at Gamespot.com. Now my problem is, I need to
figure out how to get a one pix. image to be a border around the main table.
Kind of like at gamespot with the light gray border all the way around.
This is what Ive tried. I made a new table (RED in the attatched image)ant i
did this: In <td> number one, I did <img src="...blahblah.../bge" width=1
height=1>. this is the corner. then in the next cell, I did the same, except
width was 100%. then I did another 1 pix in the next cell. then in a new
row, and the first cell, I did the image width=1 and height=100%. that way
it should be the whole length of the main table.
in the next cell goes the main table. and in the next is a repeat of the one
before that. then in the next TR i repeated what I did in the first. when I
was done, and I took off the table border, I could see the pixels on the top
and bottom rows, but they weren't touching the main table. the ones on the
left and right of the main table were non-existant.
So do you think part of my problem is that I need to align the images in a
certain way? or am I going about this the wrong way? I would check the
source for gamespot, but its so complicated, it'd take forever. any help
would be appreciated.
-antieuphoria-
<---start message--->
I've got my page in the main table. It has
everything on it. Its 710 pixels and centered. Then I've got my backgroung
set to a 2 pixel image I found at Gamespot.com. Now my problem is, I need to
figure out how to get a one pix. image to be a border around the main table.
Kind of like at gamespot with the light gray border all the way around.
This is what Ive tried. I made a new table (RED in the attatched image)ant i
did this: In <td> number one, I did <img src="...blahblah.../bge" width=1
height=1>. this is the corner. then in the next cell, I did the same, except
width was 100%. then I did another 1 pix in the next cell. then in a new
row, and the first cell, I did the image width=1 and height=100%. that way
it should be the whole length of the main table.
in the next cell goes the main table. and in the next is a repeat of the one
before that. then in the next TR i repeated what I did in the first. when I
was done, and I took off the table border, I could see the pixels on the top
and bottom rows, but they weren't touching the main table. the ones on the
left and right of the main table were non-existant.
So do you think part of my problem is that I need to align the images in a
certain way? or am I going about this the wrong way? I would check the
source for gamespot, but its so complicated, it'd take forever. any help
would be appreciated.
-antieuphoria-