View Full Version : Background help


roxygurl228
04-23-2004, 07:09 AM
I have posted about this on my hosts forum, but am confused about what they told me, and am hoping that someone here can help me.
I am having trouble with my background. It is not showing up. I haven't had any trouble at all with my backgrounds not showing up until now. A background color won't even show up. The code I am using for that is <bgcolor="COLORHERE"> and the other one is <body background="http://www.shattered-rage.envy.nu/brushbkground.jpg" bgproperties="fixed"> With my previous layout, the background color worked, and the one before that the background image worked. Here's what the other people told me. Maybe someone could tell me what I can do to fix it?

They said: You have errors in your javascript code. When your page is coded all correctly it will work. You have many pieces of the page loading on top of each other. I'm sorry, but we do not offer support for coding issues.


I would be really grateful if someone could help me with this. My site is http://www.shattered-rage.envy.nu
Thank you very much! :)

salomeyasobko
04-23-2004, 07:15 AM
you can use CSS, it's a lot easier :lol: put this after your <head> tag:

<style type="text/css"> body {background-color: #FFFFFF; background-image: url(http://www.shattered-rage.envy.nu/brushbkground.jpg); background-attachment: fixed; background-repeat: no-repeat; }</style>

edit the bold part. that should work! :)

pb&j
04-23-2004, 02:18 PM
if you are wanting both the color and background image, both properties would go into the same BODY tag...
<body bgcolor="COLORHERE" background="http://www.shattered-rage.envy.nu/brushbkground.jpg" bgproperties="fixed">
you should delete the lonly little <body> tag currently in your coding. you already have an opening one (the one with your image in it already). any page should have only one set of BODY tags.
the other thing to note is that there is no such html tag called bgcolor. it is part of the opening BODY tag as seen in my example.

as the previous poster suggested, you may move into using css coding when you are ready to take your webpage to the "next level higher".

roxygurl228
04-24-2004, 05:40 AM
Thanks alot to both! I'll try that! :)

roxygurl228
04-24-2004, 05:50 AM
I tried it and it still didn't work. Maybe it's just my server or something. I don't know. Thanks for the help anyways.
It's always worked the way I had it before, with <body background="URL HERE">

salomeyasobko
04-24-2004, 05:51 AM
which one didn't work? mine or pb&j's?

pb&j
04-24-2004, 05:56 AM
1. in your external style sheet page, take out the <style> and </style> and <!-- comment --> tags.

2. in your external style sheet page at the end you have this...
body{background:white}
which is probably over-riding everything and just creating the white background.

roxygurl228
04-25-2004, 07:37 AM
To Salomeyasobko: Both of them didn't work.
To pb&j:I did what you said for the second external style sheet thing about the end, but am not sure what you mean about the first one to take off the <style> </style> tags, and the comment thing. Sorry! I feel so stupid right now. :-(

pb&j
04-25-2004, 02:23 PM
this is your current style sheet...

<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color:#18b5ad;
scrollbar-highlight-color:white;
scrollbar-3dlight-color:white;
scrollbar-darkshadow-color:white;
scrollbar-shadow-color:white;
scrollbar-arrow-color:#1479b0;
scrollbar-track-color:#f3fa75;
}
-->
img, iframe {height:px; width:px}
font, td, p, i, xmp, u{font-family:tahoma;font-size:8pt;color:black;line-height:9pt;font-weight:normal;font-style:normal;}
b{color:#c1ec76; font-size:8pt;} BODY
A:LINK { color:#e6e378;text-decoration:none; font-size: 8pt;}
A:VISITED { color:#1bbe8a;text-decoration:none; font-size: 8pt;}
A:HOVER {color:black;text-decoration:none;cursor: crosshair; position:relative; top:1;filter:dropshadow(color=#52adb5,offX=1,offY= 1); height:14pt;}}input,textarea
{font-family:tahoma;font-size:8pt;
color:black;
background-color:white;
border:black}
body{background:white}
</style>

This is a corrected version of it...
BODY {
scrollbar-face-color:#18b5ad;
scrollbar-highlight-color:white;
scrollbar-3dlight-color:white;
scrollbar-darkshadow-color:white;
scrollbar-shadow-color:white;
scrollbar-arrow-color:#1479b0;
scrollbar-track-color:#f3fa75;
}
font, td, p, i, xmp, u
{font-family:tahoma;font-size:8pt;color:black;line-height:9pt;font-weight:normal;font-style:normal;}
b{color:#c1ec76; font-size:8pt;}
A:LINK { color:#e6e378;text-decoration:none; font-size: 8pt;}
A:VISITED { color:#1bbe8a;text-decoration:none; font-size: 8pt;}
A:HOVER {color:black;text-decoration:none;cursor: crosshair; position:relative; top:1;filter:dropshadow(color=#52adb5,offX=1,offY= 1); height:14pt;}
input,textarea
{font-family:tahoma;font-size:8pt;
color:black;
background-color:white;
border:black}

try replacing your current coding with the corrected one and see if that clears things up a bit. (it fixed an extra bracket too.)

you will have to adjust a couple of the words in the posted coding lines. this forum sometimes enters spa ces for s ome re ason.

roxygurl228
04-26-2004, 04:31 AM
:bow: Thank you sooo much! That worked!!! :bow:

pb&j
04-26-2004, 04:36 AM
glad it finally worked for ya :D