0

Can images be aligned vertically, if yes, how can this be done?

17th Sep 2017, 1:12 PM
Chibuokem Chiorlu
Chibuokem Chiorlu - avatar
2 Réponses
17th Sep 2017, 1:18 PM
Calviղ
Calviղ - avatar
+ 4
@Sean: 'align' attribute is deprecated in Html5... it will most of time corrected by browser, but it's a bad practice! Anyway, 'middle' was never a valid value for 'align' attribute in previous versions of Html ^^ @Calvin: 'flex' is not the magic answer to all alignement question, as 'float' was too much improper used as magical response also ;P and anyway, it's not obvious to understand how it's working on first attempts: I think this should require a minimal verbose explanation rather than just a source code to check ;) @Chibuokem Chiorlu: Check this code (run and read it, and explore source code in same time) to see different ways of elements alignement: https://code.sololearn.com/WewcrAlN1m8k/?ref=app
17th Sep 2017, 2:45 PM
visph
visph - avatar