On 2/1/2021 1:17 PM, Robert Prins wrote:
I'm trying to convert existing html/css into something that's using more CSS
and
less in-line styles, and I'm baffled by the fcat that one of the five pages
is refusing to honour the max-width.
The site is at <https://prino.neocities.org/www/chp/cover.html>, and you can
just click the title, and follow that by clicking the ">" arrow two times to
arrive at <https://prino.neocities.org/www/chp/report.html> and that page is
just wide, wide, wide.
I have the suspicion that this is caused by the fact that it uses a table to
format the page, and
<https://stackoverflow.com/questions/51801266/why-is-table-layout-fixed-
affecting-the-width-of-the-parent-element>
sort of seems to confirm this, and I'd be grateful if anyone can confirm
this.
And yes, this would be another reason to get rid of all the nested tables to
format the page!
Robert
According to <http://validator.w3.org/>, the Web page at <https://prino.neocities.org/www/chp/report.html> has 11 errors,
including at least one error relating to the "style" element.
dale wrote:
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
https://www.w3fools.com/
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 212:16:41 |
Calls: | 6,619 |
Calls today: | 1 |
Files: | 12,168 |
Messages: | 5,317,371 |