Login | Register | FAQ
Anonymous

Background wont show in any browser :(

+ Post a reply

5 posts Page 1 of 1


Background wont show in any browser :(

by TechBiteReviews » Thu Apr 26, 2012 7:07 am

Hi, the background wont appear, could you tell me what it wrong please?
Here is the css:
Code: Select all
body {
   background-color: #00B0F0;
   background-image: url(/Images/Top-Background.png);
   background-repeat: repeat-x;
   background-attachment: scroll;
   background-position: top;
   width: 100%px;
   height: 300px;
   }


EDIT: fixed :)

Thanks!

Last edited by TechBiteReviews on Thu Apr 26, 2012 11:22 am, edited 1 time in total.

User avatar

TechBiteReviews

  • Posts: 13
  • Joined: Fri Apr 20, 2012 3:52 am

Re: Background wont show in any browser :(

by TechBiteReviews » Thu Apr 26, 2012 7:15 am

I have changed where it says:
Code: Select all
   width: 100%px;


To:
Code: Select all
   width: 100%;


But it still did nothing different :(
User avatar

TechBiteReviews

  • Posts: 13
  • Joined: Fri Apr 20, 2012 3:52 am

Re: Background wont show in any browser :(

by XainPro » Thu Apr 26, 2012 12:16 pm

how you fix it i think removing the
url(/Images/Top-Background.png);
backslash / in front of url would to the magic am i right ?
if not then please share what you have done to fixed it ?
User avatar

XainPro

  • Posts: 3659
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: Background wont show in any browser :(

by TechBiteReviews » Thu Apr 26, 2012 2:11 pm

XainPro wrote:how you fix it i think removing the
url(/Images/Top-Background.png);
backslash / in front of url would to the magic am i right ?
if not then please share what you have done to fixed it ?


Hi, i did not move anything, it must of been an error with saving it lol. to fix it i did just re-enter the image address but nothing was moved or re-named to start with :)
User avatar

TechBiteReviews

  • Posts: 13
  • Joined: Fri Apr 20, 2012 3:52 am

Re: Background wont show in any browser :(

by Pechmannpatrick » Mon Apr 30, 2012 1:36 pm

hi, have you tried by placing the whole url of the image?Example:background-image:url(C:\Documents and Settings\Patrickpechmann\My Documents\My Pictures\yourfile.jpg);

Hope it helps you.

Patrick Pechmann

www.htmlearn.blospot.com
User avatar

Pechmannpatrick

  • Posts: 1
  • Joined: Mon Apr 30, 2012 1:28 pm


+ Post a reply

Page 1 of 1