To Anyone getting here in light of Bootstrap 3, remember to add in a
surrounding div class of modal-content around header, body and footer.
Also, the CSS has been reworked, such that margin-left: -width/2 no longer
works, instead you can do margin: auto; or margin-left: auto; margin-right:
auto; for horizontal alignment
On Wednesday, April 24, 2013 5:54:22 AM UTC-4, Michael Lee wrote:
>
> THanks! It WORKS!!!!
>
> 在 2012年3月14日星期三UTC+8下午9时21分12秒,Marc A.写道:
>>
>> Almost, it would be MINUS 400px;
>>
>> I used this somewhere in my stylesheets to have a large modal when needed:
>>
>> .modal.large{
>>> width: 780px;
>>> margin-left: -390px; /* - width/2 */
>>> }
>>
>>
>>
>>
>> Le mercredi 14 mars 2012 09:18:07 UTC-4, Ian Pollard a écrit :
>>>
>>> Hi Emile,
>>>
>>> Thanks for your response. Is what you're suggesting something like:
>>>
>>> .modal { width: 800px; margin-left: 400px; }
>>>
>>> I don't think that would work.
>>>
>>> I had a search of this Group and the web more generally, but I could
>>> only find the Stackoverlow discussion.
>>>
>>> Thanks,
>>>
>>> Ian
>>>
>>
--
You received this message because you are subscribed to the Google Groups
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.