using an image in a table for background

L

Lisa

How do I put a picture in a table to be used as the
background and have that picture be one pic that fills
the entire table space and NOT repeat the pic over and
over to fill the space.

Also

How do I make that pic grey scale. I did it so many times
and now can't recall.

Thanks!
 
K

Kevin Spencer

How do I put a picture in a table to be used as the
background and have that picture be one pic that fills
the entire table space and NOT repeat the pic over and
over to fill the space.

How do you get down off an elephant? You don't - you get down off a duck.
;-)

How do you put a picture in a table to be used as a background? You
re-invent HTML. That's not the way it works (until you re-invent it, that
is). A background image can not be in a table. HTML will not allow you to
stretch the background image. You can tell the browser not to tile the image
with CSS. You can position the image with CSS. Um, that's about it.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
K

Kevin Spencer

If she's talking about a background image for a table, I apologize. I
understood her to mean a background image for a page.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
M

Murray

LOL. I knew what you meant. And I think she was talking about a page
background.
 
L

Lisa

Ok anyone have the html code for css?
Thanks
-----Original Message-----
Uhh - tables can have background images....

But you're right with the rest.

--
Murray




.
 
T

Tom Pepper Willett

Hi, Lisa: Google is your friend ;-)

Comes up with numerous hits when you input "css table background images"
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
| Ok anyone have the html code for css?
| Thanks
|
| >-----Original Message-----
| >Uhh - tables can have background images....
| >
| >But you're right with the rest.
| >
| >--
| >Murray
| >
| in message
| >| >>> How do I put a picture in a table to be used as the
| >>> background and have that picture be one pic that fills
| >>> the entire table space and NOT repeat the pic over and
| >>> over to fill the space.
| >>
| >> How do you get down off an elephant? You don't - you
| get down off a duck.
| >> ;-)
| >>
| >> How do you put a picture in a table to be used as a
| background? You
| >> re-invent HTML. That's not the way it works (until you
| re-invent it, that
| >> is). A background image can not be in a table. HTML
| will not allow you to
| >> stretch the background image. You can tell the browser
| not to tile the
| >> image with CSS. You can position the image with CSS.
| Um, that's about it.
| >>
| >> --
| >> HTH,
| >>
| >> Kevin Spencer
| >> Microsoft MVP
| >> .Net Developer
| >> Neither a follower nor a lender be.
| >>
| >>
| message
| >> | >>> How do I put a picture in a table to be used as the
| >>> background and have that picture be one pic that fills
| >>> the entire table space and NOT repeat the pic over and
| >>> over to fill the space.
| >>>
| >>> Also
| >>>
| >>> How do I make that pic grey scale. I did it so many
| times
| >>> and now can't recall.
| >>>
| >>> Thanks!
| >>
| >>
| >
| >
| >.
| >
 
M

Murray

table.special { background-repeat:no-repeat; }

in an embedded or externally linked stylesheet will style the following
table (only) -

<table class="special"....
 
K

Kevin Spencer

Well, actually it says "How do you put a picture in a table to be used as a
background?"

That could be interpreted as putting a picture in a table to be used as a
background for a table, or it could be interpreted as putting a picture in a
table to be used as a background for a page. It didn't specify. But again,
sorry for misinterpreting.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top