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 Gary's Avatar
    Join Date
    Jul 2012
    Location
    Vancouver, Canada
    Posts
    8
    Member #
    32305

    css for "banner wings" not rendering well in IE

    Hi Folks,

    I'm trying to get a sales landing page up for a client,
    the headline banners for certain sections feature a
    "wing" or "wrap-around" effect that's set up in CSS.

    Looks fine in FF, chrome etc, but good old IE messes it up
    and shifts the whole banner downward below the side "wings"
    instead of in line with it.

    here's the link:
    Code:
    http://guardiantherapeutics.com/celldoctor/index.html#wings
    I've tried putting a filter up to a specific IE style sheet,
    using "IF" statements in the doc header, but can't seem
    to monkey the IE styles to make it work ...

    any help would be greatly appreciated ... thanks!

    Gary
    Last edited by Gary; Dec 18th, 2013 at 06:15 PM. Reason: make link show up better

  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
    It's not IE. Hint: if you think it's IE because the majority of designer wannabes have an irrational hatred for IE and assume it screws everything up when all browsers are broken on some level, it usually isn't. So there's your bigger piece of advice.

    This is a case where you coded something incorrectly and left it open to browser interpretation. FF and Chrome just happened to do it the way you wanted it. What's happening is that your container is 640 pixels and your image is 721 pixels. FF and Chrome are compensating by making it fit. IE is compensating by shoving the whole thing down.

    If browser compatibility is that much of an issue for you and you're already using an image, my suggestion would be to create one PNG image for the entire banner, including the wings themselves. It'll be simpler to code, the overhead increase will be minimal at best, and assuming you code this correctly you'll have your cross-browser issues solved.
    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
  •  

Tags for this Thread

All times are GMT -6. The time now is 04:21 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com