Sinisterly
WTF, font-size shifts inline elements? - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Design (https://sinister.ly/Forum-Design)
+--- Forum: Web Design (https://sinister.ly/Forum-Web-Design)
+--- Thread: WTF, font-size shifts inline elements? (/Thread-WTF-font-size-shifts-inline-elements)



WTF, font-size shifts inline elements? - Yonnel - 09-27-2015

[Image: jrQHNSV.png]

well i just made my text input and submit input both block elements and floated them left. 
wow.... well, i guess you have to hack everything in css and html.


RE: WTF, font-size shifts inline elements? - Kotomi - 09-27-2015

What's your question?


RE: WTF, font-size shifts inline elements? - Yonnel - 09-27-2015

No question I guess. Other than why does text size shift everything? HTML and CSS are way to unpredictable.


RE: WTF, font-size shifts inline elements? - Kotomi - 10-03-2015

(09-27-2015, 03:52 AM)Yonnel Wrote: No question I guess. Other than why does text size shift everything? HTML and CSS are way to unpredictable.

I don't see how font size would shift it left or right, but if you have spaces or the element gets too tall it can have issues like this I guess. 

Use a max-height: 123px; rule in your CSS and I hope you're using em for font size :3