Announcement

Collapse
No announcement yet.

Weirdness getting css

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Weirdness getting css

    Hi

    So I'm doing my first build with Actinic.

    I've got my main style sheet working but the program seems to not be picking up my ie overides. They aren't uploading for certain.

    I'm assuming something in my head tags is knocking it out:

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    <title><Actinic:Variable Name="PageTitle"/></title></meta>
    <actinic:variable name="BaseHref" />



    <link rel="P3Pv1" href="<actinic:variable name="P3PFullPolicyLink" />">
    </actinic:block>
    <link href="actinic.css" rel="stylesheet" type="text/css">
    <actinic:variable name="JavaScriptFunctions" />
    <link rel="stylesheet" href="primary.css" type="text/css" media="screen" />

    <!--[if IE 7]>
    <link rel="stylesheet"
    href="ie7.css" media="screen" />
    <![endif]-->

    <!--[if IE 6]>
    <link rel="stylesheet"
    href="ie6.css" media="screen" />
    <![endif]-->

    <!--[if IE 5]>
    <link rel="stylesheet"
    href="ie6.css" media="screen" />
    <![endif]-->

    </head>

    Not really sure what all the unusual tags are actually doing!

    #2
    Try adding them to the Additional Fils List in Actinic and upload.

    Comment


      #3
      Your comments will be getting stripped out I expect. This has been mentioned in the forum a few times before, try a search as those threads will hold all of your solutions in far more detail.

      Are you doing conditional CSS cos you've been told it's the trendy thing to do or do you have a specific issue to fix?

      Comment


        #4
        Originally posted by leehack View Post
        Are you doing conditional CSS cos you've been told it's the trendy thing to do or do you have a specific issue to fix?
        Because IE6 is disappearing half my divs!

        Also it seriously reduces my stress level.

        Comment


          #5
          Originally posted by YsoL8 View Post
          Also it seriously reduces my stress level.
          Experience tells me you will be rethinking this area once you have got actinic to play ball .

          Comment


            #6
            I checked the source code and it looks like the conditional comments are being stripped. No sign of them.

            Kudos for quick replies by the way!

            Could you suggest search terms? I've been looking on and off the last 3 days without finding much.

            Comment


              #7
              DESIGN | DESIGN OPTIONS | untick compact HTML, see what that does first.

              Comment


                #8
                Solved

                Numpty!

                Used a javascript solution.
                And looking at a page I would see any difference on helped of course.

                <script language="javascript">
                document.write("\<\!--\[if IE 6\]\>");
                </script>
                <link rel="stylesheet"
                href="ie6.css" media="screen" />
                <script language="javascript">
                document.write("\<\!\[endif\]\-\-\>");
                </script>

                Its been quite good though. I have firefox and IE7 singing from identical css - I usually give up with that idea.

                Comment


                  #9
                  All out of time!! Check tomorrow

                  Comment


                    #10
                    Originally posted by leehack View Post
                    DESIGN | DESIGN OPTIONS | untick compact HTML, see what that does first.
                    That also works

                    No more javascript

                    Comment

                    Working...
                    X