Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Font style in div still affected by previous tag
Message
De
22/01/2016 14:56:52
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
22/01/2016 09:52:14
Information générale
Forum:
HTML5
Catégorie:
HTML
Divers
Thread ID:
01630054
Message ID:
01630106
Vues:
41
>>I'm not seeing that behaviour ("Speaking Experience" is in italic regardless of spacing) - what browser were you using?
>
>It's IE.
>
>>But, bottom line, the HTML is not valid and there is no defined behaviour for such a pattern so no 'right or wrong' browser rendering......
>
>Yes, it is not a standard. But, it doesn't mean we can't do something about it. :)
>
>Yes, I do recognize it is a not valid HTML. This is why I brought it up. I see many defining styles by always putting default font-style, font-weight, etc., when this is actually the default. In many situations like these, it helps to avoid the rest of div content to be affected by a tag not closed on top, for example.

And I remember that at least fifty times (over the years) I had to update the message just because I used an I or B tag and then had a typo in the closing tag, which made the rest of the message (even across PRE tags), including signature, italic (or bold). So at least Firefox will keep it italic over many other tags.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform