How to align bootstrap div horizontally on the page?Rajneesh Chaubey9yAsked Jan 11, 2018, 7:51 AM ESTSolvedShareLinkedInXCopy linkSaveHi Please look at the code:- Quick Shortcuts Apps Bookmarks Reports Comments Users Notes Photos Tags The output i am getting is like this:-https://i.stack.imgur.com/A3C0B.pngIt is on the right side of the page. I want it to be on horizontally centered and responsive too.Please help..
How to align bootstrap div horizontally on the page?Rajneesh Chaubey9yAsked Jan 11, 2018, 7:51 AM ESTSolvedShareLinkedInXCopy linkSaveHi Please look at the code:- Quick Shortcuts Apps Bookmarks Reports Comments Users Notes Photos Tags The output i am getting is like this:-https://i.stack.imgur.com/A3C0B.pngIt is on the right side of the page. I want it to be on horizontally centered and responsive too.Please help..
Manav PandyaRank #166 · 14.3K reputation9y agoPosted Jan 11, 2018, 6:24 PM EST✓ Accepted answer+3Hello I have developed this demo , if you want it to horizontally center , than use col-md-12 Bcoz you have used col-md-6 , which used 6 column space ,after that there is no scope for align-center Please find following snippet , if not satisfied , let me know : "stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> "server"> class="container"> class="rows"> class="col-md-12"> class="panel panel-primary"> class="panel-heading text-center"> class="panel-title"> class="glyphicon glyphicon-bookmark"> Quick Shortcuts class="panel-body"> class="rows"> class="text-center"> "#" class="btn btn-danger btn-block" role="button">class="glyphicon glyphicon-list-alt"> Apps "#" class="btn btn-warning btn-block" role="button">class="glyphicon glyphicon-bookmark"> Bookmarks "#" class="btn btn-primary btn-block" role="button">class="glyphicon glyphicon-signal"> Reports "#" class="btn btn-primary btn-block" role="button">class="glyphicon glyphicon-comment"> Comments "#" class="btn btn-success btn-block" role="button">class="glyphicon glyphicon-user"> Users "#" class="btn btn-info btn-block" role="button">class="glyphicon glyphicon-file"> Notes "#" class="btn btn-primary btn-block" role="button">class="glyphicon glyphicon-picture"> Photos "#" class="btn btn-primary btn-block" role="button">class="glyphicon glyphicon-tag"> Tags Thanks +3Rajneesh ChaubeyRank #1,073 · 1.8K reputation9y agoPosted Jan 12, 2018, 1:28 AM EST+1It worked!!Thanks a ton Manava Pandya+1Manav PandyaRank #166 · 14.3K reputation9y agoPosted Jan 12, 2018, 1:41 AM EST0Hello Welcome @Rajneesh 0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajneesh ChaubeyRank #1,073 · 1.8K reputation9y agoPosted Jan 12, 2018, 1:28 AM EST+1It worked!!Thanks a ton Manava Pandya+1
Manav PandyaRank #166 · 14.3K reputation9y agoPosted Jan 12, 2018, 1:41 AM EST0Hello Welcome @Rajneesh 0
Manav PandyaRank #166 · 14.3K reputationPosted Jan 11, 2018, 6:24 PM EST
class
="panel-title">Apps
Bookmarks
Reports
Comments
Users
Notes
Photos
Tags
Rajneesh ChaubeyRank #1,073 · 1.8K reputationPosted Jan 12, 2018, 1:28 AM EST
Manav PandyaRank #166 · 14.3K reputationPosted Jan 12, 2018, 1:41 AM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts