Log In · Register

 
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.
 
 
Start new topic
Replies
*souperstition*
post Sep 1 2007, 07:11 PM
Post #2





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(
 

Posts in this topic
Alysia   Quick Question.   Aug 30 2007, 04:09 PM
IVIike   did you try just putting <center> at the top...   Aug 30 2007, 08:21 PM
Alysia   ... Okay, so obviously it's a MySpace layout....   Aug 30 2007, 11:10 PM
jammylise   FOR BACKGROUND POSITION PUT CENTER CENTER SEE WHAT...   Aug 30 2007, 11:19 PM
Alysia   Changing the position to "center center...   Aug 30 2007, 11:24 PM
jammylise   OH, I DIDN'T LOOK AT THE DIV TILL NOW IGET YO...   Aug 30 2007, 11:27 PM
Alysia   .... no, it's the way IE renders coding.. so b...   Aug 30 2007, 11:28 PM
jammylise   yeah, true. maybe if you try it in a different br...   Aug 30 2007, 11:38 PM
Alysia   Yeah... it renders the way it's supposed to in...   Aug 30 2007, 11:40 PM
IVIike   QUOTE(Alysia @ Aug 31 2007, 12:40 AM) Yea...   Sep 10 2007, 05:08 PM
jammylise   i wish i knew. ahh, IE's lame anyway, someon...   Aug 30 2007, 11:44 PM
souperstition   Haha, dear, you'll hafta educate me because I...   Sep 1 2007, 07:11 PM


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