Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/10/2009, 12:26
kseso?
Colaborador
 
Fecha de Ingreso: junio-2007
Mensajes: 5.798
Antigüedad: 16 años, 10 meses
Puntos: 539
Respuesta: Titulo con efecto solapa

el html
Código html:
Ver original
  1. <div class="post-title">
  2.                         <h2><a title="Brothers Streep" rel="bookmark" href="http://www.markforrester.co.za/2009/10/11/brothers-streep/">Brothers Streep</a></h2>
  3.                         <span class="postfold"> </span>
  4.                     </div>
y el css
Código css:
Ver original
  1. #main .post-title, #main .page-title, #main .comments-title {
  2. background-color:#98BDC6;
  3. border:1px solid #6E8D94;
  4. display:inline;
  5. float:left;
  6. margin:0 30px 0 -21px;
  7. padding:12px 25px;
  8. position:relative;
  9. }
  10. #main .post-title h2 {
  11. display:inline;
  12. font-size:24px;
  13. padding:0;
  14. text-shadow:1px 1px 1px #7D9DA5;
  15. }
  16. #main span.postfold {
  17. background:transparent url(images/post_fold.png) no-repeat scroll center center;
  18. bottom:-15px;
  19. display:block;
  20. height:15px;
  21. left:0;
  22. position:absolute;
  23. width:20px;

como verás sólo utiliza una pequeña imagen para simular la sombra con el span.

Un saludo

Edito:

leñes!!! padiez!!! cuán rápido andáis vos!!!
__________________
Por una web con mucho estilo
+++ CUENTA ABANDONADA. ¿la quieres? +++