Log In · Register

 
alignment, issues
destructo-girl
post Jan 6 2007, 04:39 PM
Post #1


Member
**

Group: Member
Posts: 25
Joined: Aug 2005
Member No: 219,116



Is there a way for my layout to be aligned in both Firefox and Internet Explorer? ermm.gif
 
 
Start new topic
Replies
YourSuperior
post Jan 6 2007, 05:15 PM
Post #2


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



Yes there is a way.
QUOTE
Okay say for instance if your layout is slightly mis-aligned or maybe even mis-aligned a whole bunch. And you have <div style ="position:static; overflow:auto; margin-left: 600px;"> So you already have one margin-left in your div code. All you have to do is add another margin-left to div code, and add the !important field beside it. Only firefox can recognize the !important field. So it won't affect IE when you edit it. So use the margin-left WITHOUT the !important field to align it in IE. So it would look like this: <div style="position:static; overflow:auto; margin-left: 600px !important; margin-left: 603px;"> So margin-left: ###px !important; is for FIREFOX and margin-left: ###px; is for IE. I hope that you can understand this.


Or if you don't understand my explanation, you can use this:
http://www.createblog.com/forums/index.php?showtopic=89478
 

Posts in this topic
destructo-girl   alignment   Jan 6 2007, 04:39 PM
Maestro   Yes there is a way. QUOTEOkay say for instance if...   Jan 6 2007, 05:15 PM
incoherent   besides what alvin said, sometimes the _____ with ...   Jan 7 2007, 09:00 PM


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