Text position

2 posts, 0 answers
  1. Michel
    Michel avatar
    42 posts
    Member since:
    Sep 2011

    Posted 02 Mar Link to this post

    Hi,

    Is there away when using an image to put the text below the image.

    Regards

  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    625 posts

    Posted 06 Mar Link to this post

    Hello Michel,

    The most straightforward approach would be to add a <br /> tag to the content after the image, e.g. (based on this demo):

    @(Html.Kendo().Button()
        .Name("imageButton")
        .HtmlAttributes( new {type = "button"} )
        .ImageUrl(Url.Content("~/Content/shared/icons/sports/snowboarding.png"))
        .Content("<br />Image icon"))

    I hope this helps.

    Regards,
    Dimiter Topalov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top