everything from client group and below is having issues as you can see.
I have tried 20 different ways of doing this, but still the same issue.
Perhaps someone would be so kind as to point out my mistake.
here is the generated html
the content below âclient groupâ is not being positioned properly which really should be blatently obvious if you look at the screenshot, , it is too far left and not being padded/positioned as it should be.
The desired display is for the correct formatting/layout/padding etc as one would expect, rather than everything shifting over to the left.
No - itâs obviously not obvious since I felt the need to ask.
Perhaps you wanted that on the same line as the above content. Perhaps you wanted it further over.
We are not mind readers. Perhaps there are other issues which I do not even see because I do not know what you want. Iâm not going to scan the entire page looking for minute details.
â.form-horizontal .form-groupâ has a negative lefet and right margin which is pulling it over. However it stlil wonât be lined up because those check items above it have 20px left padding on â.checkbox-inline, .radio-inlineâ
So youâll need to give the .controls{padding-left:20px;} probably.
Ah well itâs loading bootstrap CSS so thatâs probably why youâre not seeing any CSS in the fiddle.
Either way it needs some margin or padding. If yours works Mitt, the OP can feel free to use that.
The specificity of your rules seems fine to me TBH. Not overly specific or abstract.
Ah, I didnât think to expand that to see what was there. Not that Iâd be much good with a âminâ file anyway.
I like using em but if everything else is using px itâs probably better to use px
Else there could be issues with text resizing messing up the alignment.
Although I did ask my wife and 8 year old son if they could spot the issue, and they both thought it was obvious too, so iâm confident that no mind reading skills are required TBH
it uses bootstrap, this is the point, you shouldnât have to add your own padding and margins, as this is all built into the bootstrap classes for a standardised output. I have other pages that work just fine, but cannot see why this one doesnât.
Iâm not sure why you would it is only me that would expect twitter bootstrap to output in the standardised way that twitter bootstrap is supposed to output, this seems like very strange thing to say ? If that was the case then it would completely defeat the point of why boostrap exists or indeed any such framework.
You are using the âform-groupâ class on a horizontal form and in that mode the âform-groupâ class behaves in the same way as .row (it has negative left and right margins). That means that the very next elements must be a column definition just as you would do with rows.
If you follow the bootstrap documentation then you would have a structure like this:
Note that you need a wrapper for the inputs as you canât apply those column classes directly to the inputs themselves.
Everywhere that you have used .form-group then you need to have the children wrapped in the appropriate column class adding up to the correct number of columns as you would do with .row etc.