Hola
Creacion del codigo CSS para una pagina web utilizando NetBeans
Vamos a crear el estilo de nuestro sitio web. Lo primero para ello es seleccionar la carpeta raiz denuestro proyecto y hacer click derecho; vamos a new -> Cascading Style Sheet.
[pic]
Luego nos aparece la siguiente ventana donde colocamos el nomre de nuestro estilo en este caso es "estilo".[pic]
Lo siguiente que de bemos hacer es pegar el siguiente codigo en el archivo "estilo.css", este codigo es un RESET.
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6,p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background:transparent;
}
body {
font-size:13px;
line-height: 1.4;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
/* remember to highlight inserts somehow! */
ins{
text-decoration: none;
}
del {
text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}/*CLASES*/
.clear {
clear:both;}
.l.img {
margin:10px;
float:left;}
.r.img {
margin:10px;
float:right;}
.alpha {
margin-left:0px;}
.omega {
margin-right:0px;}
/*HTML*/
ul,ol {
list-style:none;}
a:link {
color:#f33;
text-decoration:none;}
a:visited {
text-decoration:none;
color:#f33;}
a:hover {
text-decoration:underline;
color:#f33;}
a:active {...
Regístrate para leer el documento completo.