Aprende a editar tu xat con CSS.
Usaremos siempre los mismos código adelante del código.
Color de fondo:
Imagen de fondo:background:#FFF}
Se puede editar mientras tengamos algun fondo con color o imagen, siempre lo tendremos que usar este código al comienzo porque si no, no se leerá los demas códigos porque esta parte es solo de background.background-image: url(http://img855.imageshack.us/img855/3791/pmic.jpg)}
Hacer su Titulo en Color.
Agregar una fuente.background:#FFF}h1{color:#A0FF00;
Otras fuentes: Verdana - arial - Trebuchet MS - Helvetica - sans-serif - Times New Roman - Tahoma - Comic sans ms{font-family:Verdana}
Lo usamos con el código anterior.
Poner una imagen gif o png en el titulo de tu xat.background:#FFF}*{font-family:Comic sans ms}h1{color:#A0FF00;
{text-indent:-9999px} || Permite mover/desaparecer las letras del titulo para que no se muestre delante de tu imagen.background:#FFF}h1{background:url('http://oi58.tinypic.com/2usfps0.jpg') no-repeat 11px center}h1{text-indent:-9999px}*{cursor: url(http://oi59.tinypic.com/311tc15.jpg),auto;}
11px || Permite posicionar la imagen mas lejos del logo.
Como agregar un cursor a tu xat.
Medidas solo cursor: 50x50background:#FFF}*{cursor: url(http://oi59.tinypic.com/311tc15.jpg),auto;}
Medidas con textos: 124x60
Combinarlo con el código anterior tendremos algo como esto.
background:#FFF}h1{background:url('http://oi58.tinypic.com/2usfps0.jpg') no-repeat 11px center}h1{text-indent:-9999px}*{cursor: url(http://oi59.tinypic.com/311tc15.jpg),auto;}
Sin fondos negros atras, fondo transparente.
Fondo comun con imagen de fondo pasando los 1200 px.
Fondo editable de sus medidas.background:}*{BACKGROUND-IMAGE: url(http://img594.imageshack.us/img594/9143/59tb.jpg)}h1{background:url('http://oi58.tinypic.com/2usfps0.jpg') no-repeat 11px center}h1{text-indent:-9999px}embed{border-style:dashed;}
Las medidas Minimas para la imagen del xat es: 487x60background:}*{background-size: 100% 100%; BACKGROUND-POSITION: Center; BACKGROUND-ATTACHMENT: fixed; BACKGROUND-IMAGE: url(http://img594.imageshack.us/img594/9143/59tb.jpg)}h1{background:url('http://oi58.tinypic.com/2usfps0.jpg') no-repeat 11px center}h1{text-indent:-9999px}embed{border-style:dashed;}
Poner un fondo atras.
Con Imagen.
Con texto de color sobre el titulo.background:}*{BACKGROUND-COLOR: RED}h1{background:url('http://oi58.tinypic.com/2usfps0.jpg') no-repeat 11px center}h1{text-indent:-9999px}embed{border-style:dashed;}
background:}*{BACKGROUND-COLOR: RED}h1{color:#A0FF00;
Descripción con color.
background:}h1{color:#A0FF00;
Como tener la descripción con imagen o gif.
Para centrar o mover la imagen, ponemos en 500px en donde dice 0pxbackground:#FFF}h2{background:url('http://oi61.tinypic.com/zsqs5u.jpg') no-repeat 0px center}h2{text-indent:-9999px}FONT-SIZE: 0.8em;
Las medidas para la descripción: 420x15
Poner un color de fondo en la descripción.
background:#FFF}h2{background:RED}FONT-SIZE: 0.8em;
Titulo y descripción con imagenes.
background:#FFF}h2{background:url('http://oi61.tinypic.com/zsqs5u.jpg') no-repeat 0px center}h1{background:url('http://oi58.tinypic.com/2usfps0.jpg') no-repeat 11px center}h2{text-indent:-9999px}h1{text-indent:-9999px;
Hace el chat con bordes.
embed es el cuadro del flash donde estará el chat, para darles sombras seria la parte box-shadow y los bordes es border, los estilos de los bordes son: solid - dashed - dotted - double - groove - ridge - inset - outsetbackground:#FFF}embed{box-shadow: 0px 0px 20px green}embed{border:dashed #ff9000}embed{width: 1228px}embed{height: 500px}*{cursor: url(http://oi59.tinypic.com/311tc15.jpg),auto;}
Como cambiarle el color a la barra negra o hacerla transparente.
background:#FFF}*.btext2{background:red}embed{box-shadow: 0px 0px 0px green;}
Podemos cambiarle el color y agregar una imagen de fondo, simplemente usando, background-image.
y para que sea transparente usamos background:none.background:#FFF}*.btext2{background:url('url para la barra negra')}embed{box-shadow: 0px 0px 0px green;}
background:#FFF}*.btext2{background:none}embed{box-shadow: 0px 0px 0px green;}
Como desaparecer y eliminar las páginas debajo de tu xat.
Para achicar las medidas que suelen ser por defecto de 2000px de height le agregamos..
http://img.webme.com/pic/m/master-ne...rameheight.jpgCódigo:iframe{height:500px}
esto hará que la página de abajo tenga un largo de 200px y no de 2000 px la que viene por defecto, si solo tienes para agregar un reproductor de 200 px de alto, podes agregar al iframe una medida de 250 asi no sea muy larga el xat.
Para eliminarla, usamos
http://img.webme.com/pic/m/master-ne...isplaynone.jpgCódigo:iframe{display:none}
con este código no aparecerá las paginas de abajo, lo que aparecerá son las pestañas que suelen ser, page 1 - comments etc, para sacarla usamos.
de esta manera ya no tendremos nada debajo del xat, ahora para darle un toque de diseño, lo agregamos una imagen de fondo.Código:.vbmenu_control{display:none}
background:}iframe{height:200px}*{font-family:verdana}*{BACKGROUND-IMAGE: url(http://oi58.tinypic.com/2usfps0.jpg')}*.vbmenu_control{display:none}embed{box-shadow: 0px 0px 0px green;}
Resultados finales.
Sin fondo negro:
con fondo negrobackground:}*{BACKGROUND-IMAGE: url(http://img594.imageshack.us/img594/9143/59tb.jpg)}h2{background:url('http://oi61.tinypic.com/zsqs5u.jpg') no-repeat 0px center}h1{background:url('http://oi58.tinypic.com/2usfps0.jpg') no-repeat 11px center}h2{text-indent:-9999px}h1{text-indent:-9999px;
BACKGROUND-IMAGE: url(http://img594.imageshack.us/img594/9143/59tb.jpg)}h2{background:url('http://oi61.tinypic.com/zsqs5u.jpg') no-repeat 0px center}h1{background:url('http://oi58.tinypic.com/2usfps0.jpg') no-repeat 11px center}h2{text-indent:-9999px}h1{text-indent:-9999px;
Con cursor:
background:}*{cursor: url(http://oi59.tinypic.com/311tc15.jpg),auto;}*{BACKGROUND-IMAGE: url(http://img594.imageshack.us/img594/9143/59tb.jpg)}h2{background:url('http://oi61.tinypic.com/zsqs5u.jpg') no-repeat 0px center}h1{background:url('http://oi58.tinypic.com/2usfps0.jpg') no-repeat 11px center}h2{text-indent:-9999px}h1{text-indent:-9999px;}
Sin paginas debajo:
background:}iframe{height:500px}*.vbmenu_control{d isplay:none}*{cursor: url(http://oi59.tinypic.com/311tc15.jpg),auto;}*{BACKGROUND-IMAGE: url(http://img594.imageshack.us/img594/9143/59tb.jpg)}h2{background:url('http://oi61.tinypic.com/zsqs5u.jpg') no-repeat 0px center}h1{background:url('http://oi58.tinypic.com/2usfps0.jpg') no-repeat 11px center}h2{text-indent:-9999px}h1{text-indent:-9999px;}
Con chat grande y bordes con sombras
background:}embed{box-shadow: 0px 0px 20px green}embed{border:dashed #ff9000}embed{width: 1228px}embed{height: 500px}iframe{height:500px}*.vbmenu_control{display :none}*{cursor: url(http://oi59.tinypic.com/311tc15.jpg),auto;}{BACKGROUND-IMAGE: url(http://img594.imageshack.us/img594/9143/59tb.jpg)}h2{background:url('http://oi61.tinypic.com/zsqs5u.jpg') no-repeat 0px center}h1{background:url('http://oi58.tinypic.com/2usfps0.jpg') no-repeat 11px center}h1{text-indent:-9999px}h2{text-indent:-9999px;}
Fondo personalizado:
Se incorpora: Fondo con medidas editables si tu imagen es chica + bordes,sombras alto y ancho del chat + desaparece las pestaña de abajo del xat + fuente de texto + cursor + imagen en el titulo y descripción + medida de alto al iframe de abajo.
Con titulo y descripcion con colorbackground:}embed{box-shadow: 0px 0px 20px green}embed{border:dashed #ff9000}embed{width: 1228px}embed{height: 500px}iframe{height:500px}*.vbmenu_control{display:none}*{cursor: url(http://oi59.tinypic.com/311tc15.jpg),auto;}{background-size: 100% 100%; BACKGROUND-POSITION: Center; BACKGROUND-ATTACHMENT: fixed; BACKGROUND-IMAGE: url(http://img855.imageshack.us/img855/3791/pmic.jpg)}h2{background:url('http://oi61.tinypic.com/zsqs5u.jpg') no-repeat 0px center}h1{background:url('http://oi58.tinypic.com/2usfps0.jpg') no-repeat 11px center}h1{text-indent:-9999px}h2{text-indent:-9999px;}
Se incorpora: Fondo + bordes,sombras alto y ancho del chat + desaparece las pestaña de abajo del xat + fuente de texto + cursor.
Se edita lo que se encuentra en color y los valores de los numeros que estan en 0pxbackground:}embed{box-shadow: 0px 0px 20px green}embed{border:dashed #ff9000}embed{width: 1228px}embed{height: 500px}iframe{height:500px}*.vbmenu_control{display:none}*{font-family:Verdana}*{cursor: url(http://oi59.tinypic.com/311tc15.jpg),auto;}{background-size: 100% 100%; BACKGROUND-POSITION: Center; BACKGROUND-ATTACHMENT: fixed; BACKGROUND-IMAGE: url(http://img855.imageshack.us/img855/3791/pmic.jpg)}h1{color:#A0FF00}*{font-family:Comic sans ms}h2{color:#A0FF00;}
Pronto realizare un post donde aprenderas a usar css en tu xatspace.
Saludos.
¿Te ha sido útil este articulo? Compártelo!