Re: HTML4.01 STRICT and hyperlinks with target
Daniel Jung wrote:
That would be a Bad Thing.
The basic philosophy behind HTML 4.01 Strict separates content,
styling, and browser behaviour.
Content is determined by HTML and is, of course, not optional.
Styling is determined by CSS and is optional.
Browser behavior is determined by ECMAScript(Java Script)
and is optional.
Opening a link in a new window is a deviation from normal
browser behaviour and thus belongs in JavaScript, not in CSS.
Those of us who agree with the basic philosophy behind HTML
4.01 do not want our content, styling and user behavior to
be mixed together, and in particular we do not want changes
to browser behavior to be triggered by stylesheets. If that
was allowed, then the many, many users who don't mind web
authors telling them how to style webpages but strongly
object to web authors controlling how their browsers behave
would no longer be able to get what they want by enabling CSS
and disabling JavaScript.
--
Guy Macon
<http://www.GuyMacon.co m/>
Daniel Jung wrote:
>
>Helmut Richter wrote:
>
>
>CSS.
>
>There should be a target in classes, as it is - like styling - a (an
>overridable) suggestion on how/where to put the content on question... I
>mean, you can position a div for a content (fixed/relative/floated) - so
>why not in a completely different window? E.g.,
>
>.singleEntryLi nk {
color: black;
background-color: white;
target: singleWindow;
>}
>
><a href="?show=id1 234" class="singleEn tryLink">show me 1234</a>
>Helmut Richter wrote:
>
>What is the correct way of suggesting a behaviour the user is free to
>override?
>override?
>CSS.
>
>There should be a target in classes, as it is - like styling - a (an
>overridable) suggestion on how/where to put the content on question... I
>mean, you can position a div for a content (fixed/relative/floated) - so
>why not in a completely different window? E.g.,
>
>.singleEntryLi nk {
color: black;
background-color: white;
target: singleWindow;
>}
>
><a href="?show=id1 234" class="singleEn tryLink">show me 1234</a>
That would be a Bad Thing.
The basic philosophy behind HTML 4.01 Strict separates content,
styling, and browser behaviour.
Content is determined by HTML and is, of course, not optional.
Styling is determined by CSS and is optional.
Browser behavior is determined by ECMAScript(Java Script)
and is optional.
Opening a link in a new window is a deviation from normal
browser behaviour and thus belongs in JavaScript, not in CSS.
Those of us who agree with the basic philosophy behind HTML
4.01 do not want our content, styling and user behavior to
be mixed together, and in particular we do not want changes
to browser behavior to be triggered by stylesheets. If that
was allowed, then the many, many users who don't mind web
authors telling them how to style webpages but strongly
object to web authors controlling how their browsers behave
would no longer be able to get what they want by enabling CSS
and disabling JavaScript.
--
Guy Macon
<http://www.GuyMacon.co m/>
Comment