Ok.. I am **no** expert :) but I read an online manual that told me to
do this:
<body background="pastels.gif" text="#FFFFFF">
I have the pastels.gif in my directory and have put the above text in
my html document. So .. what am I doing wrong? as it does nothing
for adding a background. :( I tried putting the above before the
<html> and after it. Does it matter where you put it?
Thanks!!! for any help.
JD
If possible, please copy any posts via e-mail to me at:
jda...@uniserve.com
Thank you.
This will give you white text -- is that what you want? Sounds like it'd
be hard to read, if 'pastels.gif' really is pastel.
: I have the pastels.gif in my directory and have put the above text in
: my html document. So .. what am I doing wrong? as it does nothing
: for adding a background. :( I tried putting the above before the
: <html> and after it. Does it matter where you put it?
The structure you need:
<html>
<head>
<title>Foo bar page</tile>
</head>
<body background=... ... ...>
... contents of your page ...
</body>
</html>
Hope this helps!
---------------------------------------------------------------------
Craig Berry - cbe...@cinenet.net
| Home Page: http://www.cinenet.net/users/cberry/home.html
--*-- Author of Orb: http://www.cinenet.net/users/cberry/orbinfo.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
: Ok.. I am **no** expert :) but I read an online manual that told me to
: do this:
: <body background="pastels.gif" text="#FFFFFF">
: I have the pastels.gif in my directory and have put the above text in
: my html document. So .. what am I doing wrong? as it does nothing
: for adding a background. :( I tried putting the above before the
: <html> and after it. Does it matter where you put it?
That looks like it should work... Unless you have it in the wrong place.
The general format is:
<HTML>
<HEAD>
</HEAD>
<BODY BACKGROUNG="pastels.gif" TEXT=FFFFFF>
</BODY>
</HTML>
If you're using a Unix system, make sure the capitilization of the filename
is correct.
> JD (jda...@uniserve.com) wrote:
> : <body background="pastels.gif" text="#FFFFFF">
> <BODY BACKGROUNG="pastels.gif" TEXT=FFFFFF>
How unfortunate that you "corrected" a syntactically correct
construct by introducing several errors, that would do nothing
to improve the behaviour of what had already been posted.
I don't have an answer to the original problem, since the construct
should have worked as presented (and why _won't_ people provide us with
a test URL when they are reporting a problem - this _is_ supposed to be
the WWW after all), but there is a significant point to be made about
the sample given. As was reviewed here only recently - if you are
going to specify a background image and/or colour for the BODY tag then
you really need to specify ALL of the colours - BGCOLOR, TEXT, LINK,
VLINK, ALINK. The only other viable option is to specify _none_ of
them. Review the recent discussion and followup explanations
(www.dejanews.com is sure to help) if the reason isn't already obvious.
Or take a look at the new resources at www.htmlhelp.com:
http://206.25.187.118/reference/wilbur/body/body.html
best regards
"Provides dramatically improved traffic congestion" (unfortunate choice
of words in a networking brochure ;-)
> Ok.. I am **no** expert :) but I read an online manual that told me to
> do this:
> <body background="pastels.gif" text="#FFFFFF">
>
> I have the pastels.gif in my directory and have put the above text in
> my html document. So .. what am I doing wrong? as it does nothing
> for adding a background. :( I tried putting the above before the
> <html> and after it. Does it matter where you put it?
Don't give up. Read the common ressources and FAQs.
Yes, of course it matters were to put the <BODY> tag.
I suggest you use it to mark the beginning of your BODY!
BTW: If you define a text color, don't forget to define
link, alink and vlink colors.
Wolfgang Schimmmel
#-----------------------------#
Internet Solutions for a
colored planet
http://www.suxess.co.at/suxess/
mailto:schi...@suxess.co.at
For example, WS-FTP often renames "pastel.gif" to "pastel.GIF" (a
feature which can be changed in the options menu). If your server is UNIX
based, then this will be the source of your problem. If you do not have shell
access to your web directories, go into them with your ftp client and make sure
the file names are all in lower case.
On a semi-related issue, check your code as well. It is not too
uncommon for people to accidentally capitalize the first letter of a file name
(well, I seem to do it, something to do with the first character after
quotations being capitalized from english writing classes)
Marc Bissonnette
Project Manager -Web Services-
Passport Online
http://cayman.passport.ca/~mab/webgate
Bruce W Knox, (64) (03) 479-8433
School of Physiotherapy,
University of Otago,
Dunedin,
New Zealand.
jda...@uniserve.com (JD) wrote:
>Hi there,
>Ok.. I am **no** expert :) but I read an online manual that told me to
>do this:
><body background="pastels.gif" text="#FFFFFF">
>I have the pastels.gif in my directory and have put the above text in
>my html document. So .. what am I doing wrong? as it does nothing
>for adding a background. :( I tried putting the above before the
><html> and after it. Does it matter where you put it?
>Thanks!!! for any help.