How can I set a div to not scroll inside its parent div?

Mike J

New member
I would like to stop one of the my divs (Div 2) from scrolling inside its parent Div (Div 1), so no matter what the rest of the content does Div 2 will always stay centred as part of its own css class rules, even though horizontal overflow is turned on for Div1

Thanks!
I need Div1 to be able to scroll so its over flow has to remain as x scroll - Cheers
 
Back
Top