Conditional statement and flash postioning

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jelly46
    New Member
    • Jan 2007
    • 14

    Conditional statement and flash postioning

    I have built a simple online portfolio http://www.webtwo-0.com/ click on it and it only has one page, the home page.

    It's still being tested and should be ready in about a week but I'm having a few browser issues

    1. if you open it in IE 6 and 7 this text is in top left hand corner <!--[if lte IE 6 7]> <![endif]--> how do i make it not appear, without disrupting the rendering or code.

    2. How do i position a flash movie in IE? What ever I try I can move it, if you look at it in Mozilla the position is more to the right but in IE 6 and 7 i am having no luck.

    Please can someone help me :-(

    Jelly46
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    Put a space after the first <-- and before the last --> and see if that fixes it.

    Comment

    • jelly46
      New Member
      • Jan 2007
      • 14

      #3
      Originally posted by drhowarddrfine
      Put a space after the first <-- and before the last --> and see if that fixes it.
      Thanks alot mate, thats such a help you are legend

      But do i have to put a seperate conditional statement for IE 6 and 7?

      Once again thanks

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        No. lte means "less than or equal" so you can just leave the 7 in there.

        Comment

        • jelly46
          New Member
          • Jan 2007
          • 14

          #5
          Originally posted by drhowarddrfine
          No. lte means "less than or equal" so you can just leave the 7 in there.
          yes but when i do leave 7 in there positiong goes all wrong

          <!--[if lte IE 6 7]>
          <link href="ie20.css" rel="stylesheet " type="text/css"/>
          <![endif]-->

          is this written correctly?

          Comment

          • drhowarddrfine
            Recognized Expert Expert
            • Sep 2006
            • 7434

            #6
            I believe including 6 and 7 in the same comment is not allowed.
            Look here.

            Comment

            • jelly46
              New Member
              • Jan 2007
              • 14

              #7
              Originally posted by drhowarddrfine
              I believe including 6 and 7 in the same comment is not allowed.
              Look here.
              Hopefully if i just use lte 7 then it shoudl resolve the problem?

              Thanks again

              Comment

              • drhowarddrfine
                Recognized Expert Expert
                • Sep 2006
                • 7434

                #8
                lte IE7 will apply that statement to IE7, IE6 and lesser versions.

                Comment

                • jelly46
                  New Member
                  • Jan 2007
                  • 14

                  #9
                  Originally posted by drhowarddrfine
                  lte IE7 will apply that statement to IE7, IE6 and lesser versions.
                  Nice one mate it worked

                  Thanks alot

                  Comment

                  Working...