Active
Project:
Inline
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2007 at 09:26 UTC
Updated:
12 Aug 2009 at 03:12 UTC
Jump to comment: Most recent
Currently, there is only one class "inline-images" that I can code against in my style.css. Actually, it would be nice if I can specify say [inline2:] in the article to denote for an inline2-images class at the html output so that I can choose between styles (basically float:left of float:right) for the different images in the same article.
Cheers,
P.
Comments
Comment #1
mine@subnet142.com commentedSorry, it seems that I wrote terribly in my last message. Re-phrase:
Currently,
inlineassociates one css class.inlineto the image element. Can this be made multiple, and selectable by tags in the article such as [inline1:...] [inline2:...] etc?Many thks,
Peter.
Comment #2
catchI'd be interested in this.
Ideally:
class="inline inline-n custom"
That would allow for automatic styling of inline images depending on their order, and for manually applying classes - something like [inline:1 class=custom] or [inline:1 custom]
Comment #3
sunAs long as the new Inline filter syntax has not been implemented this won't be possible. All we might implement for now is an additional odd/even class for each image, that would basically allow alternating aligns through stylesheets based on the classes
inline-oddand
inline-even. Those could be injected additionally and automatically, without generating upgrading issues for existing users.
I don't think that another class with a counter, e.g.
inline-#, would be helpful in any way. If a site design is dealing that special with images, one should go with CCK imagefields or something else instead.
Comment #4
catchinline-odd inline-even sounds great, shoulda thought of that.
thanks for link to inline syntax. Looks interesting.
Comment #5
sunBetter title.
#218161: inline-even and inline-odd css classes for images has been marked as duplicate of this issue.
Comment #6
lolandese commentedSee https://drupal.org/project/autofloat.