Results 1 to 9 of 9

Thread: Help!

  1. #1
    Join Date
    Aug 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help!

    I've made a layout for my blog in Photoshop, I have a main banner at the top, then a big box below where my entries will go, and then another box at the side of the blog box where the navigation will go. In between those boxes and the banner is meant to be transparent, I made it transparent in Photoshop but when I view it in IE, the spaces are a light blue colour. How do I make it transparent and not blue?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    PLEASE: Include the URL to your problematic webpage that you want help with.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Oops, sorry. It's not finished but I've uploaded it so you can see: here.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It is transparent. The color showing through is the body background-color as defined in your style sheet (http://www.geocities.com/heatherxx05/main.css) here:
    Code:
    body
    {
    background-color: #C2CBCF;
    font-family:verdana; 
    font-size:10px;
    color: #000000;
    
    scrollbar-track-color: #C2CBCF;
    scrollbar-face-color: #C2CBCF;
    scrollbar-highlight-color: #C2CBCF;
    scrollbar-3dlight-color: #999999;
    scrollbar-darkshadow-color: #C2CBCF;
    scrollbar-shadow-color: #999999;
    scrollbar-arrow-color: #cccccc;
    }
    If you want it to be white, either change the value to:

    #FFFFFF

    or, make that area white instead of transparent in the graphic file. Or, did you have something else in mind?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Aug 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ooh okay. Thanks. How do I get rid of the colour then? I just want it so the purple background comes through?

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Ah, my mistake, it was just a coincidence that your css style background color matched the color of that area in your .png layout image. IE does not support the type of transparency used in your layout image (it works as is in Mozilla FF). Try saving it with single color transparency.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Aug 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    How do I do that? (Sorry, I'm a beginner!)

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I did some experimenting and it appears that in IE it also matters how many colors are in the .png file. Anything over 256 and the transparency doesn't work. At that color depth, the photographic section of your image isn't anywhere near the quality it is now. So, I would suggest making it into at least two images. I use Paintshop Pro so, the methods will vary. I had the best luck using progressive selection (using the magic wand selecting tool while holding down the shift key) to include areas into the selection until all the areas you want transparent are in that selection. Then, when saving, choose 'selected area' as the transparent area. It is tedious work and I stopped when I realized the image would need to be split in order to look good.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  9. #9
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Insofar as I know, IE/Win doesn't support alpha transparency in PNGs. You can have 0 alpha, or you can have 255 alpha, but not anything in between. IE/Mac doesn't have this problem.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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