Re: Why does my background-color no longer work?
by "Carole A. Gay" <carole(at)designs.com>
|
| Date: |
Fri, 12 Jul 2002 16:46:48 -0700 |
| To: |
Complex <complex_hwg(at)yahoo.com>, Laurey <laurey(at)semistixstudio.com>, hwg-style(at)hwg.org, Complex <complex_hwg(at)yahoo.com> |
| In-Reply-To: |
yahoo |
| |
todo: View
Thread,
Original
|
|
The .td isn't valid in an HTML tag, only within the CSS.
HTH,
Carole
7/12/02 10:38:09 AM, Complex <complex_hwg(at)yahoo.com> wrote:
>Okay, maybe this will clarify the matter. Maybe it just confuses
>everything.
>
>While continuing development, I put the following style in my
>stylesheet, http://www.scanalytics.com/resources/scana_style_03.css:
>.bordered2 {font-size: 11 pt; background-color: #eee; padding: 2px;
>border: solid 1px #c00}
>
>And then I used the style on the table cell I showed you earlier, like
>this:
><.td class="bordered2">
>
>THAT DID NOT WORK.
>
>Oddly enough, I made that into a document-level style definition:
> <.style type="text/css">
> <.!--
> .bordered2 {font-size: 11 pt; background-color: #eee; padding: 2px;
>border: solid 1px #c00}
> -->
> <./style>
>
>And THAT DID WORK.
>
>I know that my page (in this case, the constantly-changing
>http://www.scanalytics.com/webtest/index.shtml) IS seeing the
>stylesheet, because other elements of the page are being styled
>properly.
>
>Suffice to say, I would _love_ to hear anyone's ideas on why this style
>definition did not work from the external stylesheet.
>I'd also still like to know how I broke those two horizontal lines.
>
>Thanks again,
>complex
>
>__________________________________________________
>Do You Yahoo!?
>Sign up for SBC Yahoo! Dial - First Month Free
>http://sbc.yahoo.com
>
>
Carole Gay
HTML Writers Guild Online Education Instructor, HTML and Design Concepts
/
Director, HTML Writers Guild Gutenberg Project
http://gutenberg.hwg.org/
Member International Association of Webmasters/HTML Writers Guild
https://www.iwanet.org
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.