Jasinski Technical Wiki


Home Page
All Pages

Quick Search
Advanced Search »

Contributor Links

Create a new Page
File Management
Your Profile

Other Wiki Sections



Web Browser Differences with CSS

Modified on Sat, Jan 24, 2009, 11:24 AM by Administrator Categorized as HTML and CSS
Not all web browsers will render your web page exactly the same. The issue can be addressed in your CSS code. Internet Explorer recognizes the "#" prefix, and IE6 and older recognizes the "_" prefix. In addition, each browser will use the last declaration of CSS code that it recognizes. Consider the following code.

  • IE6 and older will use _top: 8px;
  • IE7 will use #top: 4px;
  • All other browsers will use top: 0px;

top: 0px;
#top: 4px;
_top: 8px;

ScrewTurn Wiki version Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2023, Patrick Jasinski.