I would like to apply bold formatting to figure 1, figure2, ...until figure 111.
I can only change the HTML and CSS and need to do this without using JavaScript or jQuery. Is there any way besides adding <strong>
in HTML?
There is ::first letter
in CSS, but no ::first word
. Can I use ~like %figure
in CSS?
<p>Figure 3 All incidences of ...</p>
<div id="imgcontainer" style="height: auto;">
<p><img src="Images/misc/newsletters/msIssue7_monoAnti4_850x550.png" style="margin-bottom: 10px;" /></p>
<p>Figure 4 ...</p>
</div>
<div id="imgcontainer" style="height: auto;">
<p><img src="Images/misc/newsletters/msIssue7_monoAnti5_350x370.png" style="float: left; width: 450px; margin: 8px 20px 8px 0px;" /></p>
<p>Figure 5 Sequence information obtained from MS/MS analysis of capillary electrophoresis ...</p>
</div>
<p><img src="Images/misc/newsletters/msIssue7_monoAnti6_850x350.png" style="width: 850px; height: 200px; margin: 8px 8px 8px 0px;" /></p>
<p>Figure 6 Separation of ...</p>
you can put desired property in a class and then add the elements to that class.
Also you are using id="imgcontainer". id's are unique in css (should be at least) when you want to give same properties to more than one element use classes instead of id's
Try putting all the figures in a div with class abc. Now put these bold property in the that class.
here is the property for bold you need to add in your div.