-2
I am creating a page and it enters fullscreen, but I have problem when enters fullscreen the rest of the content that is "below" is not shown, only appears until the limit of the monitor.
I’m trying to put a scroll bar with overflow
, but I’m not getting it.
index php.
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<div id="meio" style="width:768px; margin:0 auto; overflow:auto;"></div>
<script type="text/javascript">
var estado = "";
$(document).ready(
function() {
var Oaltura = $(document).height(); //altura da página
var altura = Oaltura + 250;
$("#meio").css('height', altura+"px");
$("#meio").load("menu.php");
}
);
</script>
@Olimonf. I posted the code
– Alisson Acioli
Try to put
max-height
in place of'height'
– ptkato
Ever tried to put
overflow-y:scroll;
?– mealine
yes, I’ve used it, but it didn’t help.
– Alisson Acioli
@Patrick didn’t work
– Alisson Acioli
Beyond the
max-height
, try also to putoverflow: visible
.– ptkato
@Patrick hasn’t worked yet. Still not showing the items passing from my monitor
– Alisson Acioli