Monday, August 6, 2012

Re: Max height for form input cakephp 2.2

Well, tried this and it sort of works? There is a scroll bar for the section
now, however, the list continues on past the rest of the elements on the
form and the scroll bar for it is next to the primary one on the right. See
image. Even with that class being the only thing in the css, it still does
it. Here's my css and code for the form:
<div class="druglist">
<?php
echo $this->Form->input('Drug',array(
'label' => __('Medications:',true),
'type' => 'select',
'multiple' => 'checkbox',
'options' => $drugs,
'selected' => $this->Html->value('Drug.Drug'),
));
?>
</div>

div.druglist {
float:left;
max-height:400px;
}
http://cakephp.1045679.n5.nabble.com/file/n5710190/Screen_shot_2012-08-06_at_9.49.04_AM.png



--
View this message in context: http://cakephp.1045679.n5.nabble.com/Max-height-for-form-input-cakephp-2-2-tp5710136p5710190.html
Sent from the CakePHP mailing list archive at Nabble.com.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate