W3C home > Mailing lists > Public > www-style@w3.org > March 2000

Re: Style Tag, and JavaScript Clash

From: rpaul <rpaul@suffolk.lib.ny.us>
Date: Fri, 31 Mar 2000 13:08:36 -0500
Message-ID: <004101bf9b3c$2697f860$20178bd1@mom>
To: "www-style" <www-style@w3.org>
My question may be far too simplistic for this group.  If so, and anyone
knows of another list, please let me know.

I began using the Style tag, to position tables, graphics, etc. on my page.
However, I have come into a problem.  This works wonderful in Explorer, but
not in Netscape.  Any JavaScript commands that I position directly with the
style tag - or that are within a table that I position with the style tag -
become disabled. (particularly in the area of scrolling scripts).

I see a lot of talk here about CSS2.  I was just becoming familiar with CSS
in general (and have much to learn).  Is there a newer style command, for
positioning - or some other command that allows for such precise
positioning - that does not interfere with scripting?


----- Original Message -----
From: Tim Bannister <isoma@compsoc.man.ac.uk>
To: Matthew Brealey <webmaster@richinstyle.com>
Cc: www-style <www-style@w3.org>
Sent: Friday, March 31, 2000 10:36 AM
Subject: Re: Text-Decoration

> On Fri, 31 Mar 2000, Matthew Brealey wrote:
> [fairly large snip]
> >> This can become more obvious when you think of inline vector graphics
> >> used to extend the glyph set -- for example:
> >>
> >>    del { text-decoration: line-through; }
> >>    img { height: 1em; }
> >>
> >>    <del>
> >>       The singer changed his name to
> >>       <img src="symbol.svg" alt="a funny symbol">.
> >>    </del>
> >>
> >> To the reader, the image is just part of the flow of text -- it would
> >> look incredibly odd if it was not struck out. I respectively suggest
> >> that a case where an image should not be affected by its parent text
> >> decoration is probably one where the markup was not semantic enough.
> >
> >That's all very well but using graphics, even if they are svg, as text
> >is not really terribly semantic (it's not really much better than spacer
> >gifs and text buttons made from images). In any case CSS doesn't say
> >that images should; if you think that they should then propose a change
> >to the specification so that it conforms to what you think is
> >attractive.
> Consider this:
> H1 { text-indent: 4em; }
> <h1>
>  <object data="/images/corporate_logo">
>   Bodgitt and Scarper Plumbing
>  </object>
> </h1>
> ...should the logo be indented?
> Also, if the style attribute of the <h1> element were
> "text-align: right" instead, should the logo be aligned to the right?
> --
> Tim Bannister - isoma@compsoc.man.ac.uk
>    When you've seen one nuclear war, you've seen them all.
Received on Friday, 31 March 2000 13:12:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:53 UTC