html - Scrollable div inside fixed div -



html - Scrollable div inside fixed div -

i have div .div-wrapper within position: fixed div .div-header. want scroll div jquery.

i have working solution below, ugly(with width: 5000%) can't stop myself finding improve way this.

is there way accomplish same effect without having width: 5000%?

html:

<div class="div-header"> <div class="div-wrapper"> <div class="div-long"> wide content... </div> </div> </div>

css:

.div-header { position: fixed; left: 15px; right: 100px; top: 20px; } .div-wrapper { overflow: hidden; height: 57px; } .div-long { width: 5000%; }

jsfiddle: http://jsfiddle.net/pyzk27xj/6/

thanks in advance!

take @ document: https://developer.tizen.org/dev-guide/2.2.0/?topic=%2forg.tizen.web.appprogramming%2fhtml%2fguide%2fui_guide%2fui_framework_scrollview.htm

i believe has reply need!

html css fixed

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -