At wide screen widths, this is perfect. However, as I narrow the width, there are 3 issues:
(1) The "xs" classes kick in at much greater than 768.
(2) The menu items (top right), scrunch up to & overlay the logo image; I would rather they slip underneath the logo. I had that working once, but I lost it.
(3) As the window becomes narrower, the item "register" starts to disappear.
Source attached.
How can I fix these things? Is there a way to use a smaller version of the logo if the width is less than xxx?
(1) the xs class kicks in by default. "mobile first" means that xs will show if nothing else is specified. It kicks in, in your case, because you've only specified "md", which kicks in at 992px. Anything less than that will be treated as "xs". Change "md" to "sm" and that will solve your issue
Rob
(3) Remove the padding-left. It is pushing it outside the scope of the box.
I cannot get (3) to work correctly. I am trying to get the word "register" to right align (just like "Forgot your password" does beneath it) with the right end of the input box for password. When I used the left padding, it worked fine until it got too narrow.
I can't see how to make it work. I though text-right would do it but I'm thinking the size of the input boxes is messing it up. Can I make the input boxes auto fill the column without adding space between the captions? The size 40 is arbitrary.
It sort of works (I didn't change Forget Your Password yet), but register is on the line BELOW "Remember me".
rkassoc.org/Lakos_config
I decided to move the "Remember Me" to a prior column (because nothing else was working), I got this, rkassoc.org/Lakos_config/index1.htm which looks good but I'd prefer it to aligned like the customer wanted.
It sort of works (I didn't change Forget Your Password yet), but register is on the line BELOW "Remember me".
rkassoc.org/Lakos_config
Looks fine to me (and on the same line). what browser and what screen width are you viewing it at?
Richard Korts
ASKER
Rob,
First, thanks so much for all your effort on this. It's close (probably OK as is).
The only issue I see now is the fact that it creates a new line (like it's a new row) for the register link. I guess it has to do with the Remember Me because it doesn't do that with the "Forgot Password" row.
See attached, one at a "wide" screen rendition & one at a "narrow" one.
FYI, it's all somewhat confusing because of the nomenclature.
My gut feel is that white-space: nowrap; implies NOT line wrapping, looks like just the opposite.
I knew Bootstrap was NOT going to be easy to learn, but I admit, it's VERY powerfull, with all the classes.
Rob
Bootstrap is great until you start adding your own css. It's designed for you to just use its classes, especially for layout.
Remember that bootstrap is for mobile first so that means that firstly, every column (<div>) in a row will automatically be col-xs-12 without you having to add the class. In your case you wanted a label and then an input box on the same row. So you specify col-xs-3 and col-xs-9. This is automatically applies that width to col-sm, col-md, col-lg etc without you having to specify. If you find that at a larger resolution you do not need that larger width, then you change it, e.g. col-md-5
If you want the menu to wrap to another line, remove the xs spec from the class:
<div class="col-md-6"><img src="images/logo.jpg" class="img-responsive"></d