Forums

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

Home Forums CSS CSS Rounded Box help

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28065
    Danopoly
    Member

    I have a gradient rounded box with a border. The header of the box is outlined text (but won’t need to change, so I’m using a GIF). The final result should look like this: http://danspeziale.com/images/instr_step5.jpg

    I have it nearly figured out, but I can’t float the header in the proper place without it getting cut off. Can anyone assist?

    Code:




    Untitled Document

    Content


    [attachment=2]instr-header.gif[/attachment]

    #71112
    noahgelman
    Participant

    Get rid of the overflow: auto on the .cB class, that should do it.

    But I would suggest rebuilding this div entirely, it’s not semantic at all.

    #71117
    Danopoly
    Member

    Thank you! That nearly fixed it.

    Once I added the property "margin-right:14px;" to .cBw, that solved it.

    I’m also open to other improvements, if anyone has any. I realize that this is kind of clunky!

    Thanks,
    Dan

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