Metti il margin al body e poi crei al suo interno il div fluido
css:
html:codice:body, html { margin: 10px; padding: 0; border: 0; text-align: center; } .fluido { width: 100%; background: #ff0000; }
Byecodice:<html> <head> <title>prova</title> <style type="text/css" media="all">@import "default.css";</style> </head> <body> <div class="fluido"> prova </div> </body> </html>![]()


Rispondi quotando