What is using a # before a property called? Like this line in your code.
What are you doing here? Sorry for any elementary questions,
I'm more a javascript coder trying to wrap my head around this css stuff and
all its rules, pseudos and tricks.
.center2 {
#left: 50%;
}
TIA,
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 [[email protected]]
> 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 [[email protected]]
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/