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 2 of 2
  1. #1
    Junior Member
    Join Date
    Jun 2011
    Posts
    1
    Member #
    28260
    Hello,

    Can anyone tell me why my site is not laid out like it supposed to when I open it in IE? Compare it between IE and Firefox and you'll see what I mean. I'm guessing it's got something to do with the compatibility problems IE has with CSS, is there an easy way around this?

    www.swimtackle.co.uk

    Thanks.

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Hey man,

    The reason it's not displaying properly in IE is because you're making your code far more complicated and inefficiently than you need to. This doesn't appear to be your fault...this appears to be a side effect of ImageReady and its bizarre web slicing code.

    But do this:

    1) Make a Photoshop slice of both of your pictures combined...one big slice, not two.

    2) Export your slice, but not the HTML.

    3) Do something like this:
    Code:
    div#content-area {background:  URL(path-to-your-slice-here) top left no-repeat;  padding-left:  (width of your slice + maybe another 20 pixels or so); }
    ...
    Code:
    <div id="content-area">
    All of your copy
    </div>
    This will perform the same across all browsers in and of itself (other code might mess it up, but generally doesn't). The only downside, and given the nature of your site it's very slight, is that your image of the fishermen, etc. won't show up in an image search because search engines don't interpret backgrounds as images.
    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 05:32 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com