1
I have a page that when resized the facebook image is broken and I am not able to leave it aligned to the left next to the field of the newsletter, I tried to decrease the size of the input and was not cool, I did this:
#newsletter-form input#newsletter { float: left; width: 300px; /* ALTEREI DE 360 PARA 300 */ margin-right: 10px; display: inline; }
In addition the input gets smaller when resizing the still broken image. The page can be viewed here, without the change: Website under development
I noticed on your page a css linked to the image
#newsletter-wrap img
, float: right; in case it’s your facebook image (icon), I changed it to left, and got better but I don’t know if it’s the result you need.... Or you can also take the float; Decrease from 300px to 280px the input that already looks better too; See if it’s the result you want...– Rafael Withoeft
Hello @Rafaelwithoeft, thanks for the tip, the image has now stuck to the input and is still broken.
– adventistapr
Broken in what sense? What result do you expect from the page when resizing? So maybe it would be easier to help;
– Rafael Withoeft
I mean, you threw the image at the bottom line, how can I give a space between the button and the image?
– adventistapr
You can use a 15px padding-left to let it go a little further, in case it breaks... if you’re not using bootstrap, I think you’d have to use css medias queries: http://tableless.com.br/introducao-sobre-media-queries/ and so adapt your input to "measurements"
– Rafael Withoeft
You can take the float and the display of the #newsletter-wrap img that the effect will continue the same, just leave the padding-left; and see about medias queries to adapt your input to different resolutions; ouu... you can use width: 70%, for example; Take a test and see what suits you best;
– Rafael Withoeft