Log In · Register

 
 
Closed TopicStart new topic
Quick Question.
*Alysia*
post Aug 30 2007, 04:09 PM
Post #1





Guest






I've been trying to figure out why IE7 does this, but to no avail. I've set a background for the body of the page, positioned at top center. In IE7, however, if the browser window is horizontally resized to less than 800px, the background no longer adjusts so that it's centered on the page; in fact, it just stops. While the background stops centering itself as the browser width decreases, any content that is set to be centered does not stop centering itself. If you want to see an example, open this in IE and check it.

ETA - Clarification: ... because you people can't comprehend the point of this, I'm asking if there's any fix for this in IE because IE is a piece of shit. K THANKS.
 
*IVIike*
post Aug 30 2007, 08:21 PM
Post #2





Guest






did you try just putting <center> at the top?? sometimes that will help
 
*Alysia*
post Aug 30 2007, 11:10 PM
Post #3





Guest






...

Okay, so obviously it's a MySpace layout. Obviously putting <center> at the top doesn't help when this is basically the CSS controlling the background because the position is already set in the CSS ....

<style type=text/css>
body {
background-image:url("http://img248.imageshack.us/img248/8007/bg1zu5.png");
background-repeat: repeat-y;
background-position: top center;
}
</style>
 
jammylise
post Aug 30 2007, 11:19 PM
Post #4


I am not afraid, I was born for this.
*****

Group: Official Member
Posts: 805
Joined: Aug 2007
Member No: 565,063



FOR BACKGROUND POSITION PUT CENTER CENTER
SEE WHAT HAPPENS

AND FOR THE REPEAT
PUT REPEAT
INSTEAD OF REPEAT;Y OR WHATEVER.
 
*Alysia*
post Aug 30 2007, 11:24 PM
Post #5





Guest






Changing the position to "center center" doesn't change anything because "repeat-y" makes the image pattern repeating vertically. Also, I don't want to change "repeat-y" to "repeat" because I only need the background image to repeat vertically; I don't want it tiled.
 
jammylise
post Aug 30 2007, 11:27 PM
Post #6


I am not afraid, I was born for this.
*****

Group: Official Member
Posts: 805
Joined: Aug 2007
Member No: 565,063



OH, I DIDN'T LOOK AT THE DIV TILL NOW

IGET YOU

MAYBE IT'S SOMETHING IN YOUR CODE

 
*Alysia*
post Aug 30 2007, 11:28 PM
Post #7





Guest






.... no, it's the way IE renders coding.. so basically I'm asking if there's a fix for it because IE is a piece of shit.
 
jammylise
post Aug 30 2007, 11:38 PM
Post #8


I am not afraid, I was born for this.
*****

Group: Official Member
Posts: 805
Joined: Aug 2007
Member No: 565,063



yeah, true.

maybe if you try it in a different browser
like firefox

but sometimes firefox shows it different.

i don't know but hopefully you get an answer to this

maybe if you download a different IE
cause i noticed in my old IE i had it showed
my layouts different
and in my new one it showed it right.

idk<3 sorry
 
*Alysia*
post Aug 30 2007, 11:40 PM
Post #9





Guest






Yeah... it renders the way it's supposed to in Firefox, and this is the only problem with it in IE (which makes the layout not cross-browser compatible) and thus the reason for rejection.
 
jammylise
post Aug 30 2007, 11:44 PM
Post #10


I am not afraid, I was born for this.
*****

Group: Official Member
Posts: 805
Joined: Aug 2007
Member No: 565,063



i wish i knew.
ahh, IE's lame anyway,


someone should just say firefox is the new IE and get on with their lives

and fix it so when coding in firefox it looks like it does in IE

end of story :)

haha if it was that simple

anyways, ill keep a look out to see for the answer

because im curious
 
*souperstition*
post Sep 1 2007, 07:11 PM
Post #11





Guest






Haha, dear, you'll hafta educate me because I'm Myspace stupid. <3

Does Myspace support child selector hacks? I would assume that "!important"ing won't really do you much good at all, so I'll leave that out of the picture completely, but for LJ usually I can use some combination of asterisks and child selectors, for example:

* html>body div{
stuff for IE7;
}

So yeah, being that I've never coded for Myspace (yet again, please nobody jump on me because I realize I'm Myspace stupid) I have no idea if this sort of thing works. Also, I can't quite remember if that was the code for IE6 or IE7 or either one. There are different ones, believe it or not. X(
 
*IVIike*
post Sep 10 2007, 05:08 PM
Post #12





Guest






QUOTE(Alysia @ Aug 31 2007, 12:40 AM) *
Yeah... it renders the way it's supposed to in Firefox, and this is the only problem with it in IE (which makes the layout not cross-browser compatible) and thus the reason for rejection.


it's not required, it's just preferred so it can still get accepted
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: