6 Replies - 1458 Views - Last Post: 12 April 2012 - 02:10 PM

#1 jainam08  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 11-October 10

Browser Compatibility

Posted 11 April 2012 - 12:28 PM

hi.
I want to know about browser compatibility, I am getting problem when I am opening my webpage into different browser. Some where I got solution that by using % instead of px into CSS to resole this issue, But still I am getting the same problem.
So can anyone help me through this post...

This post has been edited by Dormilich: 11 April 2012 - 10:31 PM

Is This A Good Question/Topic? 0
  • +

Replies To: Browser Compatibility

#2 floppyspace  Icon User is offline

  • D.I.C Regular

Reputation: 48
  • View blog
  • Posts: 254
  • Joined: 04-February 10

Re: Browser Compatibility

Posted 11 April 2012 - 07:10 PM

light reading

Make the pages then validate them and the css then look at the results to fix the problems.

There are so many variables in what your asking but using the W3.org validators' will help you understand what may be wrong, they also have the ability to resolve some of the issues for you.
Was This Post Helpful? 0
  • +
  • -

#3 X-spert  Icon User is offline

  • D.I.C Head

Reputation: 7
  • View blog
  • Posts: 56
  • Joined: 25-August 11

Re: Browser Compatibility

Posted 12 April 2012 - 04:16 AM

View Postjainam08, on 11 April 2012 - 12:28 PM, said:

hi.
I want to know about browser compatibility, I am getting problem when I am opening my webpage into different browser. Some where I got solution that by using % instead of px into CSS to resole this issue, But still I am getting the same problem.
So can anyone help me through this post...


Hi,

You can use an CSS reset and after that you can try, if you want just specific dimensions for your web page, to give for every element a specific width and height (in px).

Quote

The total width of an element should be calculated like this:

Total element width = width + left padding + right padding + left border + right border + left margin + right margin

The total height of an element should be calculated like this:

Total element height = height + top padding + bottom padding + top border + bottom border + top margin + bottom margin


Good luck!
Was This Post Helpful? 0
  • +
  • -

#4 jainam08  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 11-October 10

Re: Browser Compatibility

Posted 12 April 2012 - 09:42 AM

Hey hi...
Thanks for your kindly reply, But I already validate my coding with w3.org validator and its perfect. Is there any browser settings that I have to make???
Was This Post Helpful? 0
  • +
  • -

#5 jainam08  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 11-October 10

Re: Browser Compatibility

Posted 12 April 2012 - 09:51 AM

Hi..

Thanks for your reply.. Earlier I used px only when I started CSS for webpage but it was giving me a wrong division formatting so later I changed it with %. Is there any other way or settings in HTML or Javascript code that I ve to define??
Was This Post Helpful? 0
  • +
  • -

#6 revolutionx  Icon User is offline

  • D.I.C Head

Reputation: 60
  • View blog
  • Posts: 229
  • Joined: 23-July 09

Re: Browser Compatibility

Posted 12 April 2012 - 11:58 AM

Hi,

Can you post a link to the site and explain what you want the layout to do when you resize the browser. px is a fixed width and will always stay that width. And % is for a fluid site, that would shrink down when the browser is resized.
Was This Post Helpful? 0
  • +
  • -

#7 jainam08  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 11-October 10

Re: Browser Compatibility

Posted 12 April 2012 - 02:10 PM

Here I ve attached my both files with simple design. More code I cant attached here. So just run this script into all the browsers you can get my problem.
Thank You

Attached File(s)


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1