javascript - Reducing table wrapper width for iphone -
i making small jquery app. in using datatables show information on grid. having slight issue display on iphone. when display grid on chrome or android device fine can see here have created jsfiddle on iphone of getting cut off. keep messing around css not able looking grid. wana reduce width little bit can fit on iphone too.can pelase advice.
here example of throwing me off tried following
#example_wrapper{ width: 50px; }
just expirement see changes occur , saw width of table got smaller in chrome in iphone there no changes.
this how looks on iphone.[i using iphone simulator have actual iphone too]
so if can please guide me great.i apologize if bad question css knowledge limited.
i have managed solve this, not sure if best way need good. put table in div has data role equal content , used zoom in css div zoom out .
<div data-role = "content" id="tbcontent"> //insert table in here </div> #tbcontent{ zoom:80%; }
here updated jsfiddle.
Comments
Post a Comment