IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Screwy Dix Boxes, new problem - see edited post
Edonil
post Aug 31 2006, 10:20 PM
Post #1


Curious Crocus
Group Icon

Group: Members
Posts: 1433
Joined: 3-September 04
From: an island off the west coast of Canada
Member No.: 880



Ok, so I didn't want to start a new topic, 'cause I start to many of those here. You must all think I'm html illiterate by now. icon_razz.gif

Anyone going through old posts, the header wasn't showing up because I was an idiot and forgot the # in the css.



Anyway, onto the problem. On my new layout (testpage.edonil.com), the div boxes aren't all working. (They should be divided up like at testpage.edonil.com/basic.gif) If I set the background-attachment: fixed in my css (layout.css), my page works great in IE, but something gets screwed up in Firefox and Netscape (see the box which is dark blue in basic.gif - the gold border is over on the left side of the image, rather than the right). However, if I get rid of background-attachment: fixed, the background image scrolls in IE (see test.edonil.com/dolls/ - it's the main div box, where the Terms of Use are).

Any idea on how I could fix this? Or would it be better to just get rid of the fixed background, and the people with IE would have to suffer?
Go to the top of the page
 
+Quote Post
Hwesta
post Sep 1 2006, 05:24 AM
Post #2


Graceful Geranium
Group Icon

Group: Members
Posts: 2049
Joined: 15-August 04
From: Near Vancouver, BC
Member No.: 741



I have no clue, but it fails validation and there's a few block vs inline errors that I saw. -prod-

Oh! You don't have a # in front of the color specifications. Maybe that's it?
Go to the top of the page
 
+Quote Post
Emagine
post Sep 1 2006, 05:14 PM
Post #3


Pleasant Pansy
Group Icon

Group: Members
Posts: 887
Joined: 15-July 06
Member No.: 3272



Yah it looks like this is why...
QUOTE
color: FFDD77;

it needs to be..
QUOTE
color: #FFDD77;


Try that icon_smile.gif Hex values should always have # on the front.
Cos the font and all is working so its getting the CSS just not the colour.
Go to the top of the page
 
+Quote Post
Edonil
post Sep 1 2006, 07:20 PM
Post #4


Curious Crocus
Group Icon

Group: Members
Posts: 1433
Joined: 3-September 04
From: an island off the west coast of Canada
Member No.: 880



Hey, it worked! Yay! Thankees!

I guess I'll never know why it was only failing on some pages, and why H3 was working in the index... *sighs*
Go to the top of the page
 
+Quote Post
Edonil
post Sep 11 2006, 02:59 AM
Post #5


Curious Crocus
Group Icon

Group: Members
Posts: 1433
Joined: 3-September 04
From: an island off the west coast of Canada
Member No.: 880



Rather than start a new topic, I edited the top post. Help?
Go to the top of the page
 
+Quote Post
Whitestar
post Sep 11 2006, 11:56 AM
Post #6


Joyful Jasmine
Group Icon

Group: Members
Posts: 1922
Joined: 12-April 04
From: Washington
Member No.: 129



That's odd.
I thought at first it may be the IE box model problem, but you've got your padding set to 0 so it's probably not.
Perhaps if you try using the background-position tag instead of background-attachment - there's more about it here.

If that doesn't work, I'd recommend not using seperate background images for each of your divs, but just having one image that comprises the background of a container div, then using the absolute postioning to place the text over that.
icon_smile.gif
Go to the top of the page
 
+Quote Post
Edonil
post Sep 12 2006, 03:43 AM
Post #7


Curious Crocus
Group Icon

Group: Members
Posts: 1433
Joined: 3-September 04
From: an island off the west coast of Canada
Member No.: 880



^ That didn't work. *sighs*

But I found another solution. I created another div without a background on top of the div with the background. More divs than I would like, but it worked.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 2nd September 2010 - 06:54 PM
Base doll in the logo is Omega by Kamui.
Thanks to Mazeguy and Fools House for most of our emoticons!