Thread: CSS Question
View Single Post
Old 11-09-2020, 07:32 PM   #16
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by DNSB View Post
The letter sentence requires a p tag for the "div.letter p" to apply -- it applies to p elements inside a div element.
What I meant is if I change the css for div.letter to
Quote:
div.letter { font-style: italic; hyphens: none; }
I.e., no space p, it doesn't get the italics. But never mind, I figured it out; I have some "reset" css at the top and for p it sets font-style: normal but it doesn't set font-family.
hobnail is offline   Reply With Quote