Typepad: add class to image assets
I'm a web designer. The folks who write my blog are not. They know that images make their blog posts more interesting, but they don't know how to make them look their best.
Right now, if they add a right-aligned image, Typepad adds a 5 pixel margin to the left of the image via an inline style.
1. That's not much of a margin.
2. Inline styles make for messy code and are difficult to override.
It would be better to add a class to these images, and instead of using an inline style, add a rule to each theme's stylesheet. If it's aligned right, add a class called .right-asset to the image. If it's aligned left, call it .left-asset. That way, I can set the margins universally, the site can look great and they don't have to think about it.
Right now, if they add a right-aligned image, Typepad adds a 5 pixel margin to the left of the image via an inline style.
1. That's not much of a margin.
2. Inline styles make for messy code and are difficult to override.
It would be better to add a class to these images, and instead of using an inline style, add a rule to each theme's stylesheet. If it's aligned right, add a class called .right-asset to the image. If it's aligned left, call it .left-asset. That way, I can set the margins universally, the site can look great and they don't have to think about it.
1
person likes this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
-
Inappropriate?"I'm mustache" is my new favorite status. LOL.
I'll ask someone who's better as design-y things to weigh in on this one.
I’m upside-down-mustache.
Loading Profile...



EMPLOYEE