Quote:
Originally Posted by WS64
No idea why one would need incremental IDs...
I use this plugin to add incremental IDs to headers, and in a second search and replace step I'll number my headlines (and remove the IDs).
I doubt the plugin was made for that, but it works for me that way
|
This is how I use it mostly as well...especially when I am trying to put a chapter number or something into the toc and it doesn't have one originally....
BUT.... It is certainly possible to use an incremented ID. For example: if you have lots of images and want to put specific css for each individual image...then give the ID an incremented name and style it to #img01, #img02, #img03, etc.
Code:
img {width:50%}
#img01 {max-width:300px}
#img02 {max-width:400px}
#img03 {max-width:525px}
<body>
<div id="img01"><img alt="" src="../Images/img1.jpg" /></div>
<div id="img02"><img alt="" src="../Images/img2.jpg" /></div>
<div id="img03"><img alt="" src="../Images/img3.jpg" /></div>
</body>
edit: I meant ID when I typed class...