Final 2 errors!
Results 1 to 6 of 6

Thread: Final 2 errors!

  1. #1

    Final 2 errors!

    Trying to be w3c compliant whether it matters or not.
    http://validator.w3.org/check?uri=ht...ygoatcurse.com

    Check out those errors, they are with table height and pic background. Any way I can get those w3c compliant, i have no clue.

    http://www.thebillygoatcurse.com is my site, which i would like to be html compliant. I already have CSS compliant, I'd like the double whammy.

  2. #2
    Senior Member
    Join Date
    Jan 2003
    Posts
    3,914
    Hey hey,

    The errors you are getting seem to come because you are using attributes that are used, most likely, just by IE they aren't actually real html. This throws off a lot of people because IE supports a shitload of stuff that other browsers don't, they don't exactly follow a standard.

    I'd suggest you check out tidy, it was extremely handy when I had to make a page xhtml compliant. -- http://www.w3.org/People/Raggett/tidy/

    Peace,
    HT
    IT Blog: .:Computer Defense:.
    PnCHd (Pronounced Pinched): Acronym - Point 'n Click Hacked. As in: "That website was pinched" or "The skiddie pinched my computer because I forgot to patch".

  3. #3
    Webius Designerous Indiginous
    Join Date
    Mar 2002
    Location
    South Florida
    Posts
    1,123
    Use css to make the needed changes.

    For the background element use

    background-image:url("wall.gif");


    and for the table height use either:

    height:356px

    or

    line-height:356px;

    Whichever suits your needs.


    Its good to see people making attempts to keep their pages W3c compliant. You should always make a valid attempt to keep it up to standards.


    http://validator.w3.org/check?uri=ht...etmaddness.com

    Thats mine

    Good Luck and let me know if you need any more help with it.

    xmaddness
    Planet Maddness Industries
    http://www.planetmaddness.com

  4. #4
    wouldnt doing that screw up all my tables? those backgrounds (the paint, the gasmask dudes) are in tables. the paint is in one, the gasmasks (kinda abstract but its gasmasks). So wouldn't that css apply it to all tables? how could I specify?

  5. #5
    Senior Member
    Join Date
    Jan 2003
    Posts
    3,914
    Hey Hey,

    You can specify them quite easily... I'll bold certain things to help them stand out.


    Code:
    <!--
    body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px; 
    color:#000000;
    background-color:#FFFFFF;
    }
    table {
    width:100%;
    }
    td.link {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    color:#000000;
    background-color:#FFFFFF;
    border:0;
    width:10%;
    vertical-align:top;
    }
    td.body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    color:#000000;
    background-color:#FFFFFF;
    border:0;
    width:90%;
    }
    a:hover {
    color:#0088AA;
    }
    img {
    border: 0;
    }
    .bold {
    font-weight:bold;
    }
    .italic {
    font-style:italic;
    }
    .title {
    align:center;
    font-size:16px;
    font-weight:bold;
    text-decoration:underline;
    font-variant:smallcaps;
    }
    .byline {
    align:center;
    font-size:14px;
    font-style:italic;
    }
    .quote {
    align:justify;
    font-style:italic;
    }
    -->
    As you can see, I have td.link and td.body. Now here is the code from the main page.

    Code:
    <td class="link">
    		<!-- This is the Links Section of the Site -->
    		<a href="index.html">Home</a><br />
    		<a href="http://www.seeminglyrandom.info/tinc?key=XcjmoRjk&start=0&epp=5">Guestbook</a><br />
    		<a href="rants.html">Rants</a><br />
    		<a href="/blog/">Blog</a><br />
    		<a href="links.html">Links</a><br />
    		</td>
    		<td class="body">
    		<!-- This is the Body of the Website -->
    		<div align="right">Newsletter Started: Tuesday, March 2nd, 2004</div>
    		<div align="left">Hey Hey,</div>
    		<br />
    		<div align="justify">Hey Hey, I had abandoned this site for a while, school got hectic and then I just didn't have time. I've started a newsletter.. except I don't have any ideas for what to send out yet. Anyways until I setup some real links you can subscribe to the newsletter <a href="http://www.seeminglyrandom.info/tinc?key=F5Ygv6rt&RegistrationFormID=5849">here</a>. If you wish to unsubscripbe you can do so <a href="http://www.seeminglyrandom.info/tinc?key=f9QLx5cS&RegistrationFormID=5849">here</a>. I'm also working at incorporating a blogging system. It'll either be open for signup.. if I can find an engine to power it. Please send suggestions to <a href="mailto:ht@seeminglyrandom.info">ht (at) seeminglyrandom.info</a>. I'll try and post some more content, as well as info about my move in the near future.</div>
    		<br />
    		<div align="right">Peace, <br />
    		HT </div>
    <br />
    		<hr size="5" width="75%" color="006EF5" />
    <br />
    		<div align="right">SRI Founded: Friday, October 31st, 2003</div>
    		<div align="left">Howdy Folks,</div>
    		<br />
    		<div align="justify">Welcome to SRI: Seemingly Random Info.  This site really has no purpose, other than to entertain and possibly inform. The site will be maintained by myself (<a href="mailto:ht@seeminglyrandom.info">HT</a>) and <a href="mailto:lordfly@seeminglyrandom.info">LordFly</a>. We will be giving commentaries on life and humanity, as well as posting user contributed commentaries (please submit to me, not LordFly). We hope the site will grow into a wonderful place of humour and insite. I plan on developing most of the content for this site, as well as some starting commentaries this weekend. Feel free to email me any thoughts or comments.</div>
    		<br />
    		<div align="right">Peace, <br />
    		HT</div>
    		</td>
    		</tr>
    		</table>

    I have the stylesheet contains entries for two td's, however they have appear differently by specifying the class. You can see the results at my website http://www.seeminglyrandom.info


    Peace,
    HT


    PS -- I wonder if my page is valid html... well i know it's not cuz i don't have anything at the top of the page, but oh well...
    IT Blog: .:Computer Defense:.
    PnCHd (Pronounced Pinched): Acronym - Point 'n Click Hacked. As in: "That website was pinched" or "The skiddie pinched my computer because I forgot to patch".

  6. #6
    Yeeeeeeeeah

    http://www.TheBillyGoatCurse.com is now w3c compliant for html4.1 and css!

    now for Web Accessibility Initiative (WAI) and the sec508

    Thanks guys....

Posting Permissions

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