Jump to content

Please help with <body background> question!


kid turned bird

Recommended Posts

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

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

Also you have two opening body tags.

Link to comment
Share on other sites

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...