Solved

All tables white background - except a few - css

Posted on 2007-11-18
2
378 Views
Last Modified: 2008-02-01
I'd like to set all my table backgrounds to white in css -- but then define just a few tables to NOT use the white the background.

So in css file:
table {background-color:  #FFFFFF;}

Then for the tables I don't want to be white?
.tablewithoutwhitebackground {???}

I'm trying to avoid having to set every singe table with bgcolor within EACH page.  I also don't want to use a div or a style or a span on each page for those tables I want white.

I know how to set table background to a color using CSS - but not how to make it use a different style that the table {xxx} style.

Is there a css style tag to NOT set a background color?  

Know what I mean?

Thanks, April

0
Comment
Question by:aprillougheed
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
Mr_Splash earned 500 total points
ID: 20309901
Quite simple to do

.tablewithoutwhitebackground {background: transparent;}
0
 

Author Comment

by:aprillougheed
ID: 20311529
Yes - that's what I needed.  thanks so much.  April
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question