Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

211
Vistas
Why different result even if using same css?

I copied a PHP web system which made 10 years ago on Linux to my windows PC.

I installed PHP 5.6.2 on my windows PC And It is higher than installed Linux. (old system's PHP is 5.1.4)

But when i compared two web site, they were different a little.

This is the old php in Linux system. enter image description here

And this is new system. enter image description here

Do you know difference? The old system's text of menu aligned to center.

But new system's aligned right a little from center.

So i checked css, But these css are same.

somebody know about this?

over 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

Assuming you have the same HTML DOM, CSS and running the two system on the same browser, browser version and browser compatibility mode..

Have you checked if they are having the same values for the following?

  • HTML doctype
  • X-UA-Compatibility meta type
over 4 years ago · Santiago Trujillo Denunciar

0

What the browser renders is the HTML/CSS/Javascript generated by the PHP web server, so the first thing you should check is if the code that's behind those two pages is exactly the same.

If that's the case, you can increase the consistency across different browsers by adding a reset css before the first stylesheet you use. This will reduce the differences in the default browsers's behaviour regarding the style.

I have often used Meyer's reset css, but I know there are newer versions of it and probably some different ones.

over 4 years ago · Santiago Trujillo Denunciar

0

I perceived that i had understood one. I'm testing same version IE browser. So i though two site shown up same as same ver.

But old site's document mode was IE5, and new site's edge.

And it was the reason of difference.

Thank you for many comment.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda