Problem with PNG transparency on JPEG background

This is a discussion on "Problem with PNG transparency on JPEG background" within the Web Page Design section. This forum, and the thread "Problem with PNG transparency on JPEG background are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 10th, 2007, 17:30
New Member
Join Date: May 2007
Location: Grimsby, UK
Age: 24
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Problem with PNG transparency on JPEG background

Hey there guys.

I'm totally baffled as to why my png background cell (robbar4.png) won't show it's transparency against my web page's background image (backdrop.jpg)

Now it works if I don't use a web page background image, and just a colour and the only area that is transparent is in the bottom right of the cell where it curves.

I've messed around with the coding on the layout table cells so background colour is transparent and that doesn't solve it - i'm confused.

The png images i have in the left hand menu bar work perfectly fine, so why doesn't the png background cell against my web page background?!

If anyone can help i'd appreciate it a lot.

Rob

LINK TO WEB PAGE IN QUESTION BELOW

http://homepage.ntlworld.com/dannatt43/web/indexx.htm

Last edited by Rob Riot UK; May 10th, 2007 at 17:32. Reason: Wrong link used
Reply With Quote

  #2 (permalink)  
Old May 10th, 2007, 17:42
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with PNG transparency on JPEG background

Oh dear ...

- tables - tables were meant for tabular data not to lay out your design. You should be using CSS instead
- font tags: deprecated, you should be using CSS instead
- non-semantic elements: the blockquote element is for quoting something ... not to use as a way to display a whole chunk of text

As for PNG support ... it doesn't work in IE6. You need to hack it to make is work. This method work very well - PNG in Windows IE: How To Use

As for "why" you shouldn't be using table, check out the link in my sig. It's also a sticky in some of the forums sections.
Reply With Quote
  #3 (permalink)  
Old May 10th, 2007, 18:04
New Member
Join Date: May 2007
Location: Grimsby, UK
Age: 24
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with PNG transparency on JPEG background

Thanks for the tip about using CSS. I'll really have to try and get to grips with it as am a beginner really.

But back to the PNG problem, I am using IE7 and it still shows up. Is it something to do with using tables as the problem still hasn't gone away
Reply With Quote
  #4 (permalink)  
Old May 10th, 2007, 20:51
New Member
Join Date: May 2007
Location: Grimsby, UK
Age: 24
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with PNG transparency on JPEG background

i've sorted it now, was an issue with my jpeg file. i'd placed an eroneous white square on it that shouldn't of been there. idiot
Reply With Quote
  #5 (permalink)  
Old May 11th, 2007, 12:10
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem with PNG transparency on JPEG background

Glad to see you sorted it out yourself!
Reply With Quote
Reply

Tags
html, imaging, jpeg, png, transparency

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having a problem with background color? jaambees Web Page Design 2 Jan 4th, 2008 02:05
Converting JPEG to gif/bmp lalmm PHP Forum 2 May 7th, 2007 17:45
Problem with background in MAC Thanuja JavaScript Forum 3 Apr 17th, 2007 09:16
Background problem uqwebdesign Web Page Design 2 Dec 16th, 2006 17:36
another problem. background wider than it should be sanchopansa Web Page Design 4 Aug 2nd, 2006 15:58


All times are GMT. The time now is 13:37.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43