|
|
07-27-2020, 05:49 PM | Topic Starter |
It was not a fair catch
Join Date: Aug 2012
Location: Correcting papers
|
Anyone good at web code/php
I need help.
My usually helpers are not getting back to me. Need to update my weather site. We would PM or email Last edited by displacedinMN; 07-27-2020 at 05:55 PM.. |
Posts: 37,876
|
07-27-2020, 07:58 PM | #2 |
George Brett shit his pants
Join Date: Apr 2006
Location: At the Bellagio
|
Whoever helps him, teach me how to code once you are done. Maybe can be my second career. I heard there is nobody as old as me in the coding employment though since the all start when they are like 10.
|
Posts: 48,379
|
07-30-2020, 07:27 PM | #3 |
He's Mahomie!
Join Date: Aug 2001
Location: Jax, FL
|
I used to remember a site where you could get folks from around the world to bid on a job for cheap...
|
Posts: 17,387
|
07-30-2020, 09:29 PM | #4 |
Politically Incorrect
Join Date: Feb 2009
Location: Scottsdale, AZ
|
|
Posts: 52,086
|
07-31-2020, 02:47 PM | #5 |
MVP
Join Date: Oct 2011
Location: Michigan
|
|
Posts: 12,723
|
08-01-2020, 09:49 AM | #6 |
It was not a fair catch
Join Date: Aug 2012
Location: Correcting papers
|
I got one thing figured out. If anyone knows of someone that needs a project.
My website is put together with duct tape and electric fence wire. I would give them the code and let them update it to html5 standards. |
Posts: 37,876
|
08-01-2020, 12:24 PM | #7 |
Live free or die hard
Join Date: Sep 2000
Location: Durango, CO
|
Another thing you may want to consider is hitting the reset button and starting from scratch working with a service such as SquareSpace.
As long as you keep the URL the transition should be transparent to front end users. It's easier than ever to build a website with basic knowledge of how to navigate around a PC. |
Posts: 27,010
|
08-01-2020, 05:10 PM | #8 | |
It was not a fair catch
Join Date: Aug 2012
Location: Correcting papers
|
Quote:
https://rms-weather.rdale.org/ |
|
Posts: 37,876
|
08-01-2020, 07:31 PM | #9 |
Elway be drinkin' again
Join Date: Dec 2017
Location: Colorado USA
|
I stayed at a Holiday Inn Express 2 weeks ago and yet I have no idea what code is or why a rabbit or working up would help
|
Posts: 4,902
|
08-01-2020, 08:10 PM | #10 | |
It was not a fair catch
Join Date: Aug 2012
Location: Correcting papers
|
Quote:
PHP Code:
|
|
Posts: 37,876
|
08-01-2020, 08:22 PM | #11 | |
Elway be drinkin' again
Join Date: Dec 2017
Location: Colorado USA
|
Quote:
|
|
Posts: 4,902
|
08-02-2020, 04:08 PM | #12 |
MVP
Join Date: Oct 2011
Location: Michigan
|
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/ |
Posts: 12,723
|
08-02-2020, 08:30 PM | #13 | |
It was not a fair catch
Join Date: Aug 2012
Location: Correcting papers
|
Quote:
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. |
|
Posts: 37,876
|
08-06-2020, 11:51 PM | #14 | |
MVP
Join Date: Oct 2011
Location: Michigan
|
Quote:
PHP Code:
As for the CSS, you know more than you think because you have inline CSS going on with what you have now. The difference is learning the calls, which may not take you that long. This may or may not help but at least its a tiny intro... Let's say you want to color a div background red and you want all the text in the paragraphs in that div to be white. The div is going to be given an id selector and the paragraph a class selector. Generally speaking, you'd give an id to something you're going to style once and you'd give a class to something you're going to style many times. That is, an id will identify a single element whereas the class will identify many elements. The html would look like: PHP Code:
Then you have a separate document that's saved as "something.css" You call that style sheet in the head of your html with a link reference like: PHP Code:
The html will call the css file and apply the formats. Inside, the css is similar to what you do inline, but you put it in brackets {} A # calls an id and a . calls a class. If you want to style all paragraphs with a class="ptext" then you'd put p.ptext1, for example. If you class many different elements with ptext1, such as various headings (h1, h2, etc), then you can just use .ptext1 (drop the p because you're applying to more than paragraphs) and it will style every type of element with that class the same. So inside "something.css" you'll have something like this: PHP Code:
This applies formatting to the div with the id="container" and it applies formatting to all paragraphs with the class="ptext1". If you want to apply class attributes only within a specific id, then you'd change the css for ptext1 to look like: PHP Code:
|
|
Posts: 12,723
|
08-03-2020, 02:52 AM | #15 |
Politically Incorrect
Join Date: Feb 2009
Location: Scottsdale, AZ
|
I really thought this thread title was:
"Anyone good with Weed Coke/PCP" |
Posts: 52,086
|
|
|