13, May 2008

IE background div image troubles - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design (Moderator: Meth0d)
Topic: IE background div image troubles
« previous next »
Pages: [1] Print

Author Topic: IE background div image troubles  (Read 495 times)
Community Supporter ?
My name is Bong, James Bong
*
Posts: 11
74 credits
Members referred : 0


« on: Feb 05, 2008, 08:58:58 PM »

http://www.thepetnurse.net Visit through proxy

Works great in firefox/safari/opera

But the big picture of the dog at the bottom doesn't show up in IE.

The CSS tag:
   .bottom {
      position: absolute;
      z-index:-10;
      top:350px;
      margin:0; padding:0;
      background:url('img/thepetnurse_btm.png') top left no-repeat;
      width:748px;
      height:473px;
      }

How can I get this working in IE? My book offers no explanation.
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Feb 05, 2008, 11:01:05 PM »

I guess the problem is the z-index, try a different style solution


Last blog : Database Management with phpMyAdmin
Community Supporter ?
My name is Bong, James Bong
*
Posts: 11
74 credits
Members referred : 0


« Reply #2 on: Feb 05, 2008, 11:11:04 PM »

So how can I get that image to go under the content box? Z-index's dont work in IE?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Feb 05, 2008, 11:22:58 PM »

So how can I get that image to go under the content box? Z-index's dont work in IE?

z-index is the reasom for a lot of trouble in IE...

create the grey box with CSS using a background color and diff. borders


Last blog : Database Management with phpMyAdmin
Community Supporter ?
What's HTML?
****
Gender: Male
Posts: 461
4688 credits
Members referred : 0


www.demonhale.com


« Reply #4 on: Feb 07, 2008, 09:44:06 PM »

actually I cannot see it in FF2 either... What do you intend to do. Can you show me the old page with the problem? Maybe I can help. In my experience, using absolute positioning with z-index values especially putting the image call at the bottom, puts the image behind the previous object div or paragraph or container. It is best to achieve the same graphic style by using relative positioning...

http://www.demonhale.com Visit through proxy , Just Visit...
Partners:
http://www.resume-fix.com Visit through proxy , Free Resumes

Last blog : Slowly Getting Back
Community Supporter ?
My name is Bong, James Bong
*
Posts: 11
74 credits
Members referred : 0


« Reply #5 on: Feb 07, 2008, 11:14:19 PM »

There is supposed to be a large sleeping puppy at the bottom, its right under the end of the content box. It works on FF3 beta on the mac....

http://www.thepetnurse.net/dev/tpn.png Visit through proxy

is how its supposed to look. Any help is appreciated!
Community Supporter ?
My name is Bong, James Bong
*
Posts: 11
74 credits
Members referred : 0


« Reply #6 on: Feb 07, 2008, 11:16:21 PM »

There also seems to be another issue, on some browsers, the content box is tiny, and there is a white space underneath the header.


ffs.
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 credits
Members referred : 374


It's time to use PHP5!


« Reply #7 on: Feb 07, 2008, 11:16:47 PM »

place the image in the body background


Last blog : Database Management with phpMyAdmin
Community Supporter ?
My name is Bong, James Bong
*
Posts: 11
74 credits
Members referred : 0


« Reply #8 on: Feb 08, 2008, 12:14:50 AM »

place the image in the body background
How can I get it positioned underneath the content box, and lower down on the page?
Community Supporter ?
What's HTML?
****
Gender: Male
Posts: 461
4688 credits
Members referred : 0


www.demonhale.com


« Reply #9 on: Feb 08, 2008, 12:19:25 PM »

Actually you have two problems, other than the image not showing at the bottom problem, the background of the colourful paws on top and of the puppy pic at the bottom is #f7f7f7 instead you have white, which makes the edges visible. The solution is to replace your css tag for "container" and it fixes all problems mentioned. See Below.

Copy Below and replace the one on your css.

Code:
#container {
margin:0pt;
padding:0pt;
width:748px;
height:900px;
background:#f7f7f7 url(img/thepetnurse_btm.png) no-repeat left 400px;
}
« Last Edit: Feb 08, 2008, 02:22:37 PM by designer »

http://www.demonhale.com Visit through proxy , Just Visit...
Partners:
http://www.resume-fix.com Visit through proxy , Free Resumes

Last blog : Slowly Getting Back
Community Supporter ?
My name is Bong, James Bong
*
Posts: 11
74 credits
Members referred : 0


« Reply #10 on: Feb 08, 2008, 08:28:20 PM »

Thank you.

So i just use that tag, and get rid of the z-index and current div bg?
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7577
Tags : IE background div image Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design (Moderator: Meth0d)
Topic: IE background div image troubles
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 13, 2008, 07:41:07 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 34.931
Total Topics: 7.262
Total Members: 3.482
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: ondho

13 Guests, 2 Users online :

12 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.