Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 2330 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

ie margin spacing diff

Thread title: ie margin spacing diff
Closed Thread    
    Thread tools Search this thread Display Modes  
05-19-2006, 01:42 AM
#1
mason is offline mason
mason's Avatar
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 186
iTrader: 0 / 0%
 

mason is on a distinguished road

  Old  ie margin spacing diff

is it just me or does IE use more space when using margin and padding? I set my left margin to 5%, and IE doubles it to 10%... how do I make it normal again?

05-19-2006, 01:59 AM
#2
aLx is offline aLx
Status: Senior Member
Join date: Jan 2006
Location: USA
Expertise:
Software:
 
Posts: 922
iTrader: 13 / 100%
 

aLx is on a distinguished road

Send a message via AIM to aLx

  Old

If you would show me your stylesheet I can probably explain this one to you... theres a nifty little hack for this

05-19-2006, 02:01 AM
#3
jjmac is offline jjmac
jjmac's Avatar
Status: Member
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 197
iTrader: 0 / 0%
 

jjmac is on a distinguished road

  Old

Yes. IE renders the margin differently from compliant browsers such as Firefox. I have run into this annoying problem on more than one occaision.

I normally use nested div's to get around this problem. I'll set the outside div to line up the text where I want it, then use another div on the inside with padding instead of margin used to set the space. Of course your solution could be different depending on what you're using it for exactly.

Do you have an example of what you're doing?

05-19-2006, 02:11 AM
#4
mason is offline mason
mason's Avatar
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 186
iTrader: 0 / 0%
 

mason is on a distinguished road

  Old

well not anymore. I used your example jjmac and it worked.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed