HighDots Forums  

Murray - conditional statement

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Murray - conditional statement in the Macromedia Dreamweaver forum.



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

Default Murray - conditional statement - 07-04-2004 , 11:08 AM






<!--[if gte IE 5]>
<style>
#menu a {height: 1px; }
</style>
<![endif] -->


You have this on a site you just listed to a poster...
http://www.midwestespresso.com/
too tired to look it up right now, but am wondering what bug does this
address?
Is there a list of these conditional statements - or do you make them up as
needed
I need to read up on this a bit more, much prefer them to using all those
rotten hacks!

--
Nadia
-----------------
*Free Templates *Dropdown Menu Templates*
http://www.DreamweaverResources.com
*Templates - HTML and CSS Validated *
*Free Nav Bar Sets*
*Resources : Ecommerce : SEO Articles*
-----------------



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

Default Re: Murray - conditional statement - 07-04-2004 , 11:14 AM






It's there for superstitious reasons! 8)

It fixes a bug in IE that causes adjacent block-level elements to not get
their block dimensions properly calculated in IE5+. By forcing IE to
examine the block's dimensions, triggered by this conditional, you avoid
that problem.

I think.

Oh, heck, ask Al! 8)

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
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
==================

":. Nadia .:" <forums@-ozzie-perrelink.com.au> wrote

Quote:
!--[if gte IE 5]
style
#menu a {height: 1px; }
/style
![endif] --


You have this on a site you just listed to a poster...
http://www.midwestespresso.com/
too tired to look it up right now, but am wondering what bug does this
address?
Is there a list of these conditional statements - or do you make them up
as
needed
I need to read up on this a bit more, much prefer them to using all those
rotten hacks!

--
Nadia
-----------------
*Free Templates *Dropdown Menu Templates*
http://www.DreamweaverResources.com
*Templates - HTML and CSS Validated *
*Free Nav Bar Sets*
*Resources : Ecommerce : SEO Articles*
-----------------





Reply With Quote
  #3  
Old   
:. Nadia .:
 
Posts: n/a

Default Re: Murray - conditional statement - 07-04-2004 , 08:41 PM




"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote

Quote:
It's there for superstitious reasons! 8)
That's reason enough

Quote:
It fixes a bug in IE that causes adjacent block-level elements to not get
their block dimensions properly calculated in IE5+. By forcing IE to
examine the block's dimensions, triggered by this conditional, you avoid
that problem.

I think.

Oh, heck, ask Al! 8)
Ah ok, ROFL :-)

Nadia





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 - 2009, Jelsoft Enterprises Ltd.