[url]http://www.jnsitedesign.com/tommy/index.html[/url] See the yellow box? It’s always there where it should be unless someone opens the page in IE and only when they have a screen resolution of 1024. Anyone know why????
@jessnoonyesauthorOct 25.2007 — #I'm making this for a friend and just doing what she wants. I figured out how to fix it with a different stylesheet for IE, but now here's my issue. I should probably post this in the javascript section but I'll ask here too. I have some code that will call a certain stylesheet depending on resolution. But now I need it to call the IE stylesheet when the resolution is a certain size, and only for IE. I have no idea how to change this code to do that, if it's even possible. Here's the code:
<script type="text/javascript">
if (screen.width < 1280)
link = document.getElementsByTagName( "link" )[ 0 ];
link.href = "style1.css";
</script>
I need it to open "style1ie.css" for IE people with a resolution under 1280.
@CentauriOct 25.2007 — #If the page page coding was semantically correct and valid, then there would be not need for separate style sheets, different entry pages or javascript for cross-browser compliance. You are adding more and more stuff trying to correct problems caused by initial bad coding.