...

View Full Version : Browser StyleSheet issue



SiKni8
07-30-2011, 03:35 AM
I have the following script on my page:
<![if !IE]>
<div id='logowrapper'>
<span class='siteLogo'><img src='logo2.png' align=abstop /></span>
<span class='findUs'><img src='fLogo.png' border=0 title='Follow us on Facebook' align=abstop /><span class='topdvr'><img src='top_nav_dvr.png' alt=' - ' /></span><a href='www.twitter.com/' rel="nofollow" target='_blank'><img border=0 title='Follow us on Twitter' src='tLogo.png' align=abstop /></a></span>
</div>
<![endif]>
<!--[if IE]>
***** APPLY SAME DIV SO IE RECOGNIZES SAME WAY AS OTHER BROWSER
<![endif]-->

And i use the following CSS to style the NOT IE browser above:
#logowrapper{
margin:15px auto;
padding:0px 22px 0px 75px;
width:1049px;
}
.siteLogo {
width:45%;
}
.findUs {
padding: 0px 0px 0px 400px;
width:45%;
}

+++++++++++++++++++++++++++

Now my question is how do I achieve the same effect when the user in Internet Explorer browser, either thru DIV or TABLE style?

Thank you

bazz
07-30-2011, 07:29 AM
in my view, the only sensible way is to make the source code the same no matter the browser. then make your css correspond to the actual browser; starting with something like FF and then tweaking for IE.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum