Question:

Is there any html code for layouts

by  |  earlier

0 LIKES UnLike

to make them fit in BOTH browers. because i think the prob. with my code is my comp. resolution is there an html code to make it work no matter what resoluation your comp. is?

 Tags:

   Report

4 ANSWERS


  1. you should creat a table which size you like normly is 800 x 600 so then you start work in that table so you ll see in any resolution it ll show the same size as you like


  2. Set your site up to use about an 800 pixel width.  For a fluid site, use percents for your dimensions.  You can set a max/min width/height in the css for your page(s).

    DO NOT USE TABLES FOR A SITE LAYOUT!  Table tags are used for tabular data presentation only.  Those, who can't code or too darn lazy, use table tags.

    Ron

  3. You should set up your stylesheet so that the main container will render correctly at a resolution of 800x600 regardless of the browser being used.  It can be a pain at times trying to get everything working correctly with IE and Firefox but if you're running a business you have to accomidate everyone.  You don't want to turn people away because of something simple like this.  Another important thing to note is the browser version.  Some people still run IE 5 & 6 and they render differently than 7.  Typically I use Firefox to test my code and when I think everything is good I look the page in IE and make the couple of changes.

  4. Each browser renders html differently.

    IE does not use standards defined by the http://w3c.org therefore that is why they suck.

    As long as your website looks good on Firefox that is all that matters. This means that you DID your job well, its not IE's fault that it renders code poorly.

    But there is no universal code, because the browser is what renders the code, not you.

Question Stats

Latest activity: earlier.
This question has 4 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.