The entty is Number 246. If I use the CSS P class=“herboyninetynine” it works fine If I use p class="herboyninetynineb it doesnot yet I have specified the same coding in both. If I can get it to work I will change the line height and font sizes in due cours in the second one.
What I really want is for the entry to look like the entry in row 249 but with the d Upsidedown V to be very small and fit in the top row if that is clear
Value Error : line-height attempt to find a semi-colon before the property name. add it
See if you can spot the error:)
Also I note that your page container is set at 950px wide but your table is much much wider causing the whole page to be offset incorrectly and looks very awkward to me. Either remove the table for the container and center it on its own. Or make the rest of that page as wide as the table by setting .container to display:table.
And what’s different? And don’t say they are the same, because they are not. They may be intended to be the same, but what is actually typed there? (here’s a hint, the code highlighting here should point you in the right direction…)
The semi colon was missing after your comment tags so effectively you had this invalid rule:
line-height:.875 margin:0;
I’m sure that you could have spotted that for yourself
It may actually be a minor task if you have followed the same format on all pages then all you would need to do would be to add display:table to .container.
Just because you have hundreds of pages doesn’t diminish the fact that things need to be correct although I agree in some case it can be very awkward if all pages are constructed incorrectly/awkwardly to start with.
Thank you both. I’m sorry though I just can’t see what’s wrong. I actually copied and pasted the CSS and just change the name. Even now it still does not seem to work.
I did validate the CSS via Lint and it said it was OK
That rule is now valid and if you add that class to the element in the html concerned those rules will apply (you still have the old class name in the html). You can then fiddle with that rule to make the changes you want. I’m guessing you want to reduce the line-height to bring the ‘n’ in line with the other text but I’m not quite sure if this was your goal exactly?
I have now uploaded it with herboyninetynineb as the class and you will see that it does not work.
My goal is to have the two lines half the height, like entry 249 (col 12) That was the class her boy ninetynine does.
Then I want to halve the height of the n and the upside down v so that it looks like the original entry made by the enumerator in his book, ie squeezed in.
No, I actually see the rule working and being applied exactly as you have written it. Feel free to modify it to make it do what you need.
Again I already told you to manipulate the line-height to bring the n and the v closer together but you ignored that bit of advice so I assumed that was not what you wanted?
If you reduce the line-height to .4 you may get close to the display you want (although that’s not the way I would have written that section but it should get you close to what I think you want).
Of course your code is semantically incorrect and that inline fragment shouldn’t be a p element anyway but that is a question for another day.
Please test out the code I suggest before saying it does not work and then if its not what you wanted then we have something to work on
The meaning of the word is unchanged but readers, screen readers and assisted devices know that the letter ‘n’ has been inserted. It’s all about using html n the way that it was designed. In most cases good html will describe exactly what the content is and what it does.