Viewing 4 replies - 1 through 4 (of 4 total)
  • Dave

    (@dvaer)

    We’re doing that on our blog. See for example this post.

    But we do use float:left. Out of curiosity, why wouldn’t you want to use that?

    An alternative might be to use display:inline, in combination with specifying the widths of the elements involved.

    Hope this helps.

    Thread Starter holliej0

    (@holliej0)

    I want it all to be centered in the browser window so that’s why I can’t use float:left.

    Thread Starter holliej0

    (@holliej0)

    The display:inline with widths isn’t working. Any other ideas?

    mc_gabe

    (@mc_gabe)

    Hey holliej0,

    In this case, you may want to actually try display:inline-block rather than display:inline. Using that and text-align: center; around it should help. Additionally, if the issue persists, we’d be happy to take a look at your actual page via a link if you have code in place but not quite exactly as you want it.

    -Gabe

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘subheader, all fields, and subscribe all on one line’ is closed to new replies.