Jump to content

Template <Style> Issue


Neil Hennigan

Recommended Posts

Hi there,

 

On my website, I have a dropdown navigation that uses an ie only hide tag to direct Internet Explorer towards an .htc script which allows the dropdown to work (other browsers don't need this, they only use the CSS). The code is as follows:

 

<!--[if IE]>
  <style type="text/css">
	body {behavior: url(csshover.htc);}
  </style>

  <noscript>
	<style type="text/css">

.nav .dropdown, .nav .dropdown div {width: 189px;}
.nav .button .dropdown ul {margin: 0px;}
.nav .dropdown, .nav .dropdown div {position: static;}
.nav .dropdown ul {border: 0;}
.mini-zone {display: none;}

	</style>
  </noscript>
<![endif]-->

 

 

When attempting to integrate WHMCS into my website design, I used my site's header and footer, etc. If this chunk of code is there, WHMCS doesn't even load at all. All I get is a blank white page. If I remove the <style> tags from this chunk of code, WHMCS loads but my dropdown navigation doesn't work in IE.

 

I've tried using @import to load this CSS in 2 external files, and WHMCS loads fine, but the dropdown nav still isn't funcitonal. Does anyone have any idea why WHMCS doesn't like these few lines of code?

 

Thank you very much for your help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated