473,320 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

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
7 2628
drhowarddrfine
7,435 Expert 4TB
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
6,050 Expert 4TB
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
David Laakso
397 Expert 256MB
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
6,050 Expert 4TB
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
David Laakso
397 Expert 256MB
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
32,556 Expert Mod 16PB
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
David Laakso
397 Expert 256MB
I hope clarifies the issue for you.
Yes, this does clarify the issue for me. Thank you.
Oct 21 '08 #8

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

Similar topics

14
by: Gregory | last post by:
Hello, I'm trying to do the above in order to process an image and return the result to an html image control. It fails and my key suspects are either the variable that I'm passing in -...
4
by: Phil Powell | last post by:
re: http://us4.php.net/manual/en/function.imagegif.php I have one class method that resizes images, including GIF images, and works just fine doing so, even up to this line: eval('image' ....
17
by: Torbjørn Pettersen | last post by:
I've got a table where I want some of the cells to use a background image. The cells have variable height, so I am using an image with a rather small height to fill up the background of the cells,...
2
by: Georg Goerg | last post by:
hello, i want to make website with a top navigation bar and one on the left. so by using css i define three layers and everyone of them has length attr. in percents. but if i want to put...
15
by: Sander Tekelenburg | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The HTML specs speak of "replaced" and "non-replaced" elements, yet for the life of me I can't find an explanation of what "replaced" is supposed...
2
by: Dag Sunde | last post by:
I have the following function to resize a div element (Content) depending on the size of another div element (leftConent). function adjustContentHeight() { var content =...
1
by: dave8421 | last post by:
Hi, I'm trying to make sense of the definition for "Rendered Content" in current CR for CSS 2.1 Is rendered content what is displayed on the particular media or device? from the...
4
by: john | last post by:
Hi to All, I am new to html authoring, so sorry if my terminology is not correct or exact. I would like to position a footer div to the bottom of the browser window. As I research in the web...
2
by: bips2008 | last post by:
The code seems to work fine in other browser but in IE it throws this error. This is very urgent for me and any help would be greatly appreciated For your convienence i have posted the code for the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.