Thread: Computers Anyone good at web code/php
View Single Post
Old 08-02-2020, 08:30 PM   #13
displacedinMN displacedinMN is offline
It was not a fair catch
 
displacedinMN's Avatar
 

Join Date: Aug 2012
Location: Correcting papers
Casino cash: $2812630
Quote:
Originally Posted by kccrow View Post
I should really address the OP here... I don't do a whole hell of a lot in the web scripting world anymore but I did at one point and I try to at least partially keep up on it.

You really "should" take the in-line styling out of your HTML and put it in CSS.

It's not a deal breaker, it just forces anyone looking at your web code to dig through all of the HTML for styles (or vice versa when looking at structure and sifting through style) which can suck.

Here's a good article on handling iframes - https://blog.theodo.com/2018/01/resp...mes-css-trick/

Other than that, just looking at your page source, you need to declare !DOCTYPE html at the start of your page and remove meta tag from it to validate HTML5.

I'd also ditch using tables for layout and switch to divs, headings, paragraphs, spans, etc and properly align with CSS. Nice article here on staying out of table and div hell -
https://www.smashingmagazine.com/200...l-to-div-hell/

I have looked into a few of those things, but just do not have the brain power to get crazy. I do not know how to do CSS. When I put !DOCTYPE It change the entire layout of the page. Like I said-wire and duct tape off a template from years ago.
I do code in spurts. When I can.
__________________

#investigatecarlcheffers
Posts: 36,397
displacedinMN is obviously part of the inner Circle.displacedinMN is obviously part of the inner Circle.displacedinMN is obviously part of the inner Circle.displacedinMN is obviously part of the inner Circle.displacedinMN is obviously part of the inner Circle.displacedinMN is obviously part of the inner Circle.displacedinMN is obviously part of the inner Circle.displacedinMN is obviously part of the inner Circle.displacedinMN is obviously part of the inner Circle.displacedinMN is obviously part of the inner Circle.displacedinMN is obviously part of the inner Circle.
    Reply With Quote