Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
Like Tree3Likes
  • 3 Post By Ronald Roe

Thread: align to top-center with bootstrap

  1. #1
    Junior Member
    Join Date
    Mar 2016
    Posts
    2
    Member #
    53657

    align to top-center with bootstrap

    Hi.

    I have multiple divs to align to the central top corner of the page.

    How do I do that with bootstrap?

  2.  

  3. #2
    Senior Member medlington's Avatar
    Join Date
    Nov 2005
    Location
    Sheffield, UK
    Posts
    377
    Member #
    11968
    Liked
    4 times
    the center doesn't have corners?

    what you need in your CSS or in your inline div styling is something like this:

    style='position:fixed; top:0; left:0'

    or

    position:relative; top:0; left:0

    if you want the div to move when you scroll

  4. #3
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    You don't "do that with Bootstrap". You do it with CSS. Look up CSS position and offsets.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:01 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com