Comments and Stlye Sheets

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
Juergen Hubert
Regular Poster
Posts: 25
Joined: Fri Jan 01, 1999 4:00 pm
Location: Aachen, Germany

Comments and Stlye Sheets

Post by Juergen Hubert »

I have been adding comments to my comic as described in this tutorial. This has worked, but now I am trying to create a half-way decent layout for my comic using a style sheet (a css file), and I am not sure how these comments and style sheets interact. Is it even possible to distinguish the style of the file of the comic (for example, "20060427b.jpg") from the comments following it ("20060427c.jpg") with a style sheet? Or do I have to treat both files as essentially one block for the purpose of the sheet?

Any help would be greatly appreciated.

User avatar
Churusaa
Regular Poster
Posts: 228
Joined: Sat Mar 04, 2006 2:50 am
Contact:

Post by Churusaa »

While CGen treats them all as one block, there is a trick to making it work where you have separation between elements.

Create a text file describing how everything should fit in in html terms, (minus all the head/body/<html> crap) and name that as your update. That will allow you to make image-maps and separation of elements possible. If necessary, just build that section of your page, make a text file with the chunk you'll be using, and upload the text file as a comic update.

Easy Peasy!
---Churusaa
I smite thee with my mighty smiting rod of smitey-ness.
Image
Life is like pie... yeah... pie.

Juergen Hubert
Regular Poster
Posts: 25
Joined: Fri Jan 01, 1999 4:00 pm
Location: Aachen, Germany

Post by Juergen Hubert »

Thanks - that did the trick!

I'm not satisfied with my layout yet, but at least now I have enough of a grasp of the technical stuff to improve it in the future...

Rearden
Newbie
Posts: 17
Joined: Sun Apr 23, 2006 4:21 pm
Contact:

Post by Rearden »

You might also check out some of the tutorials at webmonkey.com or google 'w3c tutorial' plus whatever sort of script or code you're investigating.

w3c tutorial dual image flip, for instance, yields a particularly specific and useful tutorial on a certain javaScript function.

Are you using internal or external CSS?

Post Reply