Advanced Search

Results 1 to 3 of 3

Thread: Divs not positioning correctly in IE

  1. #1
    Join Date
    Jan 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Divs not positioning correctly in IE

    I use the code:
    Code:
    div.MyContactTable 	{position:absolute !important;
    			top:349px;
    			left:50%;
    			margin-left:-82px;}
    
    div.MyMusicTable 	{position:absolute !important;
    			top:180px;
    			left:50%;
    			margin-left:-82px;}
    Then set the div to whichever class. The thing is, the positioning doesn't work.

    Since I'm using absolute positioning, I don't know what else to do.

    See what I mean here: http://www.myspace.com/styles2304

    In firefox it loads just fine, but in IE it looks like crap.

    Any help would be GREATLY appreciated.

  2. #2
    Join Date
    Jan 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Something I forgot to mention . . . since this IS for MySpace, it rules out the use of java script. Does that mean that the differences in the way IE and FF reads css is just something I have to deal with?

  3. #3
    Join Date
    Nov 2006
    Posts
    236
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    okay don't use margin to possition a div you will run problems. use

    left:-82.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •