Neal, could you please post a snippet of code to show how to do this? I've tried a ton of solutions, and I'm able to get it to align right, and to modify the size of the search box (to a point) using the solution on your initial answer to a similar question, but I can not for the life of me figure out how to get the darn search box to center!
It seems because the block element doesn't really have an align parameter like other elements might. But I could be wrong. Your guideance would be much appreciated.
Oh, and for good measure here is the snippet of code I've been using, which successfully changes the width of the search box...
I'm rather determined at this point to find some kind of solution...
I'm not sure align-self would actually center an element like an input box... You could try using the margin trick:
position: relative; margin-left: auto; margin-right: auto;
This would pad either side of the element automatically, and essentially center the input box in the parent div.
Hope this helps!
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG