Username: Password:   Forgot your password?
 
Forums
» View Categories » Coding Help & Templates » Working with CSS
Previous 30
Page of 1 Next 30

Zig
Send a private quack!
Member:2,088
Posts:27
Joined:2-24-2006
Seen:9-14-2009
Feb 27,`06 6:38am | Quote |

Hi,

I don't know how many people here are working with CSS to create their own page styles. If you are, you may have stumbled upon the same problem as I have, that is the automatically generated code doesn't contain any information that would enable us to differentiate, for example, the page's image with the avatars' images, or with the ad's image, or with the syndication's image.

My previous post lists the tags currently generated. I was wondering whether it would be a good idea for the developers behind DD to add CSS class information to most of the tags that are automatically generated.

For example, for IMG tags we would have 4 classes:

[list]
- page (for the comic picture),
- avatar (for all the avatars),
- ad (for the ads),
- rss (for the rss pic).
[/list:u]

This would enable us to create a stylesheet like:

[code:1] img.page { /* some CSS specific for the comic picture */ }
img.avatar { /* idem */ }
img.ad { /* idem */ }
img.rss { /* idem */ }
[/code:1]

And generate even more good-looking pages :-).

I can't think of any other useful classes for now... Note this is not a request for a change to the way things work, but just some random thoughts I have had this morning. All comments welcome :-).

-- Zig

 
Zig
Send a private quack!
Member:2,088
Posts:27
Joined:2-24-2006
Seen:9-14-2009
Feb 27,`06 8:23am | Quote |

This post is redundant with this one on Ideas and suggestions for the Duck!

Sorry about that...

myxo: "'tis okay, consider this topic locked!" :wink:


Previous 30
Page of 1 Next 30

 

Not Registered?
Signup for a FREE Account!


Registered users can:
Comment on comics!
Create their own comics!
Vote in polls and contests!
Use the forums!
   Latest News
   DD Cam (Now Featuring: DDBook)