Re: Background in css gives warning



Jukka K. Korpela wrote:

Transparent means that you accept that whatever the cascade happens to
assign as value to the parent element's background property this time
will appear as the background.

If you control all of the HTML, then specifying something like:

STRONG {
color: red;
background: transparent;
}

in CSS might make sense, because you may know that you'll only ever use
<strong> within <div id="content"> which has an off-white background.

But if there are multiple markup authors, then "background:transparent"
might be almost as useless as not specifying a background at all.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

.



Relevant Pages

  • Re: How to "Insert as link" HTML file as plain text?
    ... converter when accessing a linked file. ... but I'm not aware of one for specifying "plain text". ... this into both the HTML and Word versions? ... > This works well if the external files are plain text, ...
    (microsoft.public.word.docmanagement)
  • Re: Am I on the right track here?
    ... in a desktop app, I'd think in terms of a rectangle in which I ... Its a bit more fuzzy with HTML because, effectively, ... Everything can be specified in absolute pixels, including the font ... One is the possibility of specifying fonts with different kernings ...
    (comp.lang.php)
  • Re: Service hangs when accessing ActiveX control
    ... correctly in an STA on the main thread but you are later calling into this ... your OnStart method and then create the form and control in the ThreadStart ... Application.Runto start the message pump. ... > Not specifying any attribute or specifying it as STA results in the same ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Service hangs when accessing ActiveX control
    ... >> in an MTA by default, if this is not what you want, you have to create ... >> own STA thread. ... > Not specifying any attribute or specifying it as STA results in the same ... > I wouldn't make it a control, but a simple class that exposes the same ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Short Date
    ... your are setting it to 0 on the control after ... Sylvain Lafontaine, ing. ... Private Sub D_GotFocus ... specifying decimal places=0 as well as specifying input mask don't have ...
    (microsoft.public.access.adp.sqlserver)