0

Hi ...................

I have design a web page using the combination of PHP, HTML and CSS (cascading style sheets).The web page is looking good in Internet Explorer. But in Mozilla Fire Fox, Google chrome, Opera the alignments are changed. It’s not looking Nice. I need help regarding this.

5
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by MidiMagic
0

Pretty generalized as for a problem. However thats a great link buddylee17.

@op: can you provide us with link to the errors page so we can see where the problem lays ?

0

IE is the nonconformist. It won't obey the W3C standards.

How to get web pages to behave:

1. Validate your code with the W3C validator.

http://validator.w3.org/

2. Don't put size styles (width, height) in the same tags that contain surrounding styles (margin, border, padding).

3. Don't expect div tags to expand to fill their containers. Some browsers do different things here.

4. Don't expect fonts to be the same line weight across browsers.

5. Set horizontal and vertical alignment for table cells. The defaults are different for different browsers.

6. Don't use absolute positioning or pixels. Different browsers render these differently, as do different screen resolutions.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.