By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,223 Members | 1,395 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,223 IT Pros & Developers. It's quick & easy.

<body bgproperties="fixed"......

P: n/a
Hi,
Anyone know if there is a different or newer tag for
<body bgproperties="fixed"....
This tag doesn't seem to be very browser compliant.
Thanks for your time.
Mike
Jul 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Arthur Pratz wrote:
Anyone know if there is a different or newer tag for
<body bgproperties="fixed"....
tag? Its presentation, tags are the wrong tool.

http://www.w3.org/TR/CSS2/colors.htm...und-attachment
http://dorward.me.uk/www/css/#tutorials
This tag doesn't seem to be very browser compliant.


.... because it isn't HTML (and never has been)
--
David Dorward <http://dorward.me.uk/>
Jul 20 '05 #2

P: n/a
David Dorward wrote:
tag? Its presentation, tags are the wrong tool.
The tag used here is fine. It is the _attribute_ that is evil.
... because it isn't HTML (and never has been)


It _is_ HTML, only not valid HTML ;-)

--
Anne van Kesteren
<http://www.annevankesteren.nl/>
Jul 20 '05 #3

P: n/a

"Anne van Kesteren" <ma**@annevankesteren.nl> wrote in message
news:bs**********@reader08.wxs.nl...
David Dorward wrote:
tag? Its presentation, tags are the wrong tool.


The tag used here is fine. It is the _attribute_ that is evil.
... because it isn't HTML (and never has been)


It _is_ HTML, only not valid HTML ;-)


So is there a Valid Attribute for this tag That will
make a watermark?
Mike
http://www.chowardcompany.com


Jul 20 '05 #4

P: n/a
"Arthur Pratz" <AP****@worldnet.att.net> wrote:
So is there a Valid Attribute for this tag That will
make a watermark?


It depends. First, you can make almost anything valid by writing a
suitable DTD. But there is no approved HTML specification that has an
attribute for watermarking. Finally, as people have already pointed
out, there are CSS properties for the purpose, and you could embed CSS
into an HTML attribute:
<body style="background-attachment: fixed">
This is valid HTML 4 (or XHTML 1). However it is better to put CSS
rules into an external style sheet, or at least into a style element.

Beware that a fixed background tends to make the text harder to read.
If you want simple watermarking, you might consider using other
background properties in CSS too, like background-repeat: no-repeat.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #5

P: n/a
Anne van Kesteren <ma**@annevankesteren.nl> writes:
David Dorward wrote:
tag? Its presentation, tags are the wrong tool.


For descriptive markup, certainly (one might want to argue whether
HTML4/XHTML1 is about descriptive markup in the first place, with stuff
like B, I, PRE, BR, HR, SUP, SUB, BIG, SMALL etc all over the place; in
the SGML family, tags *are* descriptive markup and procedural markup is
done with processing instructions -- but one might also want to argue
whether HTML belongs to the SGML family at all; procedural markup
languages use tags for presentational issues alright, and HTML does fit
much better into that category, IMNSHO).
The tag used here is fine.


You probably want to say that the generic identifier matches an element
type that *does* exist in public non-proprietary specifications.

*Tags* themselves can only constitute a problem in case of incorrect
omission or nesting.

SCNR :)
--
| ) 111010111011 | http://bednarz.nl/
-(
| ) Distribute me: http://binaries.bednarz.nl/mp3/aisha
Jul 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.