Gordon
Forum Guru
- Joined
- Apr 6, 2017
- Messages
- 2,488
- Reaction score
- 2,940
- Country
Or is it?Sarcasm isn't a strength hereabouts, I see.
(xenovin for the win)
Or is it?Sarcasm isn't a strength hereabouts, I see.
(xenovin for the win)
Fezz!Sarcasm isn't a strength hereabouts, I see.
(xenovin for the win)
One "should" do <span class="exc">...</span> instead of either as a modern best practice.Can someone tell my why one would code
<span style="font-style: italic;">[EXC: normal cost applies to the LVT3/LVT3C]</span>.
instead of
<i>[EXC: normal cost applies to the LVT3/LVT3C]</i>.
Thank you.
Some thoughts: https://stackoverflow.com/questions/2108318/css-html-what-is-the-correct-way-to-make-text-italic. For ease of changing the style, especially in conjunction with other similar areas, using a css class would seem to me to be the most beneficial rather than an in-line style or an "i" tag. But if you never change the style you are just as well off leaving it as-is as going through the entire document and changing everything.Can someone tell my why one would code
<span style="font-style: italic;">[EXC: normal cost applies to the LVT3/LVT3C]</span>.
instead of
<i>[EXC: normal cost applies to the LVT3/LVT3C]</i>.
Thank you.
If you're never going to change the style, you're just not forward thinking enough.Some thoughts: https://stackoverflow.com/questions/2108318/css-html-what-is-the-correct-way-to-make-text-italic. For ease of changing the style, especially in conjunction with other similar areas, using a css class would seem to me to be the most beneficial rather than an in-line style or an "i" tag. But if you never change the style you are just as well off leaving it as-is as going through the entire document and changing everything.
JR
If you spend all your time fixing things that might or might not be broken, you're not moving forward.If you're never going to change the style, you're just not forward thinking enough.
For the why part, this is just guesswork. It could be the process they used to get to the final HTML document. I started with Word and then saved it as an HTML doc and there were lots of, with hindsight, crazy HTML coding stuff. OTOH, it could just be really old HTML code or they left room for future customizing by leaving a span instead of <i> and never revised the code. To really know why you would have to track down the creator!Can someone tell me why one would code
<span style="font-style: italic;">[EXC: normal cost applies to the LVT3/LVT3C]</span>.
instead of
<i>[EXC: normal cost applies to the LVT3/LVT3C]</i>.
Thank you.