I have created two style sheets for my site one for firefox and one for IE7 as the site breaks in IE7 but how do i get the page to recognizes that it is being viewed in IE and then chooses that style sheet
ok i got that one sortedwith this <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="styleIE.css" /> <![endif]--> Code (markup): now i can not get the site to sit in the center of the page in firefox it works with body { background-image:url(back.jpg); background-position:top; background-repeat:repeat-x; background-attachment:fixed; background-color:#354d6c; } div.Table_01 { position:absolute; top: 0; right:0; bottom: 0; left:0; margin: auto; width:858px; height:710px; } Code (markup): but with IE i can not get it to sit in the center of the borwser
Standard question #1. What does the HTML for the entire page look like? Standard question #2. What does the CSS for the entire page look like? Bear in mind, I am an architecht-level HTML/CSS coder, so I may recommend a complete redesign (and show you how to do it). Chances are that if you need a separate stylesheet for IE 7, you've done something wrong (quite possibly without realizing it, for which I would not fault you but show you how to fix it instead).