css Q
I've a table that has an image as a background. I need to do 2 things with it.. 1. Move it down 20 or so pixels from the top and 2. make it so the image doesn't tile. I'm pretty sure I need to use css to accomplish this.
I've a table that has an image as a background. I need to do 2 things with it.. 1. Move it down 20 or so pixels from the top and 2. make it so the image doesn't tile. I'm pretty sure I need to use css to accomplish this.
Suzanne posted this at 04:23 — 12th March 2002.
She has: 5,507 posts
Joined: Feb 2000
You can do the 20px best by adding 20px of whatever to the image itself.
in css:
background: url(locationofimage/image.gif) #hexhex no-repeat;
Have fun.
venom posted this at 19:05 — 13th March 2002.
They have: 34 posts
Joined: Feb 2002
hum... it's not working.. I'm trying to do this in side a table.
BLAH BLAH
Busy posted this at 22:10 — 13th March 2002.
He has: 6,151 posts
Joined: May 2001
did you make a class of what Suzanne suggested, and add class="??" into your tag? ie:
.tablebg {background: url("images/backgroundT.gif") #hexhex no-repeat; }
BLAH BLAH
disaster-master posted this at 23:05 — 13th March 2002.
She has: 2,154 posts
Joined: May 2001
Not sure if this will work for you but....What you could do is make a table the same size as your image, then put a table or tables inside inside the first one that holds the image.
LIKE THIS
P.S. This background image reminded me of Busy just a little.(without his morning coffee)
Busy posted this at 07:27 — 14th March 2002.
He has: 6,151 posts
Joined: May 2001
I don't bite - often
[really off topic] this is me in real life
my picture click on "B" then on busy, the photo is a lil old but is me
[back on topic] any luck venom?
disaster-master posted this at 08:00 — 14th March 2002.
She has: 2,154 posts
Joined: May 2001
Busy, that is a really cute pic. You look like you might have been a wee bit mischieveous. LOL
I don't think the table thing that I posted is what Venom needs but I thought, "What the heck".
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.