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 5 of 5
  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    3
    Member #
    28416
    Hello I have just created my first site using dreamweaver. I used a mac to design the site and i have now found that when i view the site on a mac it looks fine but when i view the site on a windows machine some of the image links i have used to link the site to facebook and twitter are not visible. I have looked at the site in different browsers and they are all the same (iexcept internet explorer), the links show on my mac but not on my pc.

    the thing that seems strange is that other links on the site are working perfectly its just the twitter and facebook images that wont show. any help would be really appreciated because i dont know what has gone wrong,

    the site is www.sailsdartmouth.co.uk

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    The first thing is that you're using tables for layout. Tables are meant for one thing...data that would normally be displayed in say an Excel spreadsheet or Access table. You're going to have to learn how to use divs for something like this.

    Second, it's this line here that's probably throwing the whole thing off:
    Code:
    <td height="60"><table width="950%" border="0" cellspacing="0" cellpadding="0">
    When your table width is 950%, it's going to cause all sorts of crazy stuff to happen. I would say that your problem isn't that Windows-based PCs didn't display what you wanted, but the Macs did. This really shouldn't have displayed much of anything.
    kleosdesign likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Jul 2011
    Posts
    3
    Member #
    28416
    Quote Originally Posted by TheGAME1264, post: 211714
    The first thing is that you're using tables for layout. Tables are meant for one thing...data that would normally be displayed in say an Excel spreadsheet or Access table. You're going to have to learn how to use divs for something like this.

    Second, it's this line here that's probably throwing the whole thing off:
    Code:
    <td height="60"><table width="950%" border="0" cellspacing="0" cellpadding="0">
    When your table width is 950%, it's going to cause all sorts of crazy stuff to happen. I would say that your problem isn't that Windows-based PCs didn't display what you wanted, but the Macs did. This really shouldn't have displayed much of anything.

    Thank you very much that has sorted out the link problem. I realize that I have not created the site in the best way and I am trying to learn html now but I needed to create the site quickly for a relative and this was the only way I knew how. I don't suppose you would have any advice on the internet explorer problem, opera firefox and chrome and seem to display fine but the formatting way off in explorer.

    Thanks again for the earlier fix

  5. #4
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    Quote Originally Posted by kleosdesign, post: 211720
    Thank you very much that has sorted out the link problem. I realize that I have not created the site in the best way and I am trying to learn html now but I needed to create the site quickly for a relative and this was the only way I knew how. I don't suppose you would have any advice on the internet explorer problem, opera firefox and chrome and seem to display fine but the formatting way off in explorer.

    Thanks again for the earlier fix
    Your site should be quite simple with divs. Use them!
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  6. #5
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    What George said. But since you're looking for an opportunity to learn, here it is.

    You can basically eliminate your outer table, and likely solve the IE issue in the process, with four lines of HTML code and a couple of CSS code lines:
    Code:
    body {margin: 0; padding: 0;  background:  (your gradient goes here) top center repeat-x fixed #FFFFFF;  color:  #000000;}
    div#page-container {margin:  0px auto;  padding: 0;  width:  950px;  text-align:  center;}
    The first line will use your body tag to create a background that only repeats on the X axis (which is all you really want anyway) and "fix" it so that, as the page scrolls, the background stays put. That's the "fixed" parg.

    The div#page-container will center your page horizontally on the screen. The 0px auto; takes care of that with most browsers, and the text-align: center; is for older versions of IE (5.5 and before). The # sign indicates that this code is for an element with the unique ID page-container...so you can't use another element with the ID page-container on your page.

    Then, you just need to do this.
    Code:
    <body>
    <div id="page-container">
    Your inner table can go here if you want...and then eventually you can learn how to code the rest of it without the table.  I'm just getting you started.
    </div>
    </body>
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


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