Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Web Browser Differences with CSS

RSS
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 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.