Coding.

  • 9
    Posts
    21
    Years
    • Seen Nov 19, 2019
    Ok. This is not flaming sites. This is only making them aware. Anyways, most pokemon webbys follow the general rule of decent layoutage and codage. However, every once in awhile it appears that someone doesnt code right. At least not right enough to where its noticable.


    Here are two example sites that dont have proper coding.

    https://www.phgamer.com/pikasurf.png
    https://www.phgamer.com/theapcc.png

    This is of course a rare incident but none the less relevant. The point is that some decent coding should have avoiding this. My suggestion is that Webmasters just try as many browsers as possible to check for errors. Now that doesnt mean they have to go all the way back to ie 3. o lordy no. but none the less Mozilla should be one to be tried.

    Now errored coding shouldnt be confused with stupids coding. Which is on purposely making a web page only one code cause your too lazy to support other browsers. Most browsers today can read most pages but back in the day there was this Pokemon Webby that would only code for IE on Windows. It was absolutly horendous. Any other browser it did not work or IE on different platforms. He did it on purpose and he though he was 1337 because of it. Truth is, he wasnt and it was quite annoying.

    In the end the best thing to do is borrow books, look on the websites, and just use common judgement and the web will be a prettier place. Just like this persons layout

    https://www.phgamer.com/pkmnvillage.png

    though dont forget to post your news file up or you wont see nothing on this index like this guy ;)

    Authors Note: I know half the people here have 56k so i put the images as links so as not to let the topics page load too long.
     
    Wow, those sites do show up weird on that browser. I guess that using universal tags and checking that you close of all your tags, etc. is the best way to solve the problem? Obviously, nothing beats testing in different browsers...but ways of preventing the problem...
     
    Don't worry, I recoded my whole site. I closed all tags and made them XHTML compliant, so hopefully my site looks better in all browsers.
     
    Yes I know. pkmnvillage's site isnt coded perfectly. My point was though that its gotten to the point where you can actually tell it isnt.

    No Konqueror stable. I should get the new one from KDE 3.2 BETA. But thats later. the point is it dont work now. lol.

    As for The APCC yours still looks messed up. My guess it might not only be a coding error but a design flaw. Some people have the right code but the entire way they use it is totally wrong as far as design is concerned. Besides, you have tons of errors when validating yours (My browser has a button for validation, but I was trying to make a point earlier about something else), and the fact your doc type is HTML 4.0 transitional. There should be no reason to make it XHTML compliant in the first place. Follow your Doc Type amigo.
     
    :confused: all the webpages look fine on my browser. mmm, i wonder if there are errors in my coding.
     
    MasterJosh said:
    Yes I know. pkmnvillage's site isnt coded perfectly. My point was though that its gotten to the point where you can actually tell it isnt.

    No Konqueror stable. I should get the new one from KDE 3.2 BETA. But thats later. the point is it dont work now. lol.

    As for The APCC yours still looks messed up. My guess it might not only be a coding error but a design flaw. Some people have the right code but the entire way they use it is totally wrong as far as design is concerned. Besides, you have tons of errors when validating yours (My browser has a button for validation, but I was trying to make a point earlier about something else), and the fact your doc type is HTML 4.0 transitional. There should be no reason to make it XHTML compliant in the first place. Follow your Doc Type amigo.

    First of all, I wasn't telling the whole truth. I didn't mean that my site was actually in XHTML, but I just fixed up my coding so if I want to change it to XHTML one day it would be easier. All I did was make sure that I closed all my tags, specified an alt tag for all images so that search engines could find them and index them and include a height and width for all images so that they load faster because even in HTML, you are suposed to do that. I also specified a class for all tables and links instead of just filling in attributes for each table like bgcolor. I didn't do anything fancy smany or mess anything up. I listened to you and all the other HTML tutorials on the Internet and cleaned up my coding. So how did I do anything wrong? My new formatted layout now has 18 errors! I used to have over 500 and now it has 18! You see anything wrong with that? Oh yeah, 8 of them are caused by a malfunction in the program that assumes the & symbol is a mistake, so I actually have like 10 errors. That is a lot better than 600 isn't it? So what else can I do to please you oh Master Josh? Do you think I'm wasting my time and space with the image tags by specify alt, width and height for each one? I'm just don't what other tutorials said to do!
     
    Last edited:
    touchy. ala. :-p as far as im concerned I was pointing out that it should just work. thats all. Even if you had 8 errors fine! then why does your site looked messed up! Geez.
     
    MasterJosh said:
    touchy. ala. :-p as far as im concerned I was pointing out that it should just work. thats all. Even if you had 8 errors fine! then why does your site looked messed up! Geez.

    Because the top banner is cut into three pieces for ad banner. Next question, please!
     
    A common problem which many webmasters do wrong is not close tags... Remember this;
    ALL TAGS NEED TO BE CLOSED!
    If it's an img tag, close it like this <img src="whatever.jpg" border="0" alt="Whatever" />
    remember to also use ALT on all of your img tags...

    And God knows how many <br> I've seen. Even many scripts supposibly coded by pros have <br>... thing is <br> should be <br />

    Also many meta tags are not closed.. close them the same way
    <meta Whatever{Space}/>

    Avoid those problems and you should be ok...
    Oh, one more thing... Never set "Height" in tables... They don't really excist. It's just something Microsoft invented for IE only...

    P.S. Thanks to SA for teaching me this ^_^
     
    o_o If you're using plain HTML, you don't really need to close each tag (such as <br />). That's just for if you're using XHTML.

    It doesn't hurt to do it anyway, though. XP
     
    Lightning said:
    o_o If you're using plain HTML, you don't really need to close each tag (such as <br />). That's just for if you're using XHTML.

    It doesn't hurt to do it anyway, though. XP
    It is not a requirement of html but for logic and forward compatibility purposes, it is good to do it anyway. Not to mention XHTML 1.0 Transitional is basically HTML 4.01 Transitional with a few more guidelines and XML support. It is so easy to code according to it, there isn't much sense in using the older specification.

    Btw, MasterJosh, would you tell me how Pokemon Fan Universe looks in Konqueror? I haven't used it for testing. Primarily since I don't have a copy of it and I don't know much about it. I'm interesting in seeing (or at least hearing about) how it looks.
     
    Ummmm <br />
    hmmm ok so i use a older code <br>oh but look it didn't work<br />
    ok thats better, guess the newer one works<br />
    <br />
    heh!
     
    PPNSteve said:
    Ummmm <br />
    hmmm ok so i use a older code <br>oh but look it didn't work<br />
    ok thats better, guess the newer one works<br />
    <br />
    heh!

    XD, lol... I guess you learn something new every day XD
     
    Shining Arcanine. Your site looks good in konqueror though a bit plain layout IMO :-p Still though none the less it works and it is a valid webpage. Konqueror is essentially KHTML so if you have apple safari then you probably know how it looks like in konqueror. My suggestion. Go to https://knopper.net/knoppix/index-en.html and get Knoppix. Its a linux live evualtion cd (a debian based distro os all on the CD) which runs on startup. No need to install or mess with your system and it has both mozilla and konquerer on there.
     
    MasterJosh said:
    Shining Arcanine. Your site looks good in konqueror though a bit plain layout IMO :-p Still though none the less it works and it is a valid webpage. Konqueror is essentially KHTML so if you have apple safari then you probably know how it looks like in konqueror. My suggestion. Go to https://knopper.net/knoppix/index-en.html and get Knoppix. Its a linux live evualtion cd (a debian based distro os all on the CD) which runs on startup. No need to install or mess with your system and it has both mozilla and konquerer on there.

    Do you have any examples of bright vibrant layouts that I could get ideas from? Creating graphics based layouts is not my style but I'd like to have one in my theme selector (just thought I would use a less technical name, it is actually known as a style switcher).
     
    Shining Arcanine said:
    Do you have any examples of bright vibrant layouts that I could get ideas from? Creating graphics based layouts is not my style but I'd like to have one in my theme selector (just thought I would use a less technical name, it is actually known as a style switcher).
    And this is coming from the guy who thinks that a Pokeball background with black text and the ocational underline and bold is "stylin' whoooo and profilin'!" I'm sorry to say this, but your layout is reminicent of those old Pokemon sites from 1998 on Angelfire. Hey, at least your site is better than Maxpages! :P
     
    Alakazam said:
    And this is coming from the guy who thinks that a Pokeball background with black text and the ocational underline and bold is "stylin' whoooo and profilin'!" I'm sorry to say this, but your layout is reminicent of those old Pokemon sites from 1998 on Angelfire. Hey, at least your site is better than Maxpages! :P

    I agree with you alakazam, that kinda looked like my first site about 4-5 years ago,lol...

    Anyways, dont want this topic to get closed, so no more of that

    Whats the big deal w/proper coding anyways? Aslong as it looks good externally, and no visible errors, thats fine with me.
     
    Well it matters because if it ain't propperly coded then many people who use different browers or systems might see the website as looks very, VERY wierd.
    Plus your site would gain points with webmasters who surf your site, AND if you do it right your site would load much faster...
    Example. PPN is FULL of tables and gif pics, it takes ages to load even for me (I have Broadband)

    So there are a few good points with well coded sites ^_^


    P.S. I'm making a new layout for PPN :D
     
    Gecko said:
    Example. PPN is FULL of tables and gif pics, it takes ages to load even for me (I have Broadband)

    Really? I'm running on 56K and the page loads within 7 seconds.
     
    Back
    Top