Hello everyone, I have been trying to make a box with an inline style (see the picture below). I have been searching for the answer for two days now... and I know someone out there know the answer. That's why I am asking you here on DP. If you find any useful links, please show me, since I really need help with this! ^ This is the box style I want to create. Thanks, Filip
If I understood you correctly, it is that what you wanted: <html> <head> <title>Box</title> <style> #box{ width: 150px; height: 150px; padding: 20px; background: #8C0000; } #inline_box_border{ width: 152px; height: 152px; padding: 1px; background: #770000; } #inline_box{ width: 150px; height: 150px; background: #AA0000; border: 1px solid #D00000; } </style> </head> <body> <div id="box"> <div id="inline_box_border"> <div id="inline_box"> </div> </div> </div> </body> </html> Code (markup):