By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,930 Members | 1,323 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,930 IT Pros & Developers. It's quick & easy.

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

P: 5
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <STYLE>
  4.  
  5. li:after
  6. {
  7. content: attr("height");
  8. }
  9.  
  10. </STYLE>    
  11. </head>
  12.  
  13.  
  14. <body>
  15.  
  16. <ol>
  17. <li height=44 >uno</li>
  18. <li height=44 >beta</li>
  19. <li height=44 >drei</li>
  20.  
  21. </body>
  22. </html>
Oct 18 '08 #1
Share this Question
Share on Google+
7 Replies


drhowarddrfine
Expert 5K+
P: 7,435
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>
Oct 18 '08 #2

Markus
Expert 5K+
P: 6,050
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.
Oct 18 '08 #3

Expert 100+
P: 397
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.
Oct 19 '08 #4

Markus
Expert 5K+
P: 6,050
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.
Oct 19 '08 #5

Expert 100+
P: 397
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.
Oct 19 '08 #6

NeoPa
Expert Mod 15k+
P: 31,769
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.
Oct 21 '08 #7

Expert 100+
P: 397
I hope clarifies the issue for you.
Yes, this does clarify the issue for me. Thank you.
Oct 21 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.