Search found 117 matches

by paulp575
Sat Jul 31, 2021 11:15 pm
Forum: CSS (Cascading Style Sheets)
Topic: Convert HTML to CSS
Replies: 3
Views: 19

Re: Convert HTML to CSS

Not working because I didn't provide all the details. Let's try again - sorry. Here's the original code: <tr> <th style="border-right:1.4em solid #0BDA51">(year)</th> <td>Green Text here</td> </tr> <tr> <th style="border-right:1.4em solid #ff0000">(year)</th> </tr> Note: The seco...
by paulp575
Sat Jul 31, 2021 12:25 pm
Forum: CSS (Cascading Style Sheets)
Topic: Convert HTML to CSS
Replies: 3
Views: 19

Re: Convert HTML to CSS

Again - that worked.

Thanks.
by paulp575
Fri Jul 30, 2021 11:52 pm
Forum: CSS (Cascading Style Sheets)
Topic: Convert HTML to CSS
Replies: 3
Views: 19

Convert HTML to CSS

How would I write this for a style sheet:

Code: Select all

<tr><th style="border-right:1.4em solid #228B22">2021</th></tr>
I've tried a variety of BORDER-WIDTH-RIGHT and included a color, but nothing is working. It's either nothing or the color covers the text.

Thanks.
by paulp575
Mon Jul 26, 2021 10:53 pm
Forum: CSS (Cascading Style Sheets)
Topic: [SOLVED] How To Code a Thin Orange Line (HTML5)
Replies: 5
Views: 58

Re: How To Code a Thin Orange Line (HTML5)

As usual, you solved my problem.

I don't understand the difference between *.HR and just HR.

A long time ago I was advised (maybe by you? or following other examples to use *. in front of classes.
by paulp575
Mon Jul 26, 2021 4:57 pm
Forum: CSS (Cascading Style Sheets)
Topic: [SOLVED] How To Code a Thin Orange Line (HTML5)
Replies: 5
Views: 58

Re: How To Code a Thin Orange Line (HTML5)

Doesn't work - I think. Rather than using style in the HTML, I prefer to use CSS to style it. Here's my style: *.HR { BORDER: 1px solid #fabd23; } This produces a dark line - can't tell if it's black or dark gray. Changing the color to red doesn't change the line. Changing the size to 10px also does...
by paulp575
Sun Jul 25, 2021 1:52 pm
Forum: CSS (Cascading Style Sheets)
Topic: [SOLVED] How To Code a Thin Orange Line (HTML5)
Replies: 5
Views: 58

[SOLVED] How To Code a Thin Orange Line (HTML5)

How do I change the following HTML 4.01 transitional code

Code: Select all

<hr class="TABLE-CENTERED WIDTH75P" size="1" color="#fabd23" noshade>
to be HTML compliant?

The end result should be a thin (1ipixel high?) orange line with no background shading.
by paulp575
Sun Jul 25, 2021 11:46 am
Forum: CSS (Cascading Style Sheets)
Topic: [SOLVED] Tables (HTML5) - Here We Go Again!!!
Replies: 2
Views: 40

Re: Tables (HTML5) - Here We Go Again!!!

That worked - thank you!
by paulp575
Sat Jul 24, 2021 6:45 pm
Forum: CSS (Cascading Style Sheets)
Topic: [SOLVED] Tables (HTML5) - Here We Go Again!!!
Replies: 2
Views: 40

[SOLVED] Tables (HTML5) - Here We Go Again!!!

Trying to do an HTML5 document where I have 2 tables. I'd like the first table to have NO borders and the second table will have a 1px border black. Here's my CSS: table.FIRST, td.FIRST { BORDER: none; PADDING: 3px; } table.SECOND, th.SECOND, td.SECOND { BORDER: 1px solid #000000; BORDER-COLLAPSE: c...
by paulp575
Wed Jul 21, 2021 5:12 pm
Forum: CSS (Cascading Style Sheets)
Topic: [ANSWERED] Wrapping Indented Lists (HTML5)
Replies: 3
Views: 48

Re: Wrapping Indented Lists (HTML5)

Yes, I am using "ul" to indent a list.

So I guess that "tip" I'm seeing is just a reminder; not necessarily a problem.

I always try to ensure all of my web pages are as free as possible from errors/warnings.
by paulp575
Wed Jul 21, 2021 3:46 pm
Forum: CSS (Cascading Style Sheets)
Topic: [ANSWERED] Wrapping Indented Lists (HTML5)
Replies: 3
Views: 48

[ANSWERED] Wrapping Indented Lists (HTML5)

In the past I've used the combination of <ul> and <li> to display indented lists. Checking my document that is HTML5 gives me the following tip: Never use "ul" elements (nor "dl" elements) only to create indentation. This is bad practice, bad for accessibility, and ignores the me...
by paulp575
Wed Jun 23, 2021 2:03 pm
Forum: HTML and XHTML
Topic: [RESOLVED] File Not Found Error
Replies: 3
Views: 165

Re: File Not Found Error

Found the problem: I stepped through the error until it showed where the actual error was. It was much further down in the file where I was using <a href="6-81445"> which should have obviously been <a href="#6-81445"> (notice the missing pound sign at the beginning of the link?)....
by paulp575
Wed Jun 23, 2021 12:04 am
Forum: HTML and XHTML
Topic: [RESOLVED] File Not Found Error
Replies: 3
Views: 165

[RESOLVED] File Not Found Error

Why is HTML Validator displaying the error message "File Not Found" for the first reference for item 6-81445. It's displaying the error for the first ocurrence of 6-81445. It should not be doing this as this is a comment. I have copied and pasted several lines before and after the line tha...
by paulp575
Sat Jun 19, 2021 11:30 am
Forum: HTML and XHTML
Topic: [SOLVED] Where to place the "id=" when using <a href'#" to link to it (HTML5)
Replies: 10
Views: 550

Re: Where to place the "id=" when using <a href'#" to link to it (HTML5)

Okay - so I can place a span tag inside a span? Great! That will solve several message HTML validator keeps displaying.
by paulp575
Sat Jun 19, 2021 12:13 am
Forum: HTML and XHTML
Topic: [SOLVED] Where to place the "id=" when using <a href'#" to link to it (HTML5)
Replies: 10
Views: 550

Re: Where to place the "id=" when using <a href'#" to link to it (HTML5)

Decided to slowly work on updating this page to HTML 5, but need help with: Can the id="(text here)" be used twice in the same line - for example, I have this (they are on two lines): <span id="LIONEL_75TH_ANNIVERSARY_SPECIAL" class="TEXT-BOLD TEXT-SIZE-16PT">Lionel 75t...
by paulp575
Wed Jun 16, 2021 2:18 am
Forum: CSS (Cascading Style Sheets)
Topic: [SOLVED] Border Outset
Replies: 1
Views: 367

[SOLVED] Border Outset

Trying to set a table with border outset (HTML 5 using CSS). My code: *.TABLE-BORDER-5PX-OUTSET { BORDER: solid 5px #000000; BORDER-STYLE: outset; } HTML validator is displaying the following CSS Multiple Definition: The "border" shorthand property and the "border-style" property...