vendredi 1 mars 2019

CSS How do i create a right aligned log out button

Hi so on my top div it acts as a logo and has a title, I would like a logout button to be on the right-hand side of the div and text above also right aligned.

so on the left, I have a logo and on the right, I have the logout button with text on the top

<style type="text/css">
           
            .logo {
                overflow: hidden;
                text-align: left;
                position: relative;
                margin : 0px 100px ;
                height : 60px ;
                background-color: white;
                color:#1F6C8B;
                font-family: Arial;
            }
    </style>
    <html>
    <head>
   
    </head>
        <body>
         <div class="logo">
           <h1>LOGO</h1>
         </div>
        </body>
        </html>



Aucun commentaire:

Enregistrer un commentaire