Forums

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

Home Forums CSS Box won't stretch from left to right. Obstacle?

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

    Hello

    I have a Web page here: http://www.dimadayoub.net/forgot.aspx and, when a user completes the email field, he gets an onscreen message to say an email has been sent to him. This message is generated by the following CSS:

    .resetSent {
    color: #F66;
    text-align: center;
    border: 1px solid #05C6FC;
    -webkit-border-radius: 1em;
    border-radius: 1em;
    padding: 1.5em;
    margin: 4em 10em 0 3em; /* adjust to push away from “Send” */
    display: block;
    }

    If possible, I would prefer that message to appear in the same blue-bordered box, but on one line the stretched from one side to the other, rather than being stranded on the left. I have tried to achieve this, but something is preventing it.

    Thanks for any advice.

    #251873
    Shikkediel
    Participant

    No such message is appearing when entering a random email address…

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