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.

Why can't i use background in CSS?

View previous topic View next topic Go down

Why can't i use background in CSS?

Post by exterminator on 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
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

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

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

Guest
Guest


Back to top Go down

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

Post by exterminator on 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
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

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

Post by Guest on 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

Guest
Guest


Back to top Go down

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

Post by exterminator on 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
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

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

Post by Guest on 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

Guest
Guest


Back to top Go down

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

Post by exterminator on 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
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

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

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

No Problem Smile

Guest
Guest


Back to top Go down

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

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

Guest
Guest


Back to top Go down

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

Post by exterminator on 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
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

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

Post by Guest on 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!

Guest
Guest


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