Images in Accordion look like crap during runtime

  • Thread starter Thread starter Ty
  • Start date Start date
T

Ty

I have an accordion control with serveral panes. I am placing icons
and hyperlinks in the panes.

In design mode the images look great but as soon as I run the project
the images look like crap.

These are .PNG files and in runtime all the edges are doubled it looks
like the there are two images one ontop of the other and slightly
smaller so that you see the edges of the image on the bottom?

Anyone else having this issue.

..BMP, JPG seem to be ok but I do not have the images I want in those
formats and I think I loose the background transparency when they are
converted.

Thanks,

Ty
 
I have an accordion control with serveral panes. I am placing icons
and hyperlinks in the panes.

In design mode the images look great but as soon as I run the project
the images look like crap.

These are .PNG files and in runtime all the edges are doubled it looks
like the there are two images one ontop of the other and slightly
smaller so that you see the edges of the image on the bottom?

Anyone else having this issue.

.BMP, JPG seem to be ok but I do not have the images I want in those
formats and I think I loose the background transparency when they are
converted.

Thanks,

Ty

No one uses images in accordion control?
 
Assuming you're using asp.net for your project you should have posted in the
asp.net newsgroup, not the general one.

As for your question, you should be using lightweight image formats for the
images on your site. PNG and BMP image types can get quite large by
comparison to JPG or GIF image formats. JPG doesn't support transparency,
however the GIF image format does. Not to mention you might have problems
with machines connecting to the site that don't recognize the PNG format
making them unable to be rendered by the browser.

Convert the images to a GIF format and you shouldn't have any problems. I
imagine that in design mode your IDE is doing the rendering of the images,
however once you're running the site your browser is doing it.

HTH
- Jeff
 
Assuming you're using asp.net for your project you should have posted in the
asp.net newsgroup, not the general one.

As for your question, you should be using lightweight image formats for the
images on your site. PNG and BMP image types can get quite large by
comparison to JPG or GIF image formats. JPG doesn't support transparency,
however the GIF image format does. Not to mention you might have problems
with machines connecting to the site that don't recognize the PNG format
making them unable to be rendered by the browser.

Convert the images to a GIF format and you shouldn't have any problems. I
imagine that in design mode your IDE is doing the rendering of the images,
however once you're running the site your browser is doing it.

HTH
- Jeff










- Show quoted text -

The problem turned out to be that the original images were large and I
had used a program to resize them. They looked great as long as I did
not use them in the accordion control. I downloaded the right sized
icons and they llok fine in the accordion control.

Thanks,
Ty
 
Back
Top