Great example! Thank you.
I'm a little dizzy now though. :)

I have usually done my centering with top: 50% left: 50% and negative margins 
on one div.
Is this not a standard way of accomplishing this? I noticed you used 3 divs for 
centering.
Is this because of the animation?

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com



On Oct 1, 2013, at 4:56 AM, MiB wrote:

> 
> 1 okt 2013 11.25 Karl DeSaulniers:
> 
>> Can anyone help me? I am looking to create a DIV that is centered 
>> horizontally and vertically in the window and inside this div I have images 
>> and text and the like. I want the images and the text to stay inside this 
>> div. How can I go about this?
> 
> 
> View source:
> http://benalman.com/code/test/css-centering.html
> 
> 
> You need help searching? I know it can be tricky when you don't know exactly 
> what you're searching for, but often it helps with the basics — like in this 
> case CSS vertically center — and read everything including comments. Make 
> bookmarks of quality sites and use use "site:domain.name" to limit the search 
> to that domain. 
> 
> Always search for pure CSS solutions with the widest browser support and only 
> resort to javascript if really unavoidable.
> ______________________________________________________________________
> css-discuss [css-d@lists.css-discuss.org]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to