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.

Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Jan 2014
    Posts
    392
    Member #
    38172
    Liked
    4 times

    tutorial question

    this tut is about making buttons with css3

    a bit before half way through he is doing the colour fade away, he says that you need to specify for each browser ,he does moz-linear-gradient... and then for webkit he does webkit-gradient.

    why doesnt he add the linear part for the webkit reference and why does he only do mozilla and webkit???

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,772
    Member #
    5580
    Liked
    723 times
    Some tutorials are old and some scripting no longer pertains. Try to find out when a tutorial was made (look for some website date).

    Plus, you are using HTML5 doc type, so that changes how a browser reacts to things.

    Do your scripting as best as you can and then try to test your website on various browsers. You can download just about all of the browser to your PC and switch between them.


  4. #3
    Senior Member
    Join Date
    Jan 2014
    Posts
    392
    Member #
    38172
    Liked
    4 times
    my site isnt html5 is it??

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,772
    Member #
    5580
    Liked
    723 times
    The doc type is defined at the top of your HTML.

    Here is the top of your website:

    <!doctype html>
    <html>
    <head>


    Here is the top of my website:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>

    I chose to define mine specifically to XHTML 1.0 Transitional. There's nothing wrong with doing it either way. I'm just saying that for now, you've defined your doctype like you did.


    Now, read this:
    HTML5 Introduction



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 05:50 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com