4. Criar os Arquivos Crie um arquivo Index HTML; Crie um arquivo estilo.css;
5. Declaração HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <htmlxmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > <head> <title>Exercícios CSS Design</title> <link href="estilo.css" rel="stylesheet" type="text/css" /> </head> <body> </body> </html>
6. Declaração HTML <body> <div id="site"> <!--Inicia conteúdo Site--> <div id="ajuda"><!--Div de Apoio --> </div> <!--Finaliza a div site --> </body> </html>
7. Declaração CSS body { background: #ccc; font: normal 10px Verdana, Arial, sans-serif; color: #666; margin: 15px; text-align: center;} /* estilo do site */ #site { position: relative; width: 720px !important; background: #fffurl(fundo.gif) repeat-y; border: 15px solid #fff; margin: 0 auto; padding: 0; text-align: left; /* For IE, seeabove*/}