Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    Hi, I've been wondering how to do something in a table-less design that used to be very easy to do with tables. When you have two buttons or links where one is right aligned and one is left aligned but they are both on the same "line" (verticlly aligned). For example in a blog you may want a link that says "next post" and one that says "previous post" with arrows pointing right and left, the "next" is right aligned and "previous" is left aligned. I've tried doing this a number of different ways, with nested divs and floating spans, using text-align, etc. but nothing seems to work well cross browser. How would you do something like that?
  2.  permalink
    There are a number of different ways to do this. There are several on this forum site you could use for an example by looking at the code.

    You should use float: left; and float: right;
    • CommentAuthorJmz
    • CommentTimeFeb 13th 2007
     permalink
    You could align the buttons to the left inside the div then add "margin-left" to the buttton on the right.
Add your comments
    Username Password
  • Format comments as (Help)