Log In · Register

 
IE problems
crissa_85
post Apr 19 2008, 01:24 PM
Post #1


Senior Member
***

Group: Member
Posts: 30
Joined: Nov 2006
Member No: 480,913



I just finished tweaking my layout in Firefox and it's perfect. But when I look at it in IE, the position of my flashfetish music player is completely thrown off. I tried using {{_margin-top:px}} next to the {{margin-top:px}} which, adding the little _ usually moves objects in IE without messing them up in Firefox (and i used that _margin to move my ABOUT ME in IE without messing it up in Firefox and it worked PERFECTLY), but for some reason it won't move my music player. Help?
 
 
Start new topic
Replies
CrotchetTheLeper
post Apr 26 2008, 08:40 PM
Post #2


Farewell, Hello. I'm Colleen.
****

Group: Official Designer
Posts: 222
Joined: Jun 2007
Member No: 539,346



Yeah, they need to do something; all these browsers need to get together, have a little chat, sort out their differences, and stop making our lives a living hell! ... Basically, this is a big problem, and I can't finish the myspace music page div I'm working on knowing that it's going to look all wrong in IE. cry.gif


Edit: Holy crap, would http://www.createblog.com/tutorials/tutorial.php?id=628]this work? Or am I getting overexcited...? I had never seen this before until like two seconds ago, so I'm not really sure if I'm misunderstanding it?


Another Edit: IT WORKS! Okay, this has officially made my day. ScarletKnight, you are amazinggg. Thank you so much. Here's how ScarletKnight says to fix this mess:

First: Align your laoyout in firefox using a regular alignment code.

Then: Test it in IE. Odds are, your music player's gunna be messed up. So, re-open your code. Say you've got something like this:
CODE
margin-left:300px; margin-top:100px;

It looks fine in FF, but we want it to look good in IE, so, add this to your code:
CODE
margin-left:300px; margin-top:100px; _margin-left:210px; _margin-top:20px;


In your code, you want to add an underscore (one of these _ ) in front of your alignment properties. The ones with the underscore will only be read by IE, not FF! How awesome is that?

So, you can make seperate alignments for seperate browsers. This is great, thank so much ScarletKnight!
 

Posts in this topic


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