Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Computer programs expand so as to fill the core available.


computers / comp.infosystems.www.authoring.stylesheets / latest

Re: clear:both after an element [THIS DOESN'T WORK] (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 47 Minutes ago by: Stan Brown

:-)

Re: clear:both after an element [THIS DOESN'T WORK] (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 2 Hours 42 Minutes ago by: Philip Herlihy

In article <877d6c1nkh.fsf@bsb.me.uk>, Ben wrote... Thanks, Ben. I've been groping this morning towards realising that - as you say - it adds content as the last child of the div. (I had already spotted the "adjacent sibling" alternat

Re: clear:both after an element [THIS DOESN'T WORK] (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 3 Hours 15 Minutes ago by: Ben

This adds content as the last child of div#abc so there is nothing to clear on either side: the content is in the div (as you can see). I've not been following closely, so this may already have been pointed out. Sorry if it has. What y

Re: clear:both after an element [THIS DOESN'T WORK] (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 4 Hours 19 Minutes ago by: Philip Herlihy

In article <MPG.3cf434d47a2b564f98ff3d@news.individual.net>, Stan Brown wrote... The inline-block was my attempt to solve the problem of having a right-aligned container with left-aligned contents. I just found if I take it out, it make

Re: clear:both after an element (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 18 Hours 59 Minutes ago by: Stan Brown

[stuff with display:grid] I'm grateful to both of you for posting. But elegance is in the eye of the beholder. To me the p.letterdateline + * solution seems the more elegant, at least in my application. I concede that it may not be ap

Re: clear:both after an element [THIS WORKS] (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 19 Hours 3 Minutes ago by: Stan Brown

[See top of subthread for origibal HTML.] I wondered about the need to wrap the <img> in a <div>; I thought making the <img> display:block might obviate the <div>; see the result below. Specifically, I modified your code like this: 1.

Re: clear:both after an element [THIS DOESN'T WORK] (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 19 Hours 4 Minutes ago by: Stan Brown

[See top of subthread for HTML.] Hmm -- I can't see why your "Doesn't work" should fail, unless it's the inline-block on the div#abc. But I'm not a CSS expert.

Re: clear:both after an element (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 19 Hours 27 Minutes ago by: Stan Brown

You're correct. I wanted just one container for the complete dateline, so <p class="letterdateline"> ... <br> ... <br> ... </p> did that. I feared if I had multiple <p> within a <div>, that the lining up wouldn't work as I wished. I d

Re: clear:both after an element (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 1 Day 3 Hours ago by: Philip Herlihy

In article <MPG.3cf2fa18de6fbc5098ff24@news.individual.net>, Stan Brown wrote... width: fit-content; .... seems to be the only size directive. J*'s solution does seem to be the most general, and I'm persuaded that grid is easier to

Re: clear:both after an element (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 1 Day 3 Hours ago by: Philip Herlihy

In article <568c10e8-648d1ff0-17220c13.tiberius@james.kirk.invalid>, J???? ???? wrote... That works! I have to say I have a real blind-spot for grid and flexbox. I get very little time these days to fool about with CSS, and it's often

Re: clear:both after an element [THIS DOESN'T WORK] (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 1 Day 15 Hours ago by: Philip Herlihy

In article <MPG.3cf38235ab5c33bf9899ef@news.eternal-september.org>, Philip Herlihy wrote... <!doctype html> <meta charset="utf-8"> <title>Doesn't work</title> <style> div#abc { background-color: #EEE; display: inline-block; flo

Re: clear:both after an element [THIS WORKS] (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 1 Day 15 Hours ago by: Philip Herlihy

In article <MPG.3cf38235ab5c33bf9899ef@news.eternal-september.org>, Philip Herlihy wrote... <!doctype html> <meta charset="utf-8"> <title>Does work</title> <style> img { float: right } div#abc::after { content: "## THE CONTENT

Re: clear:both after an element (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 1 Day 15 Hours ago by: Philip Herlihy

In article <MPG.3cf2f7cee228ce898ff23@news.individual.net>, Stan Brown wrote... ### Indeed I had somehow failed to register that - sorry! In fact the more I study your p.letterdateline selector above, the less I understand how it works (

Re: clear:both after an element (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 1 Day 17 Hours ago by: Stan Brown

Thanks for responding. I had never heard of display:grid, but when I looked it up I saw that it's necessary to define sizes of rows and columns, and I won't know that in advance. The table with margin-right: 0; margin-left: auto; lo

Re: clear:both after an element (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 1 Day 17 Hours ago by: Stan Brown

But in the course of writing your reply, you hit upon the C & E S. text-align:right is no good. That will line up the _last_ character of each line, but I want to line up the _first_ character of each line. I tried this with and w

Re: clear:both after an element (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 1 Day 19 Hours ago by: Jš•’š•žš•–š•¤ š

In Message <MPG.3cf17696f2a0a79898ff3a@news.individual.net> On Fri, 20 May 2022 10:58:20 -0700 Stan Brown <the_stan_brown@fastmail.fm> wrote: I suggest that display grid just may be what you are looking for. [snip] [snip] div {

Re: clear:both after an element (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 1 Day 20 Hours ago by: Philip Herlihy

In article <MPG.3cf17696f2a0a79898ff3a@news.individual.net>, Stan Brown wrote... Interesting puzzle. I bet there's a compelling and elegant solution, but I don't know what it is... First observation is that this may possibly not be an

clear:both after an element

comp.infosystems.www.authoring.stylesheets

Posted: 2 Days 21 Hours ago by: Stan Brown

Do I need a vacuous <div> to accomplish this, or is there something I can apply to the selector that actually contains text? I am formatting some letters. Each letter is headed by a dateline of two or three short lines, such as

Re: Conversion to HTML (thread)

comp.infosystems.www.authoring.html

Posted: 6 Days 14 Hours ago by: Robert Prins

OK, I've finished the initial conversion! The result, minus the covers (front/back) can be found @ <https://prino.neocities.org/temp/hey_now_hitchhikers!.html>, and it's exactly the same as the old book, except for the removal of a few t

Re: somethings about headers? (thread)

alt.html

Posted: 7 Days 7 Hours ago by: Lewis

Because you've been actively avoiding it. CSS2 has been around since 1998. that' not bad, though I prefer practical tutorials of describe a problem and show how to solve it and what the solution means.

Re: validation? (thread)

alt.html

Posted: 8 Days 3 Hours ago by: Arno Welzel

[...] No. When I click the button on your website, I get directed to this: <https://validator.w3.org/nu/?doc=https%3A%2F%2Fwireless.wiki.kernel.org%2Fen%2Fvendors%2Fvendorsupport> Please read my other post about using referers in brow

Re: validation? (thread)

alt.html

Posted: 8 Days 3 Hours ago by: Arno Welzel

Adding such icons makes no sense at all. You don't need to show visitors that your sites is valid HTML - this is just, what can be expected today anway. Also most browsers do NOT pass the referer to other domains any longer for security

Re: somethings about headers? (thread)

alt.html

Posted: 8 Days 3 Hours ago by: Arno Welzel

[...] <https://www.mygreatlearning.com/blog/css-tutorial/>

Re: validation? (thread)

alt.html

Posted: 8 Days 4 Hours ago by: Miner

Make sure that your HTML page are free from foreign code. Some shity hostings trying to insert own code. In this way valid HTML code become and invalid.

Re: validation? (thread)

alt.html

Posted: 8 Days 17 Hours ago by: Dale

its working now ...

validation?

alt.html

Posted: 8 Days 18 Hours ago by: Dale

I have been having some validation issues over the last couple days. If I go here ... https://validator.w3.org/ and enter ... https://www.dalekelly.org it validates in my site I have this validation code icon ... <a href="https://val

Re: somethings about headers? (thread)

alt.html

Posted: 9 Days 17 Hours ago by: Dale

I'm more of a systems person than a programmer USENET groups are such a nice source ... I'll try to do a WWW search first why read a book when you have access to "the information superhighway" ? w3schools is pretty good I have been h

Re: somethings about headers? (thread)

alt.html

Posted: 10 Days 3 Hours ago by: Philip Herlihy

In article <t5jbrb$nq0$2@dont-email.me>, Dale wrote... It's clear from the question above that you haven't read even a beginner's book on CSS (assuming you're genuine, which I can't). That's just wasting everyone's time. If I'm wrong a

Re: open link? (thread)

alt.html

Posted: 10 Days 18 Hours ago by: Dale

Thank You !!!! I still may be able to use iFrame elsewhere.

Re: open link? (thread)

alt.html

Posted: 10 Days 19 Hours ago by: John-Paul Stewart

www.whitehouse.gov sets "X-Frame-Options: DENY" in the headers to prohibit browsers from opening it in an iframe. You're simply not permitted to do what you're trying.

Re: open link? (thread)

alt.html

Posted: 10 Days 22 Hours ago by: Dale

this one works <iframe src="https://www.dalekelly.org/" title="Dale"></iframe> this following one says "refused to connect" <iframe src="https://www.whitehouse.gov/about-the-white-house/our-government/the-constitution/" title="Americ

Re: open link? (thread)

comp.infosystems.www.authoring.html

Posted: 10 Days 22 Hours ago by: Dale

Thank You !!!! Looks like it will fit https://www.w3schools.com/tags/tag_iframe.asp I'll give it a try and get back

Re: somethings about headers? (thread)

alt.html

Posted: 10 Days 22 Hours ago by: Dale

C'mon ...

open link?

alt.html

Posted: 10 Days 22 Hours ago by: Dale

Hi, I know how to put a link on a page. But how can I put an opened link on a page?

Re: somethings about headers? (thread)

alt.html

Posted: 11 Days 4 Hours ago by: Philip Herlihy

In article <slrnt7p7in.1a1v.g.kreme@zephyrus.local>, Lewis wrote... For the killfile, then, sadly. I'm quite happy to help a beginner along - very often a thoughtful explanation of something you'd forgotten you once puzzled over can unb

Re: somethings about headers? (thread)

alt.html

Posted: 11 Days 9 Hours ago by: Lewis

It's been years, he's obviously not going to do that.

Re: somethings about headers? (thread)

alt.html

Posted: 12 Days 5 Hours ago by: Philip Herlihy

In article <jdv3vfFq1u3U1@mid.individual.net>, Arno Welzel wrote... .... +1

Re: somethings about headers? (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 12 Days 12 Hours ago by: Sam Hill

No, that is what _I_ said. You can't use it, too.

Re: somethings about headers? (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 12 Days 12 Hours ago by: Stefan Ram

Supersedes: <headers-20220511031627@ram.dialup.fu-berlin.de> [header->heading] Sam Hill <sam@example.com> writes: There is no reason why headings need to be bold. There are enough other ways to make clear that something is a heading,

Re: somethings about headers? (thread)

comp.infosystems.www.authoring.stylesheets

Posted: 12 Days 12 Hours ago by: Stefan Ram

There is no reason why headers need to be bold. There are enough other ways to make clear that something is a header, for example vertical spacing. No, _you_ need to open your mind to the many ways headers can be formatted.

Re: somethings about headers? (thread)

alt.html

Posted: 12 Days 21 Hours ago by: Sam Hill

If that was the first thing that came to your mind, I think you need to step back from the CSS and instead concentrate on how to plan a document and its parts. [Excerpt:]

Re: somethings about headers? (thread)

alt.html

Posted: 12 Days 22 Hours ago by: Dale

how can I change the size of a <p> ?

Re: somethings about headers? (thread)

alt.html

Posted: 12 Days 22 Hours ago by: Dale

Thank You !!!!

Re: somethings about headers? (thread)

alt.html

Posted: 12 Days 22 Hours ago by: Lewis

CSS is your friend. (we have covered this before). All HTML tags have a default CSS associated with them. The h# tags have a default style of bold. As with anything else in HTML, you can use CSS to change these defaults.

Re: somethings about headers? (thread)

alt.html

Posted: 12 Days 23 Hours ago by: Jukka K. Korpela

It’s called “heading”. By using CSS: <style> h2 { font-weight: normal } </style> This makes all h2 elements not bold. If you use the CSS code I suggested, you need to override it. You can use various selectors to select one

Re: somethings about headers? (thread)

alt.html

Posted: 13 Days 2 Hours ago by: Arno Welzel

By adding the required style as CSS: font-weight: normal By adding the required style as CSS: font-weight: bold I'm curious - you managed to learn how to add a style inline but you don't know about font attributes? Maybe you should

Re: somethings about headers? (thread)

alt.html

Posted: 13 Days 3 Hours ago by: Sam Hill

If it's not to be bold, it is probably not a "header". Use something else, maybe: <p>This is not bold text.</p> The default _is_ bold, so let it be. I think you need to rethink what "headers" really are.

somethings about headers?

alt.html

Posted: 13 Days 5 Hours ago by: Dale

Here is a header ... how do I have it not bold? the default is bold Here is a colored header ... <h2 style="color: #818285;">Text</h2> how do I have that one bold?

48 recent articles found.

rocksolid light 0.7.2
clearneti2ptor