Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #573459

    Hello! I need some help using a css to make the buttons appear next to one another rather than on top of each other, I was unsuccessful with my attempts.

    This is the code I have in a single code block:

    `<div align=”left”>PARTICIPATION</div><div align=”left”>RESULTS</div>

    Thank you!

    #574280

    Hey peanuttario,

    Add this to your div’s:

    style="display: inline-block;"
    

    Regards,
    Rikard

    #574289

    I’m not sure where to put it. I’ve tried adding it into the code block, between the divs and with it’s own divs but I can’t get it to work. Can you tell me exactly how and where to insert that line?

    #575226

    Try it like this:

    <div style="display: inline-block;">PARTICIPATION</div><div style="display: inline-block;">RESULTS</div>
    

    Best regards,
    Josue

    #575653

    got it to work. Thanks guys :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘display html buttons inline’ is closed to new replies.