Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Inline Buttons

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #173620
    Munchie
    Participant

    Right now I have two Buttons that are stacked,
    I would like to have them inline with each other. Here is the code for the stacked option

    .appstore-button{
    width:152px;
    height:57px;
    background:url(../images/appstore_button.png) no-repeat center top;
    display:block;
    text-indent:-999999px;
    border:none;
    outline:none;
    text-decoration:none;
    margin:0 0 0 1px;
    }

    .googleplay-button{
    width:152px;
    height:57px;
    background:url(../images/google_play.png) no-repeat center top;
    display:block;
    text-indent:-999999px;
    border:none;
    outline:none;
    text-decoration:none;
    margin:0 0 0 1px;_
    Thank you for you help

    #173624
    Genz
    Participant

    Hi Munchie!

    Without seeing the whole picture it is quite hard to help you out. But I will take a stab at it anyway. =D

    It seems as though the fix is as simple as changing the display: block; to display: inline-block; for both .appstore-button and .googleplay-button

    If this does not fix your problem, please take a look at this post and respond back.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.