10 Replies - 1571 Views - Last Post: 17 January 2011 - 06:57 AM

#1 dbeaird727  Icon User is offline

  • D.I.C Head

Reputation: -2
  • View blog
  • Posts: 238
  • Joined: 13-December 10

Why wont my "margin-left:" work in IE?

Posted 16 January 2011 - 07:57 AM

	<p style= "margin-left: 47%;"><input type="submit" id="ptypesavebtn" name="save" value="<?php echo JundText::_('Sign Up Now!');?>"/></p>



When I set this to my margin for this button in my code friefox reads it correctly and sets it to the mddle but IE keeps the button to the left. Any Ideas?
Is This A Good Question/Topic? 0
  • +

Replies To: Why wont my "margin-left:" work in IE?

#2 Fungle  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 256
  • View blog
  • Posts: 337
  • Joined: 06-March 10

Re: Why wont my "margin-left:" work in IE?

Posted 16 January 2011 - 08:00 AM

Which version of IE is the problem?
Was This Post Helpful? 0
  • +
  • -

#3 dbeaird727  Icon User is offline

  • D.I.C Head

Reputation: -2
  • View blog
  • Posts: 238
  • Joined: 13-December 10

Re: Why wont my "margin-left:" work in IE?

Posted 16 January 2011 - 08:06 AM

7 I believe .. It should be 7 I got it on a vista pc.
Was This Post Helpful? 0
  • +
  • -

#4 Fungle  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 256
  • View blog
  • Posts: 337
  • Joined: 06-March 10

Re: Why wont my "margin-left:" work in IE?

Posted 16 January 2011 - 08:11 AM

I'm not seeing a problem, I checked it in IE 7 IE 8 and IE 9

See image attached Screenshot of the IE7 Document standards and mode.]

Attached image(s)

  • Attached Image

This post has been edited by Fungle: 16 January 2011 - 08:12 AM

Was This Post Helpful? 0
  • +
  • -

#5 dbeaird727  Icon User is offline

  • D.I.C Head

Reputation: -2
  • View blog
  • Posts: 238
  • Joined: 13-December 10

Re: Why wont my "margin-left:" work in IE?

Posted 16 January 2011 - 08:13 AM

Hmm maybe my browser was cached? But thank you for checking that out for me!
Was This Post Helpful? 0
  • +
  • -

#6 Fungle  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 256
  • View blog
  • Posts: 337
  • Joined: 06-March 10

Re: Why wont my "margin-left:" work in IE?

Posted 16 January 2011 - 08:14 AM

Your welcome ^^, If there's one good thing about IE9, It's that you can check sites in older IE versions with dev tools :P
Was This Post Helpful? 0
  • +
  • -

#7 drhowarddrfine  Icon User is offline

  • D.I.C Regular

Reputation: 39
  • View blog
  • Posts: 275
  • Joined: 28-July 10

Re: Why wont my "margin-left:" work in IE?

Posted 16 January 2011 - 09:13 AM

This is why we need the complete markup or a link to the site. Possibly you are missing a doctype or any number of things that make IE act worse than it already is.
Was This Post Helpful? 0
  • +
  • -

#8 Fungle  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 256
  • View blog
  • Posts: 337
  • Joined: 06-March 10

Re: Why wont my "margin-left:" work in IE?

Posted 16 January 2011 - 09:16 AM

View Postdrhowarddrfine, on 16 January 2011 - 04:13 PM, said:

This is why we need the complete markup or a link to the site. Possibly you are missing a doctype or any number of things that make IE act worse than it already is.


I think if IE could act any worse than it already does it would have to change the name to NetScape... :P
Was This Post Helpful? 0
  • +
  • -

#9 dbeaird727  Icon User is offline

  • D.I.C Head

Reputation: -2
  • View blog
  • Posts: 238
  • Joined: 13-December 10

Re: Why wont my "margin-left:" work in IE?

Posted 16 January 2011 - 07:14 PM

What could these things be? And My site isnt live and the complet markup is something that was paid for :/
Was This Post Helpful? 0
  • +
  • -

#10 Fungle  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 256
  • View blog
  • Posts: 337
  • Joined: 06-March 10

Re: Why wont my "margin-left:" work in IE?

Posted 16 January 2011 - 07:20 PM

Ok, If you could attach a screenshot of the problem on your end, Maybe I can help you as I can't seem to re-create the problem on my end.
Was This Post Helpful? 0
  • +
  • -

#11 dbeaird727  Icon User is offline

  • D.I.C Head

Reputation: -2
  • View blog
  • Posts: 238
  • Joined: 13-December 10

Re: Why wont my "margin-left:" work in IE?

Posted 17 January 2011 - 06:57 AM

My browser must have been cached because it is working on another computer that I have! Thank You for your time :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1