.lorstyle { width:100%; height:100%; margin:5px; } .lorstyle2 { padding : 5 5 5 5; width:100%; height:100%; margin:5px; border:2px solid red; }