Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

certain pics won't show in IE!

Featured Replies

Hi,

 

i have been making a website for a friend, and he wanted rounded corners. so i have some rounded pics that show up properly in firefox.

 

but in IE the two images that display the top of the main content and the bottom - don't show up. this makes it look horrible.

 

i am using .png with transparency, but i have also tried jpgs and that hasn't solved the problem. plus other pngs are showing fine.

 

i don't get why this is just happening to those two pics? please can someone help me out. i am stressing as i have just sent him a preview, and then realised it looks so bad!!

 

my site is...

 

http://silvermanwebdesign.co.uk/procurehealth/

 

 

this is my css - it looks fine to me!

 

.top {background: url(images/top.png)no-repeat;width:910px;height:18px;margin:0 auto;text-align:center;display:block;}

.bottom {background: url(images/bottom.png)no-repeat;width:912px;height:18px;margin:0 auto;}

 

 

i even added display:block to one of them as well as text-align:center thinking it might help but it doesn't

Thanks in advance

The rounded corner images top.png and bottom.png do show in my IE7.

 

I notice that you are using the new HTML5 doctype <!DOCTYPE html> I'm not sure if that works in old browsers like IE6; I'd feel safer using HTML4.01 or XHTML 1.0.

 

The images are png with transparency which may have problems in IE6. Do a search for a IE6 png hack if you are having a problem in IE6.

 

In your styles you haven't got spaces. I'm not sure if that makes any difference but I use spaces like this; I think it is necessary between png) and no-repeat :-

.top { background: url(images/top.png) no-repeat; width:910px; height:18px; margin:0 auto; text-align:center; display:block; }

 

Edit: I notice that there are spaces in the css file but not in your post above.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.