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 6 of 6
  1. #1
    Junior Member
    Join Date
    May 2008
    Posts
    2
    Member #
    16846
    Hi, I hope I am posting in a right place...need some clarification for following:

    1. why would the visual appearance or functionality of a website differ from one browser to another?

    2. Inside a stylesheet what are the three main ways of addressing section of your html code?


    I will really appreciate for any small description.

    Thanks,
    Regards,

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    1) Browsers such as FireFox attempt to comply to the standards set by
    organizations that define HTML, XHTML standards. This helps to control the
    past, present, and future versions of HTML, XHTML, CSS, XML, etc.
    Browsers such as IE tend to have their own "special" tags and features that
    only work on their browser. Although some are nice to have, they are only
    applied for them ... so, a site viewed with FF may differ than IE.

    Other differences occur in the way the HTML tags (the original design intent),
    are interpreted. Example, margins, padding, column-fill differ between IE and FF.
    Which one is correct really depends on how the programmers interpreted the
    original specs.

    As a rule, most of us design using FireFox as the standard, and then do whatever
    tweaking necessary to render it the same with IE6.0, IE7.0, Safari, etc.
    "IE Hacks", as they are often called, should be avoided.

    2) ID, Classes, Child Selectors ... several more types (see below).

    ID's are used primarily for sections that are used one time on page...
    example:

    #content{
    width:800px;
    }

    <div id="content">
    blah blah
    </div>

    Classes are used for sections that are repetitive (used several times on a page) ...
    example:

    .button{
    background-color: #ddd;
    width:100px;
    height:20px;
    float:left;
    padding-right:20px;
    }

    <a href="mypage.php" class="button">button 1</a>
    <a href="mypage.php" class="button">button 2</a>
    <a href="mypage.php" class="button">button 3</a>


    Child Selectors, or "Children" are elements that are children of another element

    There are many more types:
    http://webdesign.about.com/od/csssel...sselectors.htm

    This might yield better answers than I can provide here:
    http://www.google.com/search?hl=en&s...ss&btnG=Search


  4. #3
    Junior Member
    Join Date
    May 2008
    Posts
    2
    Member #
    16846
    Thanks a million

  5. #4
    Senior Member aeroweb99's Avatar
    Join Date
    Feb 2008
    Location
    Port Huron, Michigan
    Posts
    1,037
    Member #
    16468
    Liked
    1 times
    Quote Originally Posted by shsh_shah
    Thanks a million
    Now go take your test and get an A!

  6. #5
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    I'm not so smart ... I just know how to use Google.
    I always wonder why some people take the time to ask questions
    that can be answered so easily by using Google. I should search
    Google and try to find the answer to that.


  7. #6
    Senior Member aeroweb99's Avatar
    Join Date
    Feb 2008
    Location
    Port Huron, Michigan
    Posts
    1,037
    Member #
    16468
    Liked
    1 times
    Especially questions that are from a test!


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 10:45 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com