0

YAP > YML > yml:image Small View

There are strong needs to align block of text to a larger image using vertical-align and float in css.

Adding attribute to yml:image?
vertical-align="top"
float="left"

Code: Layout to align image with text
<img src="images/cubelogo.jpg" alt="logo" style="vertical-align:top; float: left;" width="421" height="421"/>Hi
<yml:name uid="viewer" linked="true" capitalize="true"/>
! Would you like to make more friends? decorate your scene? We would like to invite you to do more things
</div>

by
1 Reply
  • FYI. It seems like today it is allowing css style vertical-align and float to work outside yml:image and yml:profile.

    This is allowing css to work as it is on Small View. for example:

    CODE
    <div style="vertical-align:top; float: left; padding: 0 10px 0 0;">
    <yml:profile-pic uid="viewer" width="50" linked="true" />
    </div>
    Hi <yml:name uid="viewer" linked="true" capitalize="true"/>! Would you like to make more friends? decorate your scene? We would like to invite you to do more things
    </div>


    Thank you!
    0

Recent Posts

in YAP