Thread View: comp.infosystems.www.authoring.stylesheets
5 messages
5 total messages
Started by Dale
Tue, 10 Nov 2026 18:04
can I put a <p> line of text in a CSS file?
Author: Dale
Date: Tue, 10 Nov 2026 18:04
Date: Tue, 10 Nov 2026 18:04
12 lines
1532 bytes
1532 bytes
can I put a <p> line of text in a CSS file? https://www.dalekelly.org/ will be browsing around -- Lore? -> https://www.dalekelly.org/
Re: can I put a <p> line of text in a CSS file?
Author: Stan Brown
Date: Tue, 10 Nov 2026 18:57
Date: Tue, 10 Nov 2026 18:57
13 lines
1305 bytes
1305 bytes
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?
If you want something that a person looking at the CSS can read,
/* a comment like this one */
is the way to go.
--
Stan Brown, Tehachapi, California, USA
https://BrownMath.com/
Re: can I put a <p> line of text in a CSS file?
Author: Dale
Date: Tue, 10 Nov 2026 23:52
Date: Tue, 10 Nov 2026 23:52
23 lines
2100 bytes
2100 bytes
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. > -- Lore? -> https://www.dalekelly.org/
Re: can I put a <p> line of text in a CSS file?
Author: 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. >> > >
Re: can I put a <p> line of text in a CSS file?
Author: 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/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads