Diseño Web

  • righteous_trespasser
  • Scuffle
  • Genius
  • Avatar de Usuario
  • Registrado: Mar 12, 2007
  • Mensajes: 6228
  • Loc: South-Africa
  • Status: Offline

Nota Mayo 13th, 2010, 6:29 am

webdevelopment escribió:
La manera en que el código css en otros idiomas?

¿Qué quieres decir con eso? ¿Quieres usar otro idioma en su css? Si es así, no se puede.
Let's leave all our *plum* where it is and go live in the jungle ...
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Mayo 13th, 2010, 6:29 am

  • Carl
  • Beginner
  • Beginner
  • Avatar de Usuario
  • Registrado: Jul 20, 2004
  • Mensajes: 50
  • Status: Offline

Nota Mayo 13th, 2010, 4:41 pm

Puede usar otros idiomas en un archivo CSS, pero sólo si el código resultante produce un archivo CSS reales. Por ejemplo, usted puede poner código PHP en un archivo CSS para generar hojas de estilo dinámico. Pero el resultado final es un archivo CSS.

Para que esto funcione, usted tendrá que añadir. Css a la lista de ficheros que PHP proceso (por ejemplo, la aplicación AddType / x-httpd-php. Php. Css) en un htaccess. Archivo o almacén de los estilos de los archivos. Php e incluirlos de esa manera.

index.php
Código: [ Select ]
<html>
<head>
<title>Page title</title>

<?php require_once "styles.css.php";?>

</head>

<body>

Page layout goes here

</body>
</html>
  1. <html>
  2. <head>
  3. <title>Page title</title>
  4. <?php require_once "styles.css.php";?>
  5. </head>
  6. <body>
  7. Page layout goes here
  8. </body>
  9. </html>


estilos. css.php
Código: [ Select ]
<style type="text/css">
body {
  color: <?php echo $bodyColor;?>
  background: <?php echo $bodyBGStyle;?>
}

.someStyle {
  font-family: <?php echo $fontFamily;?>
}
</style>
  1. <style type="text/css">
  2. body {
  3.   color: <?php echo $bodyColor;?>
  4.   background: <?php echo $bodyBGStyle;?>
  5. }
  6. .someStyle {
  7.   font-family: <?php echo $fontFamily;?>
  8. }
  9. </style>
  • righteous_trespasser
  • Scuffle
  • Genius
  • Avatar de Usuario
  • Registrado: Mar 12, 2007
  • Mensajes: 6228
  • Loc: South-Africa
  • Status: Offline

Nota Mayo 13th, 2010, 11:36 pm

Carl Niza, pensé: "Promoción web" significaba hablado Languge. Niza uno.
Let's leave all our *plum* where it is and go live in the jungle ...
  • Carl
  • Beginner
  • Beginner
  • Avatar de Usuario
  • Registrado: Jul 20, 2004
  • Mensajes: 50
  • Status: Offline

Nota Mayo 14th, 2010, 1:43 am

Ni siquiera sé si responde a la pregunta que se hizo. ;)

Si por "otros idiomas" el PO medios hablan idiomas, entonces sí, no se puede hacer. Youre que pegado con Inglés. Pero si theyre hablando de la integración de lenguajes de scripting como PHP o JSP, entonces definitivamente se puede hacer de varias maneras diferentes.
  • Gofigure
  • Novice
  • Novice
  • No Avatar
  • Registrado: May 12, 2010
  • Mensajes: 17
  • Status: Offline

Nota Mayo 14th, 2010, 5:58 pm

Sí, no soy muy seguro de entender bien como español o chino? ¿O te refieres código como. Asp. Php?

Publicar Información

  • Total de mensajes en este tema: 5 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 84 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC