Image Resolution for Html Background
2 posters
Page 1 of 1
Image Resolution for Html Background
I want to create an html page and to put to the background an image.
What is the proper resolution for the image to fit EXACTLY in the page, because, i tried many times and the image was tiled or too big!!!!
What is the proper resolution for the image to fit EXACTLY in the page, because, i tried many times and the image was tiled or too big!!!!
GuaranaRT- Forumember
- Posts : 54
Reputation : 0
Language : English
Re: Image Resolution for Html Background
Add this:
- Code:
<style>
body{
background-image: url(IMAGE_LINK);
}
</style>
Guest- Guest
GuaranaRT- Forumember
- Posts : 54
Reputation : 0
Language : English
Re: Image Resolution for Html Background
GuaranaRT wrote:It is still like that
http://www.harryworld.org/h133-page
How can i put it exactly on window?
Put what on a window where?
I don't see any background image it's a black background.
So i am not sure what image you mean.
here is another code from rorno you can try.
- Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title></title><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta name="author" content="rono"><meta name="description" content="fsonline mag"></head><body style="background:url(YOUR DIRECT IMAGE LINK HERE);background-attachment:fixed;"bgcolor="#" text="#" link="#" vlink="#" alink="#"><link rel="shortcut icon" href="Your cool Favicon link here"></body></html>
you can put your page title in between the title tags, change from fixed image or scroll, or add any colors you want for links etc by adding the color number after the # number sign
"# number here" text="#number here" link="#number here" vlink="#number here" alink="#number here"
I removed the color so it would just be default colors, So if you have a dark back ground be sure to at least change the text color to something you can see.
Other then that please explain more.
Coddy wrote:Add this:
- Code:
<style>
body{
background-image: url(IMAGE_LINK);
}
</style>
this is always a good way to
I don't have time to check right now but am pretty sure if you use style tags like this,
the code would have to be added in the head section of the html? i think??
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum