Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 24 Jul 2009, 13:42
Sofia Sofia is offline
 
Join Date: Oct 2006
Real name: Sofia
Internet explorer 6 - CSS

Hello all.

Is there a way to have a template conditional for Internet Explorer 6 ?

I find this in the headinclude template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I want to use CSS but with IE6, these CSS class don't work.
I want to include in my headinclude template special css class to use with IE6 (like above for opera 8).

Thanks!
Reply With Quote
  #2  
Old 24 Jul 2009, 14:30
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
 
Join Date: Jan 2002
Real name: Wayne
The easiest way to do this is to use what Microsoft calls "Conditional Comments". Internet Explorer is the only browser to use these constructs.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If the user is using IE6 than it will include everything in the comment when processing the page.

You could also do something like:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Doing a search on conditional comments will give more tutorials.
__________________
Wayne Luke
Get started with your own social network. Purchase and download vBulletin today.
Reply With Quote
  #3  
Old 24 Jul 2009, 15:28
Sofia Sofia is offline
 
Join Date: Oct 2006
Real name: Sofia
Ok, thank you Wayne
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:54.

Layout Options | Width: Wide Color: