jQWidgets Forums

jQuery UI Widgets Forums Grid span vs div

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 13 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    span vs div Posts
  • span vs div #4888

    jmarais
    Participant

    I assume it would not be possible to use a instead of the

    tags in the widgets? There are situations where I want some widgets, like 2 or 3 dropdown lists to appear in one line instead of each one been displayed in block format.

    I know that you can use css to do it, i.e using inline or inline-block but that is not strictly valid html code.

    span vs div #4889

    Peter Stoev
    Keymaster

    Hi jmarais,

    The widgets are initialized with DIVs. If you want to display multiple DIVs in one row, you can set the CSS ‘float’ property to left or right. Another solution is to have a table with columns and place the DIVs in the table’s cells. You can take a look here: http://www.w3schools.com/html/html_layout.asp and http://www.w3schools.com/css/css_float.asp.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.