{"id":5480779,"date":"2014-11-14T10:59:09","date_gmt":"2014-11-14T10:59:09","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/resize-center-element-outer-elements-fixed-width\/"},"modified":"2016-08-22T12:34:43","modified_gmt":"2016-08-22T12:34:43","slug":"resize-center-element-outer-elements-fixed-width","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/resize-center-element-outer-elements-fixed-width\/","title":{"rendered":"Resize center element, outer elements fixed width"},"content":{"rendered":"<p>I&#8217;ve searched several threads looking for this answer and I still can&#8217;t make this work&#8230;<\/p>\n<p>I&#8217;m trying to make the input element resize with the screen and elements while keeping the outer elements fixed width.<\/p>\n<p>here is the page I&#8217;m trying to fix:<br \/>\nhttp:\/\/www.jackrabbit.host<\/p>\n<p>here is an example of what I need:<br \/>\nhttp:\/\/www.jackrabbit.host\/images\/resizeexample.jpg<\/p>\n<p>(I&#8217;m using media queries, this fix will be added to the appropriate media query)<\/p>\n<p>Here are the div ID&#8217;s I have for the elements (these are for the full width media query so the styles are incorrect for the narrow browser width):<\/p>\n<pre><code>#home_domainchecker {\n\n\twidth: 648px;\n\tpadding:5px;\n\n\t}\n\n#home_www {\n\n\tmargin: 10px 0px 0px;\n\tposition: absolute;\n\tfont-size: 18px;\n\t}\n\n#home_domaininput {\n\n\tmargin: 0px 0px 0px 52px;\n\theight:40px;\n\tfont-size:18px;\n\twidth:642px;\n\t}\n\n#home_selector {\n\n\tposition:absolute;\n\tmargin: -40px 0px 0px 700px;\n\t}\n\n#home_domainbutton {\n\n\tposition: absolute;\n\tmargin: -40px 0px 0px 805px;\n\twidth: 90px !important;\n\theight: 40px;\n\tfont-size: 18px;\n\t}<\/code><\/pre>\n<p>and here is the html I&#8217;m working with:<\/p>\n<pre><code>&lt;div id=&quot;action&quot; class=&quot;clearfix box padding-box&quot;&gt;\n\n&lt;form action=&quot;http:\/\/www.jackrabbit.host\/high-speed-hosting\/whmcsportal\/domainchecker.php\/?&quot; method=&quot;post&quot; id=&quot;home_domainchecker&quot;&gt;\n\t&lt;input type=&quot;hidden&quot; name=&quot;direct&quot; value=&quot;true&quot;\/&gt;\n\t\t&lt;div id=&quot;home_www&quot;&gt;www.&lt;\/div&gt;\n\t\t\t&lt;input type=&quot;text&quot; name=&quot;domain&quot; size=&quot;20&quot; placeholder=&quot;Choose a new domain&quot; id=&quot;home_domaininput&quot;\/&gt;\n\t\t\t\t&lt;div id=&quot;home_selector&quot;&gt;\n\t\t\t\t\t&lt;select name=&quot;ext&quot;&gt;\n\t\t\t\t\t\t&lt;option&gt;.com&lt;\/option&gt;\n\t\t\t\t\t\t&lt;option&gt;.net&lt;\/option&gt;\n\t\t\t\t\t\t&lt;option&gt;.org&lt;\/option&gt;\n\t\t\t\t\t\t&lt;option&gt;.us&lt;\/option&gt;\n\t\t\t\t\t\t&lt;option&gt;.info&lt;\/option&gt;\n\t\t\t\t\t\t&lt;option&gt;.biz&lt;\/option&gt;\n\t\t\t\t\t\t&lt;option&gt;.uk&lt;\/option&gt;\n\t\t\t\t\t\t&lt;option&gt;.name&lt;\/option&gt;\n\t\t\t\t\t\t&lt;option&gt;.ca&lt;\/option&gt;\n\t\t\t\t\t\t&lt;option&gt;.co&lt;\/option&gt;\n\t\t\t\t\t\t&lt;option&gt;.eu&lt;\/option&gt;\n\t\t\t\t\t\t&lt;option&gt;.co.uk&lt;\/option&gt;\n\t\t\t\t\t&lt;\/select&gt;\n\t\t\t\t&lt;\/div&gt;\n\t\t\t&lt;input type=&quot;submit&quot; value=&quot;Go!&quot; id=&quot;home_domainbutton&quot;\/&gt;\n&lt;\/form&gt;\n&lt;\/div&gt;<\/code><\/pre>\n<p>I&#8217;m sure it&#8217;s a simple fix but I&#8217;m not an expert. I appreciate the help in advance!<\/p>\n<p>&#8211; Clint<\/p>\n","protected":false},"template":"","class_list":["post-5480779","topic","type-topic","status-closed","hentry","topic-tag-responsive-css"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5480779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5480779\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5480779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}