hey all before anyone nags or vents me i have searched the wiki and ran a search on the bar in the top right of the screen but havnt found anything just yet.
what i want to know is how do i put an image into the background rather than just a solid colour? i have a long 'slip' for lack of a better term (basicly a long image which starts as a colour and fades to white).
how do i place that as my comic background and stretch it across the whole screen , ive managed it in my fourms and in other pograms but they have simple place and click systems...
any help would be appreciated.
note i would place the image but it is very long...
backgound image
- FullmetalKitsune
- Newbie
- Posts: 24
- Joined: Sun Oct 09, 2005 5:26 pm
- Location: The middle of nowhere, Delaware
- Contact:
Re: backgound image
Doable in CSS. (If you know how to handle stylesheets, this should be pretty easy)
All you need to do is:
body {
background: #FFF url(FILENAME OR PATH GOES HERE) repeat-x fixed top;
}
http://w3schools.com/css/pr_background.asp
:3
You could declare it in different properties, but I think that's usually the quickest way to do it.
All you need to do is:
body {
background: #FFF url(FILENAME OR PATH GOES HERE) repeat-x fixed top;
}
http://w3schools.com/css/pr_background.asp
:3
You could declare it in different properties, but I think that's usually the quickest way to do it.
- Dr Neo Lao
- Cartoon Hero
- Posts: 2397
- Joined: Wed Oct 18, 2006 5:21 am
- Location: Australia
Re: backgound image
You can also do it in basic html:
However the css way will work better since you want something that is repeated across the page, but not repeated down the page (so once it fades to white, it stays white no matter how "tall" your page gets.
There's more information here about how to use css stuffs. (The reason you didn't find anything is that all the template stuff is basic html - run searches for your question {such as "background image html" and you'll get a bunch of results} or just come here and ask. The Wiki is mainly for CG-specific stuff.)
Code: Select all
<body background="FILENAME OR PATH GOES HERE">
There's more information here about how to use css stuffs. (The reason you didn't find anything is that all the template stuff is basic html - run searches for your question {such as "background image html" and you'll get a bunch of results} or just come here and ask. The Wiki is mainly for CG-specific stuff.)