That makes sense. I actually think I like the table style...
Thu Nov 03, 2022 11:24am
over the CSS style. It just "works" and looks solid on every browser.
Being Perl based, it also is cool that you can just include the side menu, top header, and footer on each dynamic page. When I had the static site set up at the time, I had each of those copy & pasted into each HTML file which made updating things in those sections a nightmare. Now it's just an outer html page with those pieces and the content is in an iframe which older browsers and mobile don't like. (thus the "basic" site)
I wasn't familiar with CSS yet (at all), so went back to the tables based layout because I knew how to do that. I'll have to see if I've got anything else saved on a hard drive somewhere. It was a school project, so that means you sometimes do stuff that doesn't make sense to make sure it's all your... more
That makes sense. I actually think I like the table style...- Erik_,Thu Nov 03 2022 11:24am
Just simply having the ability to include files so you write the code once and are done. I'm surprised how long it took for HTML to get an include ability. It's also good for security--rather than testing 100 files with the same code, you test once and are done. No little typos sneaking in to page... more
I thought it was just stuff in the header like css and such but not actual page content. Yeah, I thought maybe once IE was gone things would be better but it seems like there's still fights between browsers rendering stuff correctly.
It's like <!--include "file"--> which is a HTML comment. I guess there's another way to do it, as duckduckgo is showing me other options rather than the method I was learning. The tricky thing is to always send your headers first. With includes it's easy to get the body sent before the header... more
I'll have to check in the DB what that post actually said. :) Edit: Fixed the message. Looks like because we have HTML enabled, the comment code was allowed. It was also missing a "-" in the closing bracket so it just commented out the rest of the page.