Cant quitar borde blanco alrededor de página web

  • twocent
  • Novice
  • Novice
  • No Avatar
  • Registrado: Mar 22, 2007
  • Mensajes: 18
  • Status: Offline

Nota Abril 1st, 2007, 8:46 am

Im va nueces. Tengo un gradiente que quiero se extienden a través de mi pantalla como un telón de fondo de mi página de cabecera y navbar, pero tengo este borde blanco alrededor de mi página web. He estado intentando durante dos días para eliminar este. ¿Alguien ha visto esto antes?

http://www.anewjersey.net
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Abril 1st, 2007, 8:46 am

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • Avatar de Usuario
  • Registrado: May 22, 2004
  • Mensajes: 3415
  • Loc: Richland, WA
  • Status: Offline

Nota Abril 1st, 2007, 11:24 am

sólo tiene que añadir esto a la cabecera de su página web


Código: [ Select ]
<style type="text/css">
<!--
body {
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
 margin-left: 0px
}

-->
</style>
  1. <style type="text/css">
  2. <!--
  3. body {
  4.  margin-top: 0px;
  5.  margin-right: 0px;
  6.  margin-bottom: 0px;
  7.  margin-left: 0px
  8. }
  9. -->
  10. </style>
#define NULL (::rand() % 2)
  • partyjan
  • Student
  • Student
  • No Avatar
  • Registrado: Feb 15, 2007
  • Mensajes: 69
  • Loc: Norway
  • Status: Offline

Nota Abril 1st, 2007, 11:33 am

I `m mirando a través de su código fuente y don` t encontrar nada específico que debe estar equivocado.... Pruebe el mismo sitio sin la etiqueta DOCTYPE...
  • twocent
  • Novice
  • Novice
  • No Avatar
  • Registrado: Mar 22, 2007
  • Mensajes: 18
  • Status: Offline

Nota Abril 1st, 2007, 6:04 pm

Gracias falso, funcionó. Eso me conducía nueces.
  • rlynch
  • Born
  • Born
  • No Avatar
  • Registrado: Jul 12, 2007
  • Mensajes: 1
  • Status: Offline

Nota Julio 12th, 2007, 9:17 am

SpooF escribió:
Código: [ Select ]
<style type="text/css">
<!--
body {
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
 margin-left: 0px
}

-->
</style>
  1. <style type="text/css">
  2. <!--
  3. body {
  4.  margin-top: 0px;
  5.  margin-right: 0px;
  6.  margin-bottom: 0px;
  7.  margin-left: 0px
  8. }
  9. -->
  10. </style>

Esto también puede simplificarse a:

Código: [ Select ]
<style type="text/css">
<!--
body {
 margin: 0px;
 }
-->
</style>
  1. <style type="text/css">
  2. <!--
  3. body {
  4.  margin: 0px;
  5.  }
  6. -->
  7. </style>
  • murcielagossi
  • Proficient
  • Proficient
  • Avatar de Usuario
  • Registrado: Jul 28, 2006
  • Mensajes: 457
  • Status: Offline

Nota Julio 12th, 2007, 1:58 pm

O si todavía quiere especificar los márgenes de otros usos:
Código: [ Select ]
<style type="text/css">
<!--
body {
 margin: 0px 0px 0px 0px;
 }
-->
</style>
  1. <style type="text/css">
  2. <!--
  3. body {
  4.  margin: 0px 0px 0px 0px;
  5.  }
  6. -->
  7. </style>


Va para el margen de.... top.... derecha...inferior...izquierda (sentido horario supongo)
Imagen
/* My Logic Is Undeniable */
  • Shiggity
  • Born
  • Born
  • No Avatar
  • Registrado: Sep 04, 2007
  • Mensajes: 1
  • Status: Offline

Nota Septiembre 4th, 2007, 4:26 pm

O aún más simplificado a

Código: [ Select ]
<style type="text/css">
<!--
body {
 margin: 0;
}

-->
</style>
  1. <style type="text/css">
  2. <!--
  3. body {
  4.  margin: 0;
  5. }
  6. -->
  7. </style>
  • Bogey
  • Bogey
  • Genius
  • Avatar de Usuario
  • Registrado: Jul 14, 2005
  • Mensajes: 8211
  • Loc: USA
  • Status: Offline

Nota Septiembre 4th, 2007, 9:35 pm

Shiggity escribió:
O aún más simplificado a

Código: [ Select ]
<style type="text/css">
<!--
body {
 margin: 0;
}

-->
</style>
  1. <style type="text/css">
  2. <!--
  3. body {
  4.  margin: 0;
  5. }
  6. -->
  7. </style>


Creo que rlynch ha publicado que el código anterior.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • HindenPeter
  • Born
  • Born
  • No Avatar
  • Registrado: Feb 16, 2010
  • Mensajes: 2
  • Status: Offline

Nota Febrero 16th, 2010, 2:40 pm

Hola chicos, sé que soy revivir un hilo muerto, pero Im experimentando el mismo problema, y ninguna de las sugerencias Ive encontró solucionar mi problema, incluyendo el código CSS del cuerpo. Cualquier ayuda sería impresionante. No puedo enviar un vínculo legítimo, cuz su foro no me deja, así que esto es lo mejor que puede hacer: http://hindenpeter.byethost16 [dot] com/demo1.html
  • Bogey
  • Bogey
  • Genius
  • Avatar de Usuario
  • Registrado: Jul 14, 2005
  • Mensajes: 8211
  • Loc: USA
  • Status: Offline

Nota Febrero 16th, 2010, 9:41 pm

Ver Cant el vínculo después de lo arreglé..." 0" => "O"
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • HindenPeter
  • Born
  • Born
  • No Avatar
  • Registrado: Feb 16, 2010
  • Mensajes: 2
  • Status: Offline

Nota Febrero 17th, 2010, 11:44 am

Gracias por la respuesta, Bogey, no está seguro de por qué no puede ver el sitio, pero me fijo que de cualquier manera. Problema muy simple, realmente...hubo un #antes del cuerpo.
  • Bogey
  • Bogey
  • Genius
  • Avatar de Usuario
  • Registrado: Jul 14, 2005
  • Mensajes: 8211
  • Loc: USA
  • Status: Offline

Nota Febrero 17th, 2010, 11:37 pm

Oh, ok...alegro de que tiene que fija.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8

Publicar Información

  • Total de mensajes en este tema: 12 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 119 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