Web Design and Development Forums

ie 6 background-repeat does not work

This is a discussion on "ie 6 background-repeat does not work" within the CSS Forum section. This forum, and the thread "ie 6 background-repeat does not work are both part of the Design Your Website category.


Go Back   Webforumz.com > Design Your Website > CSS Forum

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old May 1st, 2008, 18:58   #1 (permalink)
Junior Member
 
Join Date: Dec 2007
Location: UK
Posts: 12
Send a message via Skype™ to AndrewChip
Question ie 6 background-repeat does not work

Hey guys,

Probably an easy one which I thought I'd fixed when I remembered min-height, but still doesn't work. I have a png fix, so that shouldn't be the problem. Works in everything else apart from ie6 where the background just doesn't appear at all...

page is at http://www.faciodesign.co.uk/2008

CSS is as follows:

#bodyContent {
background-image: url(gfx/bodybg.png);
background-repeat: repeat-y;
margin-right:auto;
margin-left:auto;
width: 750px;
padding-left: 75px;
padding-right: 75px;
background-position: relative;
min-height: 1px;
}

Any help would be gratefully appreciated!!
AndrewChip is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 1st, 2008, 21:26   #2 (permalink)
Chief Moderator
 
aso186's Avatar
 
Join Date: Oct 2007
Location: UK
Posts: 715
Blog Entries: 2
Send a message via Skype™ to aso186
Re: ie 6 background-repeat does not work

Firstly, it's weird because it does appear for about a second!

I should note there is no
Code: Select all
background-position:relative
Check out it's allowed values.

Also, I doubt your PNG fix will help here - if it's a background image, the fix won't work if it's repeated.

TBH you don't need a PNG for this anyway. Use a gif instead.

Try this code (background-position fixed and code compressed);
Code: Select all
 #bodyContent {
    background: url(gfx/bodybg.png) repeat-y 0 0;
    margin: 0 auto;
    width: 750px;
    padding: 0 75px;
    min-height: 1px;
}
__________________

aso186 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 2nd, 2008, 09:09   #3 (permalink)
Junior Member
 
Join Date: Dec 2007
Location: UK
Posts: 12
Send a message via Skype™ to AndrewChip
Re: ie 6 background-repeat does not work

Thanks for your suggestion, but unfortunately it didn't work. I've resorted to using a conditional comment to link to an ie6 only stylesheet, and this gives a less slightly less fulfilling experience (which I think ie6 users deserve anyway...).

When can we drop ie6 completely!!!???
AndrewChip is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 4th, 2008, 10:19   #4 (permalink)
Junior Member
 
Join Date: May 2008
Location: UK
Posts: 46
Re: ie 6 background-repeat does not work

I only ever use .jpg for background images, which repeat fine cross browser.

background:url(images/image_bg.jpg) repeat-y left top;

I avoid .png and .gif as they seem to cause problems.

mwdesign
mwdesign is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
ie6, ie6 background, ie6 css

Thread Tools
Rate This Thread
Rate This Thread:

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
[SOLVED] CSS Background Repeat Stuart CSS Forum 23 Sep 29th, 2007 22:36
Background height problem in FireFox but work in IE EthanCote CSS Forum 6 Mar 16th, 2007 22:59
background-repeat: repeat y not working properly AdRock CSS Forum 12 Feb 25th, 2007 22:17
repeat a horizontally centered background image Legacy_Staff CSS Forum 12 Jul 14th, 2006 20:23
repeat-x gradientation gwx03 Graphics Forum 1 Jan 3rd, 2004 07:04



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 18:27.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59