Jana (
jana) wrote in
style_system2013-01-01 04:54 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Entry tags:
Icons in entries and comments
In Tabula Rasa you can choose, via the wizard, the place of icons in entries and comments (left or right). So far so good. But how do you target a left-placed (or right-placed) icon with css? If I say, for instance, .entry .userpic {float: left;}, the icon will always be placed on the left side, no matter what you specify in the wizard.
I'm working on a layout/style and I'd like to style a left-placed icon somewhat different from a right-placed icon, depending on what people prefer. Plus I'd like the entry text to wrap around the icon which is easily done with 'float: left' and 'float: right'.
Any help would be appreciated.
I'm working on a layout/style and I'd like to style a left-placed icon somewhat different from a right-placed icon, depending on what people prefer. Plus I'd like the entry text to wrap around the icon which is easily done with 'float: left' and 'float: right'.
Any help would be appreciated.
no subject
I'd do this with S2.
no subject
I try not to use S2 at this point because I want to make a style completely based on css so people don't have to create a theme layer. I'm taking baby steps here ;-), but when/if I decide to submit one of my styles as an official style, then S2 is definitely the way to go.
no subject
Specifying class names and making them change is something you can only do with S2. What we did with metadata was create an option then say if option is A then put metatdata here and use these CSS classes, and if option is B put metadata there and use these other classes.