Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    9
    Member #
    33949
    My current webpage starts like this.

    <!DOCTYPE HTML PUBLIC"..//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3org/TR/html/loose.dtd">
    <html lang="en">
    <head>
    <meta charset="utf-8"/>
    <title>FUNNYTHINGS<titletype="text/css"/>
    <meta name="description" content="FUNNYTHINGS"/>

    Ive seen other Docs that just say <!DOCTYPE html">

    Im using notepad+ and I validated the page, but it says their is no doctype or something, and nothing can be guaranteed. My images arent displaying, so, I dont know if this is the correct doctype opening,.

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    An invalid doctype, and that doesn't appear to be one, generally won't make images not show up by itself. Usually when images don't show up, it's when someone doesn't have the right path to them. They're often editing it in something like Dr*amw*av*r and the program insists on putting paths to the file based on hard drive location rather than the correct path.

    Upload your page somewhere and give us a link.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Nov 2012
    Posts
    9
    Member #
    33949
    , Im using IE9 its an old computer, about 11 years old. so, I dont know if this is the correct standard code for IE9.
    I read online, that I should be using strict, not transitional.

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    If your doctype has both strict and transitional variants, you generally should code to the strict doctype variant just for the sake of making sure your code is as tight as possible. It's not always possible (sometimes you need something such as an iframe that a strict doctype may not allow), but as a general rule it's good practice.

    There's no correct doctype for a browser. All doctypes are "correct", and other than HTML5 will work in the major browsers (HTML5 doesn't natively work in IE8 or lower, although it can be made to).

    Again, post your link and someone can tell you what's up. It sounds like you're hung up on a doctype and the doctype probably isn't the issue.
    spencer likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  6. #5
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    IE9 has to be installed on a win7 or above machine.

    Regardless, how the browser behaves has nothing to do with the OS or age or machine. I have a tiny little netbook, running a mobile processor ( for testing ), it runs chrome and IE8 fine...

    The doc type is an instruction to browser to tell the pre-processor if it needs to load anything extra... Problem is... Those that don't fully understand how a doc type works, or what it does can actually hurt their site performance ( or at least how the visitor sees the site ).

    Oh... If you are using DW... Make sure to create a "site" within the program... And turn off "absolute paths"... HTML and CSS rely on "relative" paths.

  7. #6
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    It will work on Vista as well, so it is possible that an 11-year-old computer could handle the requirements. Bit of a stretch, though.
    spencer likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  8. #7
    Junior Member
    Join Date
    Nov 2012
    Posts
    9
    Member #
    33949
    the code is:

    <!DOCTYPE HTML PUBLIC"..//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3org/TR/html/loose.dtd">
    <html lang="en">
    <head>
    <meta charset="utf-8"/>
    <title>FUNNYTHINGS</title>
    <style type="text/css"/>
    <meta name="description" content="northerncapeescorts"/>

    body {
    background-image:url ("ESbackground.jpg") position:absolute; left:200px; background-position:center; background-repeat: no repeat; background-attachment:scroll; z-index:2;
    }
    #headingpic { display:block; position:absolute; top:50px;
    }
    #heading { display:block; position:absolute; top:80px; left:500px;
    z-index:2; font-size:500px; font:weight:100px;
    }
    #navmenu { display:block; position:absolute; top:80px; left:500px; z-index:2; font-size:50px; font-weight:100px;
    }
    #navmenu li { display:inline; position:relative; top:190px; left:100px; z-index:3; padding:10px; margin:20px; text-decoration:none; color:#36ac7a; font-weight:200px;
    }
    h1 { display:inline; position:relative; z-index:3; left:150px;
    }
    #leftsidemenu { display:block; position:absolute; z-index:3; top:520px; left:30px;
    }
    #contents { display:block; position:absolute; z-index:2; text-align:center; top:430px; left:200px; width:700px; font-size:25px; color:#36ac7a;
    }
    #nanny { display:block; position:absolute; z-index:2; top:620px; left:50px; text-decoration:none; padding:15px; margin:30px; word-spacing:30px; text-align:center;
    }
    #nanny li { display:inline; position:relative; z-index:3; top:620px; text-align:center; padding:15px; margin:30px; word-spacing:30px; color:#d7bb49; font-weight:30px; font-size:20px;
    }
    td { padding:20px; word-spacing:50px; margin:30px; text-decoration:none;
    }
    #footer { display:block; position:absolute; z-index:2; left:70px; top:700px; background-color:#d7bb49;
    }
    #footerp { display:inline; position:relative; z-index:2; left:70px; top:700px; background-color:#d7bb49;
    }
    a:active { color:#36ac7a;
    }
    a:hover { color:#36ac7a;
    }
    a:visited { color:#000000; font-size:50px;
    }
    a.blue { font-family:verdana; colour:#36ac7a; font-size:9px; text-decoration:none;
    }
    a:white { visited { color:#36ac7a;
    }
    a:link { text-decoration:none; color:red;
    }
    .class2 a:link { text-decoration:none; color:black;
    }
    </style>
    </head>

    <body>SITE UNDER CONSTRUCTION. COMING SOON!
    <img src="../FUNNYTHINGS/Webpics/ESbackground.jpg"; width="1000px" height="800px" alt="background"></div>
    <div id="headingpic"><img src="../FUNNYTHINGS/webpics/heading3.jpg" width="100%" height="100%"></div>
    <div id="navmenu"><ul><li><a href="index.html">HOME</a></li><li><a href="products".html">PRODUCTS</li><li><a href="masks.html">MASKS</a></li><li><a href="contact.html">CONTACT</a></li></ul></div>
    <div id="leftsidemenu"><ul><li><a href="index.html">KIMBERLEY</a></li><li><a href="products.html">UPINGTON</a></li><li><a href="products.html">KEIMOES</a></li><li><a href="products.html">KENHARDT<a/></li><li><a href="products.html">BRANDVLEI</a.</ul>
    </div></p>
    <div id="contents">
    <br>
    <h3>TERMS AND CONDITIONS</h3>
    Before entering you must agree to the disclaimer on this page etc, etc.
    </p><p>
    Please help the communities in these areas by etc, etc.</p>
    </div><br><br>
    <div id='footer"><div id="footerp"><span class="class2">
    Copying@FUNNYTHINGS.com. All rights reserved</span></div></div>

    </body>
    </html>

  9. #8
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    * sigh *

    Okay, rainbow, I'm going to tell you the same thing I did when you posted the escorts site, except that I'm going to add to it.

    You're in way over your head, and you're not learning anything. You're even making the exact same mistake that you made with the escort site (i.e. putting your meta tag inside of your style tag). You didn't listen to us when we told you that was a problem, and then you went, registered a different username, and repeated it for an entirely different site as if that was somehow supposed to fool us.
    Code:
    <!DOCTYPE HTML PUBLIC"..//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3org/TR/html/loose.dtd">
    <html lang="en">
    <head>
    <meta charset="utf-8"/>
    <title>FUNNYTHINGS</title>
    <style type="text/css"/>
    <meta name="description" content="northerncapeescorts"/>
    I'm not actually going to ban you for this...you didn't do it to spam, and I think you're trying to become a web designer. That doesn't mean you won't get banned, but if someone does it, it wasn't me.

    But you're not going to become one if all you're going to do is look for the easy way out and not listen when people point out errors, and you're not going to learn by making the same mistakes on a different page.
    spencer likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  10. #9
    Junior Member
    Join Date
    Nov 2012
    Posts
    9
    Member #
    33949
    Hi Game.
    sorry, no harm meant to be done, or fool you, just that last time, I got in trouble for putting the escort site name up, but, I see I forgot to move the name in the meta tag.
    The meta tag, I tried a few times to put it above the style, like you said, but then the whole page changed and is a mess.
    This is the code after I did the valuation I think and tidy valuation with w3schools.
    I didnt mean to fool you, just trying to be more appropriate, cause last time, the one person said, this is a site that doesnt allow adult content.

  11. #10
    Junior Member
    Join Date
    Nov 2012
    Posts
    9
    Member #
    33949
    Game, I tried what you said, but if I put the meta tag ontop of the style and not in or underneath it, then the page, the code writing all ends up ontop and the background image underneath in the browser.
    Also, I didnt want to put inapropriate material on here, so I changed the name, but I see I forgot to remove it in the meta tag, now that you point it out.
    Hope this explains my actions.


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:03 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com