ક 2011 - 2024
Enlaces locales Enlaces externos
jQuery /Mootools
<table border="0" cellspacing="0" cellpadding="0"> <colgroup> <col /><col /><col class="best" /><col /> </colgroup> <thead>{...}
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; } .ir{font: 0/0 a; text-shadow: none; color: transparent;} h1 {
background: url(img/logo.png) no-repeat center;
height: 280px;
width: 280px;
margin-left:auto;
margin-right:auto;
}
<a href="/"><h1 class="ir">texto que no se muestra</h1></a>
-webkit-appearance: none;
@font-face { font-family: 'MyFontFamily'; src: url('myfont-webfont.eot#') format('eot'), url('myfont-webfont.woff') format('woff'), url('myfont-webfont.ttf') format('truetype'), url('myfont-webfont.svg#svgFontName') format('svg'); }
background: #f1f3db url(/images/tablas/bgCelda170.gif) no-repeat left bottom; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f1f3db), to(#d8dac2)); /* Safari */ background: -moz-linear-gradient(top, #f1f3db, #d8dac2); /* Firefox */ filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f1f3db', EndColorStr='#d8dac2'); /* IE6,IE7 */ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#f1f3db', EndColorStr='#d8dac2')";/* IE8 */
a { -moz-transition-property: background-color, color; -moz-transition-duration: 0.5s; -moz-transition-timing-function: ease-out; -webkit-transition-property: background-color, color; -webkit-transition-duration: 0.5s; -o-transition-property: background-color, color; -o-transition-duration: 0.5s; background-color:#949494; } a:hover { -moz-transition-property: background-color, color; -moz-transition-duration: 0.5s; -moz-transition-timing-function: ease-out; -webkit-transition-property: background-color, color; -webkit-transition-duration: 0.5s; -o-transition-property: background-color, color; -o-transition-duration: 0.5s; background-color:#ffcc00; }
Extraido de: Diferencias
a:active { outline: none; } o simplemente a {outline: none}
NOTA: It is worth remembering that even if you do have a valid doctype, placing anything above it in the source code - even a comment - will cause Internet Explorer 6 to drop into quirks mode. If IE6 is in quirks mode, you will see that your CSS is rendered similarly to IE5.5, meaning in the same "quirky" fashion as that old browser. This doctype bug happens only in Internet Explorer 6.
Poniendo condicionales bloquea descargas.... +info
Logical vs Physical URLs
A logical URL identifies a resource.
For example, this is a logical URL: http://www.xfront.com/juicer
A physical URL identifies a particular content (MIME) type.
For example, this is a physical URL: http://www.xfront.com/juicer.html
There are multiple reasons for favoring logical URLs over physical URLs. Now we see another reason: by using logical URLs your Web site can be used as a tag space!
scripts jquery
cambiar imagen <script type="text/javascript"> <!-- $(function() { $("img.boton") .mouseover(function() { var src = $(this).attr("src").match(/[^\.]+/) + "Hover.jpg"; $(this).attr("src", src); }) .mouseout(function() { var src = $(this).attr("src").replace("Hover", ""); $(this).attr("src", src); }); }); //--> </script> comprimir PHP <?php if(!ob_start("ob_gzhandler")) ob_start(); ?> subir $('p.subir a').click(function(){ $('html, body').animate({scrollTop:0}, 'slow'); return false; }); Poner imagen favicon.ico delante del enlace externo otra alternativa más reciente -detalle: se llama a través de google- http://www.google.com/s2/u/0/favicons?domain= jQuery('article p a[href^="http://"]').filter(function(){ return this.hostname && this.hostname !== location.hostname && this.hostname !== "www.dominio.tv" && this.hostname !== "www.dominio.com" }).each(function() { var link = jQuery(this); jQuery(link).css("text-decoration","none"); var faviconURL = link.attr('href').replace(/^(http:\/\/[^\/]+).*$/, '$1')+'/favicon.ico'; var faviconIMG = jQuery('')['prependTo'](link); var extImg = new Image(); extImg.src = faviconURL; if (extImg.complete) faviconIMG.attr('src', faviconURL) ; else extImg.onload = function() { faviconIMG.attr('src', faviconURL); faviconIMG.toggle() }; });
Pie FIJO, + info
cosas sobre diseño web; pruebas de... estravagancia 2024.