Disable qhov kev teb ntawm Bootstrap los ntawm kev kho qhov dav ntawm lub thawv thiab siv thawj kab sib chaws kab ke. Nyeem cov ntaub ntawv kom paub ntau ntxiv.
Nco ntsoov qhov tsis muaj <meta name="viewport" content="width=device-width, initial-scale=1">
, uas cuam tshuam qhov zooming nam ntawm qhov chaw hauv cov khoom siv mobile. Tsis tas li ntawd, peb rov pib dua peb lub thawv qhov dav thiab hloov lub navbar kom tiv thaiv kev sib tsoo, thiab qhov pib zoo mus.
Raws li lub taub hau, tus navbar tivthaiv yog qhov nyuaj ntawm no nyob rau hauv uas cov qauv rau kev nthuav qhia nws yog qhov tshwj xeeb thiab nthuav dav. Overrides kom ntseeg tau tias cov qauv duab duab tsis zoo li ua tau zoo lossis zoo nkauj raws li qhov xav tau. Tsuas yog paub tias tej zaum yuav muaj peev xwm gotchas thaum koj tsim nyob rau saum toj ntawm qhov piv txwv no thaum siv navbar.
Cov layouts tsis teb qhia txog qhov tseem ceeb ntawm qhov tsis zoo rau cov ntsiab lus ruaj khov. Ib qho kev tivthaiv ruaj khov, xws li lub navbar ruaj khov, yuav tsis tuaj yeem txav tau thaum lub qhov chaw pom qhov nqaim dua li nplooj ntawv cov ntsiab lus. Hauv lwm lo lus, muab lub thawv tsis teb qhov dav ntawm 970px thiab qhov chaw saib ntawm 800px, koj yuav muaj peev xwm zais 170px ntawm cov ntsiab lus.
Tsis muaj txoj hauv kev nyob ib puag ncig qhov no vim nws yog qhov browser tus cwj pwm. Txoj kev daws teeb meem nkaus xwb yog qhov kev teeb tsa teb lossis siv cov khoom tsis ruaj khov.