css - Removing margin- html -


i trying remove margin- orange space, , move red dot up. please help? have tried using css tags- margin, padding. but, not work.

<div style="padding:0px; margin-right:0px; width: 280; font-family:arial, helvetica, sans-serif ;font-size: 40px; font-weight: bold;color:#33a8ff">  current status   </div>    <div id= "redc" style="width: 10px;        height: 10px;        -webkit-border-radius: 5px;        -moz-border-radius: 5px;        border-radius: 5px;        background: red;        margin-left: 400px        ">    </div>

enter image description here

you use display:inline-block both divs.

div {display:inline-block}


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -