- This topic is empty.
-
AuthorPosts
-
June 5, 2014 at 9:49 am #171949
svoltmer
ParticipantI have a site that uses a universal header within several templates. The problem is there are multiple style-sheets for each template and so, I believe the placeholder text for my “Search” field in the header, is not sized consistently across all the templates. I have been looking at this for some time and cannot find the issue. Could someone please look over my “Search” field and help me get a consistent size between my template pages? Thanks!!
You will see the differences when clicking from the homepage:
http://www.rose-hulman.edu/
To either “About”, “Admissions”, “Academics”, etc.
http://www.rose-hulman.edu/about.aspx
http://www.rose-hulman.edu/admissions-financial-aid.aspx
http://www.rose-hulman.edu/academics.aspxJune 5, 2014 at 11:12 am #171971svoltmer
ParticipantThe actual width of the input grows and shrinks depending on which page you are on. I’ve tried changing the width of the class .search on the home page to match the 135px assigned to the .search class on the Admissions page, but it pushes the “Go” button below it. Why can’t I get the same widths to respond the same on these pages. That is my question.
I am using Chrome.June 5, 2014 at 12:21 pm #171987svoltmer
ParticipantThanks! That fixed the input size and position. Could you tell me why the logo and the search box moves outward when I go to the “About” page?
June 5, 2014 at 1:52 pm #171995svoltmer
ParticipantWell I thought I had it until I looked at Firefox. Any Ideas about the search box?
June 6, 2014 at 5:23 am #172062svoltmer
ParticipantOne of the issues I solved. I hadn’t included -moz-box-sizing:border-box, but I will still have to look over the sizing of the “Go” button.
As far as the odd stylesheets, that was due to the way I had to roll out a new homepage design while still retaining some of the current page templates. The homepage template was redesigned with a foundation grid, but the child pages, could not be done at this time.
June 6, 2014 at 7:41 am #172069svoltmer
ParticipantGot it, After some digging.
Apparently Firefox considers any input with “type=submit” as a button, so it adds padding and border around it. Here is the fix:input::-moz-focus-inner /Remove button padding in FF/
{
border: 0;
padding: 0;
}Thanks for your help earlier wolf!
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.