The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

CSS Error?

View previous topic View next topic Go down

CSS Error?

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

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

Rocket471
New Member

Posts : 3
Reputation : 0
Language : English

Back to top Go down

Re: CSS Error?

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

What code do you add?

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Re: CSS Error?

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

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

ive tried several others but mainly this one.

Rocket471
New Member

Posts : 3
Reputation : 0
Language : English

Back to top Go down

Re: CSS Error?

Post by Rok on 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
Energetic

Male Posts : 6823
Reputation : 232
Language : idk

Back to top Go down

Re: CSS Error?

Post by kirk on 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
Forumaster

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

Back to top Go down

Re: CSS Error?

Post by squadzleader on 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?

squadzleader
New Member

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

http://ssteamhacker.forumotion.com/

Back to top Go down

Re: CSS Error?

Post by kirk on 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
Forumaster

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

Back to top Go down

Re: CSS Error?

Post by squadzleader on 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%;
}

squadzleader
New Member

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

http://ssteamhacker.forumotion.com/

Back to top Go down

Re: CSS Error?

Post by Rocket471 on 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.

Rocket471
New Member

Posts : 3
Reputation : 0
Language : English

Back to top Go down

View previous topic View next topic Back to top


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