Mostrando postagens com marcador css. Mostrar todas as postagens
Mostrando postagens com marcador css. Mostrar todas as postagens

quarta-feira, 15 de outubro de 2014

trocando texto com css

<html>
<head><title>trocando texto html</title>
<style>
button {
  position: absolute;
  visibility: hidden;
}

button:before {
  content: "novo texto";
  visibility: visible;
}
</style>
</head>
<body>
<button>texto original</button>
</body>
</html>


Fonte: http://stackoverflow.com/questions/7896402/how-can-i-replace-text-through-css

terça-feira, 15 de janeiro de 2013

Alinhamento Vertical dentro de uma div



< ?xml version="1.0" encoding="iso-8859-1"? >
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
< html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt" lang="pt" >
< head >
< title >Vertical Align< /title >
< style type="text/css" >
< !--
#main {
display: table;
}
#row {
display: table-row;
}
#cell {
float: none;
display: table-cell;
vertical-align: middle;
background-color: #CCCC00;
height: 200px;

}
-- >
< /style >
< /head >

< body >
< div id="main" >
  < div id="rows" >
         < div id="cell" >ok< /div >
  < /div >
< /div >
< /body >
< /html >

Fonte: http://forum.imasters.com.br/topic/132304-tableless-alinhamento-vertical-o-mito/