How do I add a backround?

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
User avatar
Mlaatem_Popcorn
Regular Poster
Posts: 27
Joined: Sat Feb 26, 2005 5:53 pm
Location: Somewhere very wet and rainy in the USA.
Contact:

How do I add a backround?

Post by Mlaatem_Popcorn »

Hi all.
I have a webcomic (well no kidding..) and I know how to update and all that, but I read the instructions for keentaging, and I'm still like... "Hu?" on the how-to of getting a Background up for the site. I can't figure out how to upload it. Does anyone have a code or a special name I have to give the template file to upload it? Help would really be appriciated.
"Now That's comedy!"-Slappy the squirrel

User avatar
Faub
The Establishment (Moderator)
The Establishment (Moderator)
Posts: 3698
Joined: Tue May 20, 2003 2:53 pm
Location: Missouri, USA
Contact:

Post by Faub »

The background as in the HTML background? Just use HTML code for anything that isn't a keentag thing.

<body style="background:url(/images/background.jpg);">

User avatar
LibertyCabbage
Cartoon Hero
Posts: 4665
Joined: Tue Jan 25, 2005 4:08 pm
Location: bat country
Contact:

Post by LibertyCabbage »

also if you want it to be a colour you can do <body bgcolor="#XXXXXX"> where the X's are the code for the colour. You can also use the name for simple colours (i.e. <body bgcolor="black">

you can also use <body background="image.jpg"> where image is the URL of the picture.
ImageImage
"Seems like the only comics that would be good to this person are super action crazy lines, mega poses!"

User avatar
Mlaatem_Popcorn
Regular Poster
Posts: 27
Joined: Sat Feb 26, 2005 5:53 pm
Location: Somewhere very wet and rainy in the USA.
Contact:

Post by Mlaatem_Popcorn »

Thanks, guys! But...Um, which sub-folder in workspace do I drop the code into? and how? then do I run a manual update?
"Now That's comedy!"-Slappy the squirrel

User avatar
KittyKatBlack
Cartoon Villain
Posts: 3182
Joined: Tue Dec 23, 2003 7:56 pm
Location: How the hell should I know? I just live here...
Contact:

Post by KittyKatBlack »

mlaatem_Popcorn wrote:Thanks, guys! But...Um, which sub-folder in workspace do I drop the code into? and how? then do I run a manual update?
Basicly, in the indextemplate.html file (And dailytemplate.html, if you want your archives to have the same background) look for the line of code that says:

Code: Select all

<div class ="main">
You can add in the background code that the others discribed under this line. Then run a manual update. The image itself should be in your 'images' folder, and the URL for the image in the tag should be something like "/images/background.gif" (Or whatever the filename of your background image is.) After it's updated, it should be there.

User avatar
Mlaatem_Popcorn
Regular Poster
Posts: 27
Joined: Sat Feb 26, 2005 5:53 pm
Location: Somewhere very wet and rainy in the USA.
Contact:

Post by Mlaatem_Popcorn »

wow! thanks so much, you guys have been a great help!
(Goes of to put up her background)
"Now That's comedy!"-Slappy the squirrel

User avatar
Mlaatem_Popcorn
Regular Poster
Posts: 27
Joined: Sat Feb 26, 2005 5:53 pm
Location: Somewhere very wet and rainy in the USA.
Contact:

Post by Mlaatem_Popcorn »

... :oops: sorry to bother you guys again...but which kind of update do I run?
"Now That's comedy!"-Slappy the squirrel

User avatar
Rianeva
Regular Poster
Posts: 616
Joined: Tue Mar 01, 2005 8:31 pm
Location: Seattle
Contact:

Post by Rianeva »

The regular update should do it.

Post Reply