Results 1 to 3 of 3

Thread: how to achieve img txt img beside

  1. #1
    Sencha User
    Join Date
    May 2017
    Posts
    39
    Answers
    9

    Default how to achieve img txt img beside

    follow the code I'm struggling in sencha touch

    Code:
    <div style=";border-bottom:1px solid #ccc; display:flex;" >
    
    
    <div style='width:42px'>
    <div style=' background-image:url(http://res.cloudinary.com/hy2jntlyv/image/upload/v1504840792/tpehlagpoyrz9lawuoij.jpg); vertical-align: middle;width: 42px; height: 42px; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-repeat:no-repeat; background-position: 50%; border-radius: 50%;'></div>
    </div>
    
    
    <div style='margin-right: auto;vertical-align:top;padding-left:15px;padding-right:5px;' >
    <div> xxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx</div>
    </div>
    
    
    <div style='width:42px;'>
    <img src="http://res.cloudinary.com/hy2jntlyv/video/upload/v1505175278/fullqm7jc1eftisgt9cn.jpg" style='vertical-align: middle; width: 42px; height: 42px; float:right; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-repeat:no-repeat; background-position: 50%; '>
    </div>
    </div>

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Where's your Touch code so far?

  3. #3
    Sencha User
    Join Date
    May 2017
    Posts
    39
    Answers
    9

    Default

    it's a template. already fixed it btw. tks

Similar Threads

  1. How do I achieve CheckBoxGroup in GXT 3.0?
    By ramgovind in forum Sencha GXT Discussion
    Replies: 3
    Last Post: 13 Feb 2013, 6:05 PM
  2. Can achieve such a pie chart like this?
    By Renita in forum Ext: Q&A
    Replies: 1
    Last Post: 26 Dec 2012, 12:14 PM
  3. Do we have the chance to achieve the 4.1.2
    By terrycursh in forum Ext: Q&A
    Replies: 5
    Last Post: 15 Oct 2012, 12:13 AM
  4. How to achieve this effect?
    By crazyboyliuyi in forum Sencha Touch 2.x: Q&A
    Replies: 4
    Last Post: 10 Jul 2012, 7:01 PM
  5. How to achieve like this?
    By wanghq in forum Ext 2.x: Help & Discussion
    Replies: 12
    Last Post: 22 Jul 2010, 6:52 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •