I have a Christmas site that I'm about to start an overhaul on. I would like to use the marble background in one column of my table. It looks fine in IE5, but I don't know if it works in all browsers. Also, it doesn't validate in XHTML (there is no attribute "background" ...)
http://www.allthingschristmas.com/index2.html
Is there some way to use CSS to have that image in that table column? I can't use it as a background since it will start at the top of the page and mess up my first table.
Thanks,
Deborah
Deborah Whipp
http://www.acleverpenny.com






Suzanne posted this at 22:02 — 12th May 2003.
She has: 5,512 posts
Joined: Feb 2000
Use it as a background in that cell. Use a class or id to identify the column:
HTML
CSS
#navigationcell {
background-image: url(/graphics/marble.jpg) #eee repeat;
}
hth,
love me, love my brain :: iStockphoto portfolio
dmwhipp posted this at 02:29 — 13th May 2003.
They have: 80 posts
Joined: May 2001
Thanks so much - got it working. Now I can start sprucing up the site.
Yeah!
Deborah
dk01 posted this at 05:15 — 13th May 2003.
He has: 517 posts
Joined: Mar 2002
You should also check the CSS Validator for errors. Right now you have 3 errors. You have used "font-weight: heavy" on your h1, h2, and h3 css styles. It should instead be "font-weight: bold" on each of them.
Way to convert to xhtml/css. Site is lookin good!
-dk
dk01.org | heartland-design.com | tizzap.com