WeLoveCSS (http://welovecss.com/index.php)
-   CSS (http://welovecss.com/forumdisplay.php?f=5)
-   -   Position of bordered coloured box (http://welovecss.com/showthread.php?t=9531)

Blueie 24th February 17 02:43 AM

Position of bordered coloured box

I have a Web page here: www.dimadayoub.net/forgot.aspx and, when a user completes the email field, he see the following:


This 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.

All times are GMT. The time now is 04:05 AM.

Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.