. content: attr("height") does not work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 000baaa000
    New Member
    • Sep 2008
    • 5

    . content: attr("height") does not work

    Code:
    <html>
    <head>
    <STYLE>
    
    li:after
    {
    content: attr("height");
    }
    
    </STYLE>	
    </head>
    
    
    <body>
    
    <ol>
    <li height=44 >uno</li>
    <li height=44 >beta</li>
    <li height=44 >drei</li>
    
    </body>
    </html>
    Last edited by Markus; Oct 18 '08, 07:52 PM. Reason: added # tags
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    You need quotes around the 'attr("height") ' but I don't think you'll get what you're looking for.

    You're also missing the closing </ol>

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #3
      You have been warned previously about the quality of your posts (and negligence towards our posting guidelines). Therefore, this is your second formal warning. Next time you may receive a ban.

      Markus.

      Comment

      • David Laakso
        Recognized Expert Contributor
        • Aug 2008
        • 397

        #4
        Originally posted by Markus
        You have been warned previously about the quality of your posts (and negligence towards our posting guidelines). Therefore, this is your second formal warning. Next time you may receive a ban.

        Markus.
        Could you spell out, in plain English, just where the OP is going wrong about the quality of his posts (and negligence towards posting guidelines)?

        I am new to this forum, too.

        Thank you.

        Comment

        • Markus
          Recognized Expert Expert
          • Jun 2007
          • 6092

          #5
          Originally posted by David Laakso
          Could you spell out, in plain English, just where the OP is going wrong about the quality of his posts (and negligence towards posting guidelines)?

          I am new to this forum, too.

          Thank you.
          OP provides uninformative posts and doesn't use code tags.

          Comment

          • David Laakso
            Recognized Expert Contributor
            • Aug 2008
            • 397

            #6
            Originally posted by Markus
            OP provides uninformative posts and doesn't use code tags. Is that enough plain English for you?
            Yes. Thank you. Although, it hardly differs much from most any other post. Granted, there are exceptions.

            Comment

            • NeoPa
              Recognized Expert Moderator MVP
              • Oct 2006
              • 32633

              #7
              David, the reason this question is deemed to be inadequate is that the OP hasn't even really asked a question at all. Simply dumped some code in a post and seems to expect our experts to work it all out for them.

              This is not acceptable.

              You guys offer your time as volunteers (We all do), and we don't appreciate members showing such little respect for the service. There are published rules for how questions should be posted and this doesn't conform to them.

              I hope clarifies the issue for you.

              Comment

              • David Laakso
                Recognized Expert Contributor
                • Aug 2008
                • 397

                #8
                Originally posted by NeoPa
                I hope clarifies the issue for you.
                Yes, this does clarify the issue for me. Thank you.

                Comment

                Working...