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 9 of 9
  1. #1
    Junior Member
    Join Date
    Jul 2009
    Posts
    7
    Member #
    19518
    im trying to make a site out of tables in dreamweaver and html codeing which i know is not the best way to go and that i should use css but i have no idea what im really doing, im just trying to make a basic site for my buisness
    when i made the banner for the site it displayed in Mozilla firefox and in safari but it didnt work in explorer and here is the code if u see anything wrong with it i greatly appreciate it.
    HTML Code:
    <!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <table width="760" border="0" align="center">
      <tr>
        <td><div align="center"><img src="Untitled-1.jpg" /></div></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table>
    </body>
    </html>

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    The very first line has [ url ] in it ... is that in your original file, or did that
    happen when you pasted into your post? Those can't be there.


  4. #3
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,657
    Member #
    1234
    Liked
    137 times
    No, that was the forum. I fixed it.
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    Is this a valid tag?
    <div align="center">

    I don't have time to try it, but should it be
    <div style="text-align:center;">


  6. #5
    Junior Member brandontran's Avatar
    Join Date
    Jul 2009
    Location
    Asheville, NC
    Posts
    21
    Member #
    19539
    <div align="center"> is not valid. You can use

    <td align="center"><img src="Untitled-1.jpg" /></td>

    There are articles out there that discourage tables and they promote css tableless websites but to be honest, there are top ranked websites still using tables. However, I have been using css and minimal tables.

    Since this is just a start up you will be fine with tables for now. Keep it simple so you don't burn out. You have quite a bit to learn.

    Once you have the site coded you can run it through the W3 validator to make sure your code is compliant. That is also important for SEO.
    http://validator.w3.org/
    Brandon Tran - Asheville Web Design

  7. #6
    Junior Member
    Join Date
    Jul 2009
    Posts
    7
    Member #
    19518
    Thanks to everyone for a reply I greatly appreciate it. As for what I put up I scrapped it and now am using tableless site I bought a dreamweaver tutorial and have read it half way through so far and have learned a lot.
    The images I had for my site were in JPG and were not displaying in Internet Explorer, but after changing them to PNG all the images showed so thanks for your help guys.
    And I hope I can be of help to you all in the future.

  8. #7
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Location
    Destin Florida
    Posts
    1,430
    Member #
    19103
    Liked
    4 times
    the validator is crap. it will error out on css3 lines and have you ever run googles landing page in the validator.........lmao. just try it. you tube as well. the only validation you need is to run it on IE, firefox, safari, and opera.

    while($get_it !== true){ continue; }

  9. #8
    Member
    Join Date
    Jul 2007
    Posts
    92
    Member #
    15534
    Quote Originally Posted by tedk
    Thanks to everyone for a reply I greatly appreciate it. As for what I put up I scrapped it and now am using tableless site I bought a dreamweaver tutorial and have read it half way through so far and have learned a lot.
    The images I had for my site were in JPG and were not displaying in Internet Explorer, but after changing them to PNG all the images showed so thanks for your help guys.
    And I hope I can be of help to you all in the future.
    What would keep images from showing in .jpg format?

  10. #9
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    I can't imagine why they would not show up.
    If you could upload your web page and give us the URL, with the JPG format,
    we might be able to see what is wrong. Your code itself looks fine.



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