What is the script for the no repeat of an image background.
<body background="finished.jpg"> where does the no-repeat go or do I use that?
What is the script for the no repeat of an image background.
<body background="finished.jpg"> where does the no-repeat go or do I use that?
try searching for it, think I saw it in CSS
Don't use the background attribute.
Code:body { background-image: url(finish.jpg); background-repeat: no-repeat; }
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
when I put that in all I see in the page is the line of text. Im assuming that I did something wrong cause it should work.
Yes, you'll want to put that inside a style tag in the head; for example,Code:<head> <title>My Page</title> <style type="text/css"> body { background-image: url(finish.jpg); background-repeat: no-repeat; } </style> </head>
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
And the last question. How do you format it to the center of the page? Thanks for the help, JF
Code:body { background-image: url(finish.jpg); background-repeat: no-repeat; background-position: center; }
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks