1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

What's wrong with w3schools?

Discussion in 'HTML & Website Design' started by Stomme poes, Aug 15, 2007.

  1. #1
    I've heard in several places that w3schools has many errors. Not knowing which parts are errors makes trouble for me.

    In Firefox, I can't see many of the results of the examples.

    For instance, on this page I can't see the glow on the word Header. Why not? Here's the code:
    
    <p>The example above produces this output:</p>
    <table class="ex" cellspacing="0" border="1" width="100%">
      <tr>
        <td><h1 style="width:100%; filter:glow">Header</h1></td>
      </tr>
    </table>
    
    Code (markup):
    Looking on a Windows machine with IE 6, I see a funky red glow. Do any filters work on Firefox? Should I bother using them?

    I also can't position anything on the y axis correctly (in the Try It Yourself, background images)... in Firefox. On Linux I found most of the font examples don't show any difference -- they're MS fonts.

    I'd like to use w3schools as a resource, but does someone have a list of what's incorrect on their site? So I know.
     
    Stomme poes, Aug 15, 2007 IP
  2. nwk

    nwk Well-Known Member

    Messages:
    385
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    158
    #2
    In fact most of their examples are based on older versions of browsers.. You should see the requirements(or compatibility) of browsers listed above on every example page..I also read that Firefox doesn't work with some filters..
    [​IMG]

    If you want to learn about Dynamic pages you should see www.dynamicdrive.com.. Its better than w3schools for Dynamic pages.. And for normal statics pages you can continue with w3schools.. I thinks its ok:)
     
    nwk, Aug 15, 2007 IP
  3. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #3
    filters don't work on FF
     
    twistedspikes, Aug 15, 2007 IP
  4. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #4
    <table width="100%" border="0" cellpadding="0" cellspacing="0"
    style="background: url('http://www.w3schools.com/images/logo_back.jpg'); ">
    <tr>
    <td width="100%"><img src="images/logo_new2.jpg" alt="W3Schools" /></td>

    </tr>
    </table>

    Because they don't even know how to use CSS properly.
     
    soulscratch, Aug 15, 2007 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Dynamic Drive sucks as much as w3schools does. But to answer your question about the glow effect, filters are a proprietary Microsoft extension to the CSS specification that (along with behavior and expression - behavior for including .htc files, expression for inserting inline JavaScript to stylesheets, and filters for cutesy effects like glowing and dropshadows) helps enhance a Web page's appearance.
     
    Dan Schulz, Aug 15, 2007 IP
  6. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Well, my question was a bit broader, the filters was only part. I'm not doing anything with dynamic html, was just curious about it.

    More like, has someone made a list of what I can trust on w3schools and what I can't? Yes, sometimes they state what browsers accept what but then why doesn't it warn me about positioning a background image?
    
    <html>
    <head>
    <style type="text/css">
    body
    { 
    background-image: url('smiley.gif');
    background-repeat: no-repeat;
    background-position: 50% 10%; <------changing does little difference
    }
    </style>
    </head>
    
    <body>
    </body>
    </html>
    Code (markup):
    Eh, I was just hoping I could use that site for references. But not everything works.
     
    Stomme poes, Aug 17, 2007 IP
  7. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Stommy, you can get a CSS cheat sheet from SitePoint for $10 if that helps.
     
    Dan Schulz, Aug 17, 2007 IP
  8. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #8
    1. to know whats wrong or ight

    validate your pages then you see the errors
    w3schools is fine as a really quick and easy to use reference and if you validate the code and correct w3schools is OK.

    2.
    to see fonts as is you need to have those fonts installed and all visitors need to have those fonts installed as well.
    hence it is best to use any of the commonly included fonts in typical OS.
    this is valid for Linux as well - you have a font folder and can add new fonts to be included in all your system.
    usually you link in xorg.conf file to all the font folders to load system wide all fonts. then such fonts will be available for all applications such as graphic ( Gimp !! ) etc and office application such as OO as well - BUT NOT for your site visitors !!! they have to download and install each special font you use.

    if you want special fonts to be used on your site - have that font ready for free download for your visitors - most may never spend the time to do so - only if you have high value site with mostly returning visitors may you expect some to invest additional time.
     
    hans, Aug 17, 2007 IP
  9. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Dan is that the little poster? It just came in the post from when I ordered two CSS books.

    Hans, thx. Though I see I don't have many of the "regular" fonts like Helvetica or Arial. So far, my pages have serif and sans-serif. Anything else I type are greyed-out, meaning I don't have them. Ubuntu's a pretty popular distro, so I'm guessing I'll stay safe with any other Linux users to my site by sticking to those two. Yeah, I've downloaded some free fonts for Gimp alone.
     
    Stomme poes, Aug 18, 2007 IP