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.

Why can't i use background in CSS?

Go down

Why can't i use background in CSS? Empty Why can't i use background in CSS?

Post by exterminator September 8th 2010, 2:13 pm

My forum link : http://khoahoctunhien.2forum.biz

And this is my CSS :

Code:
body
{

   background: white url(http://images.dailyinfo.vn/archive/photo/fashion/201009/20100908/08561056bg.jpg) top left fixed;
   color: #000000;
   font: 10pt Segoe UI, Verdana, Tahoma, Arial, Sans-Serif, Trebuchet MS, Georgia, Courier, Times New Roman, Serif;
   margin: 0px;
   padding: 0px;

   
}

But it doesn't show the background.

I have to put image into Pics Managements, and it showed!

Can you resolved this Sad?
exterminator
exterminator
Forumember

Male Posts : 106
Reputation : 4
Language : English, Japanese, Vietnamese, HTML, Javascript, C, C++, C#, VB.Net
Location : Hochiminh City - Vietnam

Back to top Go down

Why can't i use background in CSS? Empty Re: Why can't i use background in CSS?

Post by Guest September 8th 2010, 5:35 pm

Try this:

Code:

body {
   background-image: url('http://images.dailyinfo.vn/archive/photo/fashion/201009/20100908/08561056bg.jpg');
   background-attachment: fixed;}
avatar
Guest
Guest


Back to top Go down

Why can't i use background in CSS? Empty Re: Why can't i use background in CSS?

Post by exterminator September 8th 2010, 6:00 pm

Doesn't work too.

Yesterday it's just fine, but today it drive me crazy!

Help!

Is it any updates of FM?
exterminator
exterminator
Forumember

Male Posts : 106
Reputation : 4
Language : English, Japanese, Vietnamese, HTML, Javascript, C, C++, C#, VB.Net
Location : Hochiminh City - Vietnam

Back to top Go down

Why can't i use background in CSS? Empty Re: Why can't i use background in CSS?

Post by Guest September 8th 2010, 6:01 pm

Find this "http://images.dailyinfo.vn/archive/photo/fashion/201009/20100908/08561056bg.jpg" in the css and change it Smile. use CTRL + F Smile
avatar
Guest
Guest


Back to top Go down

Why can't i use background in CSS? Empty Re: Why can't i use background in CSS?

Post by exterminator September 8th 2010, 6:03 pm

No!

Because the CSS didn't work any more, so i put the image into pics managements. If i delete it, and use the css above, nothing happen.
exterminator
exterminator
Forumember

Male Posts : 106
Reputation : 4
Language : English, Japanese, Vietnamese, HTML, Javascript, C, C++, C#, VB.Net
Location : Hochiminh City - Vietnam

Back to top Go down

Why can't i use background in CSS? Empty Re: Why can't i use background in CSS?

Post by Guest September 8th 2010, 6:07 pm

Relax buddy Smile..

try this Smile

Code:

body {
background-color: #e5e5e5;
background-image: url("http://images.dailyinfo.vn/archive/photo/fashion/201009/20100908/08561056bg.jpg");
background-attachment: fixed;}

and delete it from the pics managements. Smile
avatar
Guest
Guest


Back to top Go down

Why can't i use background in CSS? Empty Re: Why can't i use background in CSS?

Post by exterminator September 8th 2010, 6:35 pm

Oh!

I try to delete all templates and CSS, then paste all again, now it's back to normal Very Happy, thanks buddy!

Topic close, please Smile.
exterminator
exterminator
Forumember

Male Posts : 106
Reputation : 4
Language : English, Japanese, Vietnamese, HTML, Javascript, C, C++, C#, VB.Net
Location : Hochiminh City - Vietnam

Back to top Go down

Why can't i use background in CSS? Empty Re: Why can't i use background in CSS?

Post by Guest September 8th 2010, 6:41 pm

No Problem Smile
avatar
Guest
Guest


Back to top Go down

Why can't i use background in CSS? Empty Re: Why can't i use background in CSS?

Post by Guest September 8th 2010, 7:38 pm

I wouldn't close this topic just yet.

sometime yesterday, forumotion minified the user CSS, which is a good thing since it decreases page load times and saves space on the server. The problem is that a LOT of boards have user CSS that need to be updated to work properly with the minify script.

As the person here figured out, the solution is to cut out the CSS, save a blank CSS, then paste the original CSS back and re-save. That will allow the script used by forumotion to properly minify the user CSS.
avatar
Guest
Guest


Back to top Go down

Why can't i use background in CSS? Empty Re: Why can't i use background in CSS?

Post by exterminator September 9th 2010, 10:23 am

Yeah! CSS did not auto update!

I must cut out, save it, and paste it in again, than save again, then it worked!

Some staff know about this?
exterminator
exterminator
Forumember

Male Posts : 106
Reputation : 4
Language : English, Japanese, Vietnamese, HTML, Javascript, C, C++, C#, VB.Net
Location : Hochiminh City - Vietnam

Back to top Go down

Why can't i use background in CSS? Empty Re: Why can't i use background in CSS?

Post by Guest September 9th 2010, 8:19 pm

The problem affects more than just user-supplied CSS, it affects Hitskin themes as well.

This could get interesting!
avatar
Guest
Guest


Back to top Go down

Back to top


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