Click here to Skip to main content
12,820,521 members (29,772 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET
As said in the Question the percentage of the inner Div's sizes differs from one browser to another , first I've been testing on IE but now when i tried Firefox it showed some errors can anyone tell me why did that happen ?

Thanks in advance for helping =)
Posted 17-Jan-13 0:22am
Updated 20-Jan-13 22:08pm
Of course: try again Firefox and make some fixed. This is a complete answer, please don't ask for another.
ayat abukhadra 21-Jan-13 3:04am
the problem wasn't on PC's it was on mobiles :S sorry for forgetting telling you that :S what i tried and solved the problem by adding the html code and the re-sizing in the code behind since i need to create my items dynamically and it worked :)
Unfortunately, different rendering engines have too many differences in rendering. The key is the Web design which is not sensitive to those changes.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

As SA has stated, every browser has different rendering engines so difference between those browsers have to be accounted for or you need to use style components that are not rendered differently by browsers or operating systems. One way many web developers and designers have done to counteract these differences is by adding "reset" stylesheets which incorporate global styles that attempt to circumvent the rendering difference in each engine.

Here are just a couple resources concerning this issue:

Best Practices[^]

A premade collection of various CSS reset styles[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 21 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100