Css problem with IE/FF compatibility?

Start by clearing all of the default padding and margins in your css file using: { padding: 0; margin: 0 } Then you'll have to adjust your code accordingly as every browser adds its own padding and margins to all attributes Once you get it to the point where you're happy with it in Firefox and Safari, use conditional statements to pull in the appropriate IE stylesheet:! --if IE 6> ).

Start by clearing all of the default padding and margins in your css file using: * { padding: 0; margin: 0 } Then you'll have to adjust your code accordingly as every browser adds its own padding and margins to all attributes. Once you get it to the point where you're happy with it in Firefox and Safari, use conditional statements to pull in the appropriate IE stylesheet: In your stylesheets only override what needs overriding: Master CSS . Iframestyle { float: left; margin-right: 3px; width: 305px; } IE 6 .

Iframestyle { width: 309px; height: 263px; } IE 7 . Iframestyle { width: 309px; margin-top: 0px; } IE 8 . Iframestyle { width: 305px; margin-top: 0px; } (For whatever reason IE 8 may need a redeclaration of width.).

Here you can found about this: webdesign.about.com/od/internetexplorer/... This is a part of the article: It's actually really easy to hide styles from IE 6 but make them visible to standards compliant browsers. Use child selectors. In one design I built, I created a two column layout that required margins and padding.

This meant that I was hitting the box model differences when I viewed the page in IE 6. My first CSS style sheet for Firefox included a line like this: div#nav { width: 150px; margin-left: 20px; } This made the page line up perfectly in Firefox and Safari, but in IE the nav column was pushed over to the right too far. So, I converted the line to use child selectors.

The #nav div is a child of the body tag, so I changed the line to read: body > div#nav { width: 150px; margin-left: 20px; } Of course, doing this made the #nav div lose all it's properties in IE, so I needed to add in some IE styles to get IE 6 looking okay. I added this line to the CSS: #nav { width: 150px; margin-left: 10px; } The placement of this line of CSS is important if my page is still to look good in Firefox and Safari. The IE line needs to come first.

Firefox and Safari will read that line and then it will be over-ridden by the body > div#nav selector lower in the document. IE 6 will read the first line and set the styles. It will then ignore the child selector, as it doesn't recognize them.

When IE 7 comes along, it will act like Firefox and Safari. By designing for a standards-compliant browser first, and then modifying your CSS to support IE's quirks, you spend a lot less time fiddling with the design and a lot more time actually designing.

It's actually really easy to hide styles from IE 6 but make them visible to standards compliant browsers. Use child selectors. In one design I built, I created a two column layout that required margins and padding.

This meant that I was hitting the box model differences when I viewed the page in IE 6. This made the page line up perfectly in Firefox and Safari, but in IE the nav column was pushed over to the right too far. So, I converted the line to use child selectors.

Of course, doing this made the #nav div lose all it's properties in IE, so I needed to add in some IE styles to get IE 6 looking okay. The placement of this line of CSS is important if my page is still to look good in Firefox and Safari. The IE line needs to come first.

Firefox and Safari will read that line and then it will be over-ridden by the body > div#nav selector lower in the document. IE 6 will read the first line and set the styles. It will then ignore the child selector, as it doesn't recognize them.

When IE 7 comes along, it will act like Firefox and Safari. By designing for a standards-compliant browser first, and then modifying your CSS to support IE's quirks, you spend a lot less time fiddling with the design and a lot more time actually designing.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions