Fix CSS and Repair Your Website

Learn How To Fix CSS Problems On Your Website!

A Cascading Style Sheet (CSS) file is an external file which can be referenced by your html, php, asp file that can be used to reference the styling of a particular page.  The CSS properties can control a web pages colors, fonts, backgrounds, page positions, borders, links and so on.

There are three choices you have when using CSS:

  1. External CSS – Should be referenced between your <head> </head> tags as an external file such as style.css
  2. Internal CSS – Formatted the same as the code from External CSS but instead of put into a seperate file from the web page, it is put wrapped in <style> </style> tags and placed in the header of the the web page.
  3. Lastly you can use CSS as an inline CSS by including the object such as a div tag, table, span and so on with an inline style.  An example would be:
<span style=”color:#000″>something goes here</span>.

The next article will talk more about the IE CSS Fix.

fix CSS Code


Fixed Background CSS

If you are using shorthand properties to define your CSS fixed background rule, the order is as follows:

  • background-color
  • background-image
  • background-repeat
  • background-attachment
  • background-position

For example: 

body {background:#ffffff url(‘../images/bg.jpg’) no-repeat right top;}