The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

CSS Error?

5 posters

Go down

CSS Error? Empty CSS Error?

Post by Rocket471 August 9th 2010, 10:06 pm

Everytime I try to add a code to the CSS Stylesheet, it comes up with an error? Help?
avatar
Rocket471
New Member

Posts : 3
Reputation : 0
Language : English

Back to top Go down

CSS Error? Empty Re: CSS Error?

Post by Sanket August 9th 2010, 10:11 pm

What code do you add?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

CSS Error? Empty Re: CSS Error?

Post by Rocket471 August 9th 2010, 10:21 pm

Code:
body {
background : url(BACKGROUND URL HERE) repeat !important;
}

ive tried several others but mainly this one.
avatar
Rocket471
New Member

Posts : 3
Reputation : 0
Language : English

Back to top Go down

CSS Error? Empty Re: CSS Error?

Post by Rok August 9th 2010, 11:49 pm

Have you tried looking around the CSS to see if there were anymore classes the same as the body background class? If so, the extras would need to be eliminated.
Rok
Rok
Energetic

Male Posts : 6823
Reputation : 234
Language : idk

Back to top Go down

CSS Error? Empty Re: CSS Error?

Post by kirk August 10th 2010, 4:08 am

make sure you do not have two many of these { } too.
like check where you added that part of the code..

or if you like post you css here and i'll have a look.
Hopefully it's not one of those huge sheets with a zillion things in it... Crying or Very sad

witch it probably is is int it... lol
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

CSS Error? Empty Re: CSS Error?

Post by squadzleader August 10th 2010, 4:14 am

Rocket471 wrote:
Code:
body {
background : url(BACKGROUND URL HERE) repeat !important;
}

ive tried several others but mainly this one.

You trying to put the background for forum? Or what?
avatar
squadzleader
New Member

Male Posts : 15
Reputation : 0
Language : English
Location : Mars

http://ssteamhacker.forumotion.com/

Back to top Go down

CSS Error? Empty Re: CSS Error?

Post by kirk August 10th 2010, 4:24 am

squadzleader wrote:
Rocket471 wrote:
Code:
body {
background : url(BACKGROUND URL HERE) repeat !important;
}

ive tried several others but mainly this one.

You trying to put the background for forum? Or what?

thats for the body background.
i always call it the inner body background to try not to confuse people with the forums main background.. but most just go by the term body background

but i actually have a custum css code for that.

Code:
 td.row1, td.row2, td.row3, td.row3Right { opacity: .100;
                            filter: alpha(opacity=100);
                                    -moz-opacity: .100;

body

filter:alpha(opacity=99);
-moz-opacity:0.99;
-khtml-opacity: 0.99;
opacity: 0.99;
background-color: #; 
background-image: url("http://i66.servimg.com/u/f66/12/46/98/39/gold-t12.jpg");
background-attachment: ;
background-position:center;
scrollbar-face-color: #;
scrollbar-highlight-color: #;
scrollbar-shadow-color: #;
scrollbar-3dlight-color: #;
scrollbar-arrow-color: #;
scrollbar-track-color: #;
scrollbar-darkshadow-color: #;
 
  }
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

CSS Error? Empty Re: CSS Error?

Post by squadzleader August 10th 2010, 4:30 am

Try this one for the background
Code:
html {
background: #000 url("BACKGROUND URL HERE");
/* Height is 100%, so the body can be 100% */
height: 100%;
}
avatar
squadzleader
New Member

Male Posts : 15
Reputation : 0
Language : English
Location : Mars

http://ssteamhacker.forumotion.com/

Back to top Go down

CSS Error? Empty Re: CSS Error?

Post by Rocket471 August 10th 2010, 2:57 pm

okay so i looked through my css and found the place where you can change the forum background, I did that, it came up with an error, but the forum background actually did change to what I wanted this time. so i'm going to have a look through the whole thing to check for any extra brackets, etc.
avatar
Rocket471
New Member

Posts : 3
Reputation : 0
Language : English

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum