Article View: comp.infosystems.www.authoring.stylesheets
Article #40Re: can I put a <p> line of text in a CSS file?
From: Manuel Collado
Date: Wed, 11 Nov 2026 11:54
Date: Wed, 11 Nov 2026 11:54
29 lines
2232 bytes
2232 bytes
Perhaps you could use the :before or :after CSS seudoelements: https://css-tricks.com/almanac/pseudo-selectors/b/after-and-before/ HTH. El 11/11/26 a las 0:52, Dale escribió: > On 11/10/2026 1:57 PM, Stan Brown wrote: >> On Tue, 10 Nov 2026 13:04:21 -0500, Dale wrote: >>> >>> can I put a <p> line of text in a CSS file? >> >> What purpose are you trying to serve? >> > > I want to have things like <p> in the CSS so I can edit them for all > pages without editing all pages. > > I guess I need a HTML file instead that I can reach for all pages, I > have never done this > > >> If you want something that a person looking at the CSS can read, >> /* a comment like this one */ >> is the way to go. >> > >
Technical Details
Message-ID:
<6e01e5b7-2901-4505-8e05-f0ddea0b37b1@gmail.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<gWOdnc9yl8cAwW73nZ2dnZfqnPudnZ2d@supernews.com> <MPG.455d09051cba07f59904eb@news.individual.net> <InKdnR1lPMTWM273nZ2dnZfqn_adnZ2d@supernews.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Manuel Collado <mcollado2011@gmail.com> Newsgroups: comp.infosystems.www.authoring.stylesheets,alt.html.css Subject: Re: can I put a <p> line of text in a CSS file? Date: Wed, 11 Nov 2026 12:54:52 +0100 Organization: A noiseless patient Spider Lines: 29 Message-ID: <6e01e5b7-2901-4505-8e05-f0ddea0b37b1@gmail.com> References: <gWOdnc9yl8cAwW73nZ2dnZfqnPudnZ2d@supernews.com> <MPG.455d09051cba07f59904eb@news.individual.net> <InKdnR1lPMTWM273nZ2dnZfqn_adnZ2d@supernews.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 11 Nov 2026 11:54:54 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3156983"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193AGzUS+ETGOIiH35TRx2NSretQjlAECE="; posting-host="19a39c9d2fc7e598c1c8160013b8cf13" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:+jNUZnBMp28hWiaTrSrcv/qxmiE= sha256:qY2wyr3s5swqxvzMAOyPesmxkBODmkLJpJVrIxtu0FU= sha1:MiLOrqNkukSyuEnJk7UTL/ogt2o= sha256:fhBXbmSgUD3mRuwuPUfzrtN+8CobmqOVMvgcIxpj6CY= In-Reply-To: <InKdnR1lPMTWM273nZ2dnZfqn_adnZ2d@supernews.com> Content-Language: en-US, es-ES