Article View: comp.infosystems.www.authoring.stylesheets
Article #41Re: can I put a <p> line of text in a CSS file?
From: Stan Brown
Date: Thu, 12 Nov 2026 22:54
Date: Thu, 12 Nov 2026 22:54
35 lines
2045 bytes
2045 bytes
> 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.
On Wed, 11 Nov 2026 12:54:52 +0100, Manuel Collado wrote:
>
> Perhaps you could use the :before or :after CSS seudoelements:
>
> https://css-tricks.com/almanac/pseudo-selectors/b/after-and-before/
>
> HTH.
I concur.
--
Stan Brown, Tehachapi, California, USA
https://BrownMath.com/
Technical Details
Message-ID:
<MPG.455fe379dd8400439904ec@news.individual.net>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<gWOdnc9yl8cAwW73nZ2dnZfqnPudnZ2d@supernews.com> <MPG.455d09051cba07f59904eb@news.individual.net> <InKdnR1lPMTWM273nZ2dnZfqn_adnZ2d@supernews.com> <6e01e5b7-2901-4505-8e05-f0ddea0b37b1@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Stan Brown <someone@example.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: Thu, 12 Nov 2026 14:54:20 -0800 Lines: 35 Message-ID: <MPG.455fe379dd8400439904ec@news.individual.net> References: <gWOdnc9yl8cAwW73nZ2dnZfqnPudnZ2d@supernews.com> <MPG.455d09051cba07f59904eb@news.individual.net> <InKdnR1lPMTWM273nZ2dnZfqn_adnZ2d@supernews.com> <6e01e5b7-2901-4505-8e05-f0ddea0b37b1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: individual.net Vit21x/YoNj7mVzaiIuQLQpTRvjI3wC++vV4YA9yrFrTqPSpRf Cancel-Lock: sha1:nmJLbhwel5XSm0zKQldFu7HS17o= sha256:U7/4fsqwJnOCl3zORiFc9//VU9b03aPk5qS8c+kXJBA= User-Agent: MicroPlanet-Gravity/3.0.11 (GRC)