I apologize - havent had my coffee this morning!


On Jun 9, 2006, at 12:07 PM, Ed C. wrote:

Ben, that was kind of a glib answer. And an incorrect one -- that technique is only for horizontally centering. Sam is asking for vertical + horizontal.
 
Try here for cross-browser viewport support:
 
On 6/9/06, Ben Lisbakken <[EMAIL PROTECTED]> wrote:
http://www.andybudd.com/archives/2004/02/
css_crib_sheet_3_centering_a_div/index.php


Thank you google :) first answer for "center a div in a div"

On Jun 9, 2006, at 11:44 AM, Sam wrote:

>> Even if prototye had one, according to
>> http://wiki.script.aculo.us/scriptaculous/show/SupportedBrowsers,
>> IE 5.5
> isn't
>> supported.
>
> Sorry I brought up 5.5.  I'd noticed prototype.js' browser support
> earlier
> and gone ahead.  So far, I've made a couple of 5.5 modifications to
> prototype.js.  setStyle / getStyle had to try/capture error on
> cursor:pointer and switch to cursor:hand... and more.  I don't use
> all of
> prototype.  What I do use is a benefit to development.
>
> Still, if there a good technique to center a couple of divs top/
> bottom,
> left/right, I'd be interested.  Even if it is restricted to the
> browsers
> supported by prototype.js (which is quite a few...)
>
> Sam
>
>
>
>
> _______________________________________________
> Rails-spinoffs mailing list
> [email protected]
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to