Center text and image in title.

Center text and image in title.

classic12classic12 Posts: 228Questions: 60Answers: 4
edited April 2018 in General

Hy

I have the following:

  columns: [
                      {
                          data: "anims",
                          title : ' <img src = "http://mydubaidream.com/imageAssets/swirl.png"  > <b>This text is bold</b>  ',
                          width : '150px',
                          render: function(data, type, row)
              {
                   return '<img src = "http://mydubaidream.com/imageAssets/swirl.png" > ' +data.title  +data.url ;
              }
                      }
                        
              
              ]

data.url is an iframe.
How do I make the image and text central ?

ie make the image + data.title align in the centre horizontally

Cheers

Steve Warby

Answers

This discussion has been closed.