ChiefsPlanet Mobile
Page 1 of 2
1 2 >
Media Center>Anyone good at web code/php
displacedinMN 05:49 PM 07-27-2020
I need help.
My usually helpers are not getting back to me. Need to update my weather site.

We would PM or email
[Reply]
BWillie 07:58 PM 07-27-2020
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.
[Reply]
MahiMike 07:27 PM 07-30-2020
I used to remember a site where you could get folks from around the world to bid on a job for cheap...
[Reply]
scho63 09:29 PM 07-30-2020
Originally Posted by MahiMike:
I used to remember a site where you could get folks from around the world to bid on a job for cheap...
TaskRabbit is one

UpWork is another
[Reply]
kccrow 02:47 PM 07-31-2020
Originally Posted by scho63:
TaskRabbit is one

UpWork is another
Also add Amazon Turks
[Reply]
displacedinMN 09:49 AM 08-01-2020
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.
[Reply]
Otter 12:24 PM 08-01-2020
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.
[Reply]
displacedinMN 05:10 PM 08-01-2020
Originally Posted by Otter:
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.
I have self taught myself the basics of html for my weather site. It has been modified and improved a lot over the 10 years. Server space is never an issue. It is on the school server. I can drop anything they and they dont know about it.

https://rms-weather.rdale.org/
[Reply]
Shiver Me Timbers 07:31 PM 08-01-2020
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
[Reply]
displacedinMN 08:10 PM 08-01-2020
Originally Posted by Shiver Me Timbers:
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


PHP Code:
NWS Weather Story of the Day

<div style="border: 3px solid rgb(0, 0, 0); overflow: hidden; margin: 15px auto; max-width: 1000px;">
<
iframe scrolling="no" src="https://www.weather.gov/mpx/weatherstory" style="border: 0px none; margin-left: -150px; height: 1175px; margin-top: -300px; width: 1300px;">
</
iframe>
</
div
NWS Weather Story of the Day





[Reply]
Shiver Me Timbers 08:22 PM 08-01-2020
Originally Posted by displacedinMN:
PHP Code:
NWS Weather Story of the Day

<div style="border: 3px solid rgb(0, 0, 0); overflow: hidden; margin: 15px auto; max-width: 1000px;">
<
iframe scrolling="no" src="https://www.weather.gov/mpx/weatherstory" style="border: 0px none; margin-left: -150px; height: 1175px; margin-top: -300px; width: 1300px;">
</
iframe>
</
div
NWS Weather Story of the Day




I got nothing.....
[Reply]
kccrow 04:08 PM 08-02-2020
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/
[Reply]
displacedinMN 08:30 PM 08-02-2020
Originally Posted by kccrow:
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.
[Reply]
scho63 02:52 AM 08-03-2020
I really thought this thread title was:

"Anyone good with Weed Coke/PCP"
[Reply]
kccrow 11:51 PM 08-06-2020
Originally Posted by displacedinMN:
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.
PHP Code:
<!DOCTYPE htmlgoes before <htmli.efirst line of 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:
<div id="container1">
<
class="ptext1">Some Text</p>
</
div

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:
<head>
<
link rel="stylesheet" type="text/css" href="folder_where_you_saved_css_file/something.css">
</
head

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:
#container {
background-colorrgba(255001);
}

p.ptext1 {
font-familysans-serif;
font-size14px;
font-stylenormal;
font-weightbold;
font-variantsmall-caps;
colorwhite;


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:
#container p.ptext1 {
font-familysans-serif;
font-size14px;
font-stylenormal;
font-weightbold;
font-variantsmall-caps;
colorwhite;

This will apply the formatting to all paragraphs classed as ptext1 only within the div with the id container. This is most useful when handling nested things because, for instance, any child divs will inherit parent div markup.
[Reply]
Page 1 of 2
1 2 >
Up