This is a discussion on "[SOLVED] div background image problem in ie" within the Web Page Design section. This forum, and the thread "[SOLVED] div background image problem in ie are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] div background image problem in ie
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] div background image problem in ie
Hi everyone,
I suspect this is something really easy that i have just overlooked but i have a problem displaying a background-image in ie. The image is a drop shadow and has a width of 934px and height of 8px. This is what it is supposed to look like, and is in FF. ![]() and this is what it looks like in IE. ![]() here is the code. I did have it as 1px width and repeated it but the same problem occured. It is now one image, but the problem remains
|
|
|
|
#2
|
||||
|
||||
|
Re: div background image problem in ie
first you need to change
background-repeat: no; to background-repeat: no-repeat; can you post a link so that I can have a look at the rest of the code
__________________
WelshStew If you think I've helped, click the "Thanks" tierney rides tboard - uk site | xtreme wales - extreme clothing WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
|
|
#3
|
|||
|
|||
|
Re: div background image problem in ie
![]() |
|
#4
|
|||
|
|||
|
Re: div background image problem in ie
I've fixed it now...it was to do with my doctype being wrong. Thanks for the quick response.
|
|
#5
|
|||
|
|||
|
Re: [SOLVED] div background image problem in ie
Ah well ... something we would not have been able to discern
Next time, it would be best to post a link so we can see ALL the code. |
|
#6
|
|||
|
|||
|
Re: [SOLVED] div background image problem in ie
Yeah sorry, i don't have a host atm. Sorry if i wasted anyones time. Thanks for your help anyway.
|
|
#7
|
|||
|
|||
|
Re: [SOLVED] div background image problem in ie
I changed the doctype becuase it was incomplete and it works in IE7 but not in IE6
|
|
#8
|
|||
|
|||
|
Re: [SOLVED] div background image problem in ie
Quote:
I have a writing called "the making of a webdev" series of blog posts. yesterday's topic was just that -- on "doctypes". You may follow it up there -- http://thanix.info/blog |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Background image not showing | Aso | Web Page Design | 1 | Apr 22nd, 2008 15:54 |
| [SOLVED] image background | dab42pat | Graphics and 3D | 4 | Jan 7th, 2008 03:50 |
| [SOLVED] Background Image Help | RZX Developer | Web Page Design | 4 | Dec 12th, 2007 09:39 |
| [SOLVED] Fixed Background Image? | Jack Franklin | Web Page Design | 4 | Oct 7th, 2007 19:45 |
| Problem with my footer background image in IE | dthomas31uk | Web Page Design | 3 | Jul 1st, 2007 12:49 |