Raphael Posted September 11, 2015 Report Share Posted September 11, 2015 Hi. I need help to add a box on my phpvms. I want to add a white background behind this informations What sould I chang the code? THX Quote Link to comment Share on other sites More sharing options...
Tameem Posted September 13, 2015 Report Share Posted September 13, 2015 it's css work. all what you need to do is to style the div. for example: CSS: body{ margin:0; padding:0; background-color:#ccc; } .content{ width:400px; padding:50px; text-align:center; margin:10px auto 10px auto; background-color:#fff; border:10px solid #ddd; border-radius:10px } Html: <div class="content"> Content Content Content Content Content Content</br> Content Content Content Content Content Content</br> Content Content Content Content Content Content</br> Content Content Content Content Content Content</br> Content Content Content Content Content Content</br> Content Content Content Content Content Content</br> Content Content Content Content Content Content</br> Content Content Content Content Content Content</br> Content Content Content Content Content Content</br> Content Content Content Content Content Content</br> </div> and here is a working example:http://cssdeck.com/labs/muck3iit Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.