kid turned bird Posted January 20, 2006 Share Posted January 20, 2006 hi, i've run into a problem loading a background/wallpaper for the web site i'm buildin'. I'm really new to this, and i'm using taco html edit, what i've tried doing is:<html> <head> <title></title> </head> <body><body bacground="imgp0048.jpg"> </body></html>but the browser is ignoring the background image that i specify. Is this a routing issue? Do i need to specify more info re the location of the image, also any info on the advantages of xhtml or different edits to taco are most welcome, thx kidturnedbird Link to comment Share on other sites More sharing options...
ColMatrix Posted January 20, 2006 Share Posted January 20, 2006 Hi I noticed you made a spelling error (wether on forum or as part of code, if you made same mistake in code it will not work, just getting obvious out of way first )The code you are looking for should look something like this: <body background="imgp0048.jpg" /> Also if you have the image file within a folder you need to specify that folder aswell such as... <body background="images/imgp0048.jpg" /> the 'images/' being the folder (which in your Hard Drive the img file is contained) You also need to close the <img> tag.To find the advantages and difference between XHTML follow this link:W3Schools XHTML IntroductionAny more questions let us knowRegards Col Link to comment Share on other sites More sharing options...
johneva Posted January 20, 2006 Share Posted January 20, 2006 Also you have two opening body tags. Link to comment Share on other sites More sharing options...
kid turned bird Posted January 23, 2006 Author Share Posted January 23, 2006 thanks col and john eva...i'm still having the same probs.....do i have to fill in all of the other fields or should the background image load regardless? I mean, is doing the background the first thing or the last thing that I do? Is there an order? Link to comment Share on other sites More sharing options...
kid turned bird Posted January 23, 2006 Author Share Posted January 23, 2006 thanks col and john eva...i'm still having the same probs.....do i have to fill in all of the other fields or should the background image load regardless? I mean, is doing the background the first thing or the last thing that I do? Is there an order? Link to comment Share on other sites More sharing options...
Mimika Posted January 23, 2006 Share Posted January 23, 2006 there is no order about makeing a background just make sure that you dont break's any copy right laws. Link to comment Share on other sites More sharing options...
johneva Posted January 23, 2006 Share Posted January 23, 2006 Right you have put the right image name in?Your using the right code so it can only be that your refering to an imge that is not there.Make sure you have it in the place you are refering to and make sure the name is correct.Is it local or on a server?If it is on a server have you uploaded the image? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now