martes, 18 de octubre de 2011

centrar un div

<style type="text/css">


body
{
text-align: center;
}


.contenedor
{
position: relative;
width : 780px;
height: 500px;
margin : 0px auto;
padding: 0px;
text-align: left;
background-color:#00ff00;

}

.nombreProducto
{
position: absolute;
top: 100px;
left: 100px;


width : 80px;
height: 50px;

background-color:#EDEDED;
}

</style>

<body>

<div class="contenedor">

    <div class="nombreProducto">
    hola
    </div>

</div>

</body>

lunes, 3 de octubre de 2011

convertir de texto a codigo html

http://word2cleanhtml.com/

.

enlace hiperenlace sin subrayar ni color

a.hiperEnlace1:link, a.hiperEnlace1:visited, a.hiperEnlace1:hover
{
color: #000000;
text-decoration:none;
}

//*****

<a href="" class="hiperEnlace1">pincha aqui</a>