HighDots Forums  

conditional comment

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss conditional comment in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Baxter
 
Posts: n/a

Default conditional comment - 01-02-2006 , 01:18 PM






Hi!
Is there any way to update child pages of a template file with a link in a
conditional comment in the template to a file?
<!-- The following is a conditional comment for IE/Win browsers -->
<!--[if IE]>
<style type="text/css">
body {behavior: url(csshover.htc);}
</style>

Thanks
Dave



Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: conditional comment - 01-02-2006 , 01:52 PM






No. But if you make the link a root relative one, you won't have to, e.g.,

body {behavior: url(/csshover.htc);}

You might also consider making the conditional comment specific to IE6 and
below, since we don't yet know what IE7 is going to need.


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Baxter" <baxter(RemoveThe :-)@gtlakes.com> wrote

Quote:
Hi!
Is there any way to update child pages of a template file with a link in
a
conditional comment in the template to a file?
!-- The following is a conditional comment for IE/Win browsers --
!--[if IE]
style type="text/css"
body {behavior: url(csshover.htc);}
/style

Thanks
Dave





Reply With Quote
  #3  
Old   
Baxter
 
Posts: n/a

Default Re: conditional comment - 01-02-2006 , 02:06 PM



Quote:
You might also consider making the conditional comment specific to IE6 and
below, since we don't yet know what IE7 is going to need.


Thanks Murray!
Will do that. :-) Happy New Year!!!!!!!!!!!
Dave




Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.