-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adds left margin to margin-left #16
Comments
I'm not great with regex stuff sorry! Sent from my iPhone On 20 Mar 2012, at 10:37, Phil Ricketts
|
Hi Guys, There's no regex. It's specifically targeting the top and left properties. I'm hesitant to support margins as a positioning method. @arush Can you provide specific examples of why it would be better to support margin-based positioning. |
Margins provide a completely different positioning functionality which Sent from my iPhone On 23 Mar 2012, at 16:42, Cameron McEfee
|
Sorry, I've confused matters here by misunderstanding @arush's problem. I've removed my posts, and will open a new thread. |
@arush you could add an intermediate element with {position:relative}, that's how I'd achieve it. |
I'll give this some thought. You're more than welcome to submit a pull request for what you suggest in the meantime. |
I use margin to position my absolute elements, I've found it to be better in many scenarios than using left:0; top:0; etc...
When using plax, in Chrome and Safari (not FF) plax adds the 'left: 362px' where i have margin-left: 362px , therefore making it positioned too far left by 362px (its total margin is now 724px).
This is really annoying.
The text was updated successfully, but these errors were encountered: