[UPHPU] More CSS frustration
Scott Hill
llihttocs at gmail.com
Wed Jan 17 08:39:22 MST 2007
On 1/16/07, cole at colejoplin.com <cole at colejoplin.com> wrote:
>
> <div style="border: 1px solid black; display: table; height: 400px;
> #position: relative; overflow: hidden;"><div style="#position:
> absolute; #top: 50%;display: table-cell; vertical-align: middle;"><div
> style="border: 1px solid blue; #position: relative; #top: -50%;
> "><h1>Big text</h1><h2>Adjustable height</h2> </div></div></div>
Wow! This is pretty intense for a plain table user. One, quick question and
then I promise to get the Zen book and study. What is the significance of
the '#' character in front of position and top? Why is it necessary? Can't
you just leave it off?
Thanks,
--
Scott Hill
"May you solve interesting problems" - Author Unknown
"A fanatic is one who can't change his mind and won't change the subject." -
Sir Winston Churchill
More information about the UPHPU
mailing list