Welcome!

And don't forget to edit your signature & profile.

 

Icon

Statistics

  • Total posts 23319
  • Total topics 4049
  • Total members 5574
  • Our newest member
    ALF5583

TOP POSTERS

[PS CS4] Save For Web - Transparent PNG slices don't fit

All news, questions and problems related to Photoshop, Illustrator, GIMP and graphic design go here.
   
Hey guys,

I've been working on an overhaul of my site and have been trying to save my header/menu as transparent .png slices. Everything is lining up well in the CSS, but the outer glow effect is all wrong.
I've set up a test page for you to see: http://www.joelfolio.com/test/

This is the way I'm slicing the image up:
1) Header
2, 3) Static images, simply for the header shadows
4-7) Button rollovers, you either see the top or the bottom half in the menu.
Image

Proof that it lines up including shadow before save:
Image

I've tried to save these slices in pretty much every way possible. Be it using the Save For Web option and slicing them up or manually cutting them and saving or even trying to flatten the image before I save so that there won't be any changes at all. None of these worked.

A curious thing is that when I open up the saved .PNGs, they line up perfectly in Photoshop and the shadows meld correctly. The outer glow issue only occurs on the website - but they are obviously lined up correctly - you can tell by the letters (plus there only seems to be an issue between the top header image and the bottom row of images - not between the images on the bottom row).

Any ideas? This has been driving me crazy for the past all-nighter :unsure:
Thanks a lot!
JoelC
 
Posts: 8
Joined: Tue Sep 01, 2009 4:39 pm
   

   
Ugh. Don't slice it.

Use the image you got and simply change the background position instead.
Andy
Smashing <h5>
 
Posts: 1023
Joined: Tue Sep 30, 2008 6:42 pm
Location: Sweden
   

   
That's what I did in the end (regarding the Joelfolio in the background). I prefer slicing the buttons into 4, it makes the coding much clearer to me.

Thanks though
JoelC
 
Posts: 8
Joined: Tue Sep 01, 2009 4:39 pm
   

   
JoelC wrote:That's what I did in the end (regarding the Joelfolio in the background). I prefer slicing the buttons into 4, it makes the coding much clearer to me.


That's a terrible thing to do when it comes to UX. You should combine as many images as possible to make the whole experience faster for the user.

Here's some stuff I think you should read up on: http://developer.yahoo.com/performance/rules.html
Andy
Smashing <h5>
 
Posts: 1023
Joined: Tue Sep 30, 2008 6:42 pm
Location: Sweden
   

   
Done, thanks
JoelC
 
Posts: 8
Joined: Tue Sep 01, 2009 4:39 pm
   


Return to Graphics, Images & Editing



Who is online

Users browsing this forum: No registered users and 1 guest