SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Thread: Two questions

  1. #1
    SitePoint Enthusiast
    Join Date
    May 2010
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post Two questions

    Hey Out there. 2 questions

    Is it possible to design an external css page without the HTML page present then add the css to the htlm in one go?.

    Ran a W3C validation test on a html page, the result said pass written in green but there is this (2 warning) written in yellow beside the pass.. any ideas on what the warning means?

  2. #2
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    Location
    Philippines
    Posts
    936
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Better post the warning here.
    Quality codes are optimized and tested...
    Click here for inspiration..

  3. #3
    SitePoint Enthusiast
    Join Date
    May 2010
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This document was successfully checked as HTML5!
    Result: Passed, 2 warning(s)

  4. #4
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    It is possible to create external CSS files and LINK them to HTML files so the two are separate that is the most efficient way. I don't have a Crystal-ball so cannot see without you posting the markup here what those two errors were. So if you post the CODE here I can have a look what 'warnings' were being flagged by the W3C Validation Service.

    For markup questions on Ian's book the correct forum to post your question would be: Getting Started With Web Design you'll then more likely get people whom know what they are talking about regarding this Book answering the thread.

  5. #5
    SitePoint Enthusiast
    Join Date
    May 2010
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HTML Code:
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>Aktivate - reggae band in northeast Calgary</title>
          <link href="style2.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>
            <div id="header">
          <div id="sitebranding">
            <h1>Aktivate.ca</h1>
          </div>
          <div id="tagline">
            <p>Caribbean music - the wat we like it!</p>
          </div>
        </div> <!-- end of header div -->
        <div id="navigation">
          <ul>
            <li><a href="index.html">Home</a></li>
            <li><a href="about.html">About Us</a></li>
            <li><a href="contact.html">Contact Us</a></li>
          </ul>
        </div> <!-- end of navigation div -->
        <div id="bodycontent">
          <h2>Welcome to where Aktivate's music hangs out</h2>
          <p><img src="divers-circle.jpg" class="feature" width="200" height="162"
              alt="A circle of divers practice their skills"/>
          </p>
          <p>We got something going on with some Reggae, Calypso and Aka.</p>
        </div> <!-- end of bodycontent div -->
    </body>
    </html>
    Last edited by Force Flow; Mar 12, 2013 at 18:08. Reason: added code tags

  6. #6
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Those warnings were just about assuming the Character encoding is set to UTF-8 as per META, and to remember HTML5 is still "Experiential" so in this specific case (for this particular off-line file) there appears to be NO faults.

  7. #7
    SitePoint Enthusiast
    Join Date
    May 2010
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you

  8. #8
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    No problem.

  9. #9
    SitePoint Enthusiast
    Join Date
    May 2010
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This might be asking a lot but I am suck trying to figure out why the html & css are not exciting the commands to get the desired results when it comes to the background images and floating an image to a desired location.. So this is what I'm asking of you. Can I upload the css, html & background images along with 2 screen shots one of what I am see and one of what it should be and asked that you run it and let me know result. I have tried someone over at (Getting started with web design ) and I'm waiting to see if the person run it..

    Thanks

    Thanks man


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •