Why can't i use background in CSS?
Page 1 of 1
Why can't i use background in CSS?
My forum link : http://khoahoctunhien.2forum.biz
And this is my CSS :
But it doesn't show the background.
I have to put image into Pics Managements, and it showed!
Can you resolved this ?
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 ?
exterminator- Forumember
- Posts : 106
Reputation : 4
Language : English, Japanese, Vietnamese, HTML, Javascript, C, C++, C#, VB.Net
Location : Hochiminh City - Vietnam
Re: Why can't i use background in CSS?
Try this:
- Code:
body {
background-image: url('http://images.dailyinfo.vn/archive/photo/fashion/201009/20100908/08561056bg.jpg');
background-attachment: fixed;}
Guest- Guest
Re: Why can't i use background in CSS?
Doesn't work too.
Yesterday it's just fine, but today it drive me crazy!
Help!
Is it any updates of FM?
Yesterday it's just fine, but today it drive me crazy!
Help!
Is it any updates of FM?
exterminator- Forumember
- Posts : 106
Reputation : 4
Language : English, Japanese, Vietnamese, HTML, Javascript, C, C++, C#, VB.Net
Location : Hochiminh City - Vietnam
Re: Why can't i use background in CSS?
Find this "http://images.dailyinfo.vn/archive/photo/fashion/201009/20100908/08561056bg.jpg" in the css and change it . use CTRL + F
Guest- Guest
Re: Why can't i use background in CSS?
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.
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
- Posts : 106
Reputation : 4
Language : English, Japanese, Vietnamese, HTML, Javascript, C, C++, C#, VB.Net
Location : Hochiminh City - Vietnam
Re: Why can't i use background in CSS?
Relax buddy ..
try this
and delete it from the pics managements.
try this
- 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.
Guest- Guest
Re: Why can't i use background in CSS?
Oh!
I try to delete all templates and CSS, then paste all again, now it's back to normal , thanks buddy!
Topic close, please .
I try to delete all templates and CSS, then paste all again, now it's back to normal , thanks buddy!
Topic close, please .
exterminator- Forumember
- Posts : 106
Reputation : 4
Language : English, Japanese, Vietnamese, HTML, Javascript, C, C++, C#, VB.Net
Location : Hochiminh City - Vietnam
Re: Why can't i use background in CSS?
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.
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
Re: Why can't i use background in CSS?
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?
I must cut out, save it, and paste it in again, than save again, then it worked!
Some staff know about this?
exterminator- Forumember
- Posts : 106
Reputation : 4
Language : English, Japanese, Vietnamese, HTML, Javascript, C, C++, C#, VB.Net
Location : Hochiminh City - Vietnam
Re: Why can't i use background in CSS?
The problem affects more than just user-supplied CSS, it affects Hitskin themes as well.
This could get interesting!
This could get interesting!
Guest- Guest
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum