+1-888-365-2779
Try Now
More in this section

Forums / Designing with Sitefinity / floating image in list item

floating image in list item

2 posts, 0 answered
  1. Roy
    Roy avatar
    28 posts
    Registered:
    20 Jan 2009
    27 Oct 2009
    Link to this post
    Hello, 

    I'm using an expandle list . The content of the listitem iis an ul list with a few li items. At the moment it looks like this.

    <ul>
    <li>Sample 1</li>
    <li>Sample 2</li>
    </ul>
    <img src='...etc......' />

    I would like the image to float to the right of the li elements. I tried different CSS settings but the image is always below or above the text. I'm using SF 3.5 

    Is there a way to get this done? 

    Kind regards,

    Roy
  2. Katia
    Katia avatar
    194 posts
    Registered:
    01 Jul 2016
    29 Oct 2009
    Link to this post
    Hi Roy,

    The easiest way to do that is to put the image above the list and then float it to the right.

    <img src='...etc......' style='float: right; ' />
    <ul>
        <li>Sample 1</li>
        <li>Sample 2</li>
    </ul>


    Let us know if you need further help.

    Greetings,
    Katia
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered