APD Toronto
asked on
Flex Messes With Horizontal Positioning
Hello Experts,
If you open http://aces-project.com/2017/website-add-ons.php on a narrower browser window, like 430px (mobile view), you will see that the texts right of the images is misaligned vertically. This happened as soon as I added position: flex; on line 9 of pages-mobile.css
The reason why I am adding flex is in order to vertically center the .imgAddon with .divAddonInfo. However, you will see that I am specify a width of 150px to .imgAddon, which should keep everything aligned.
Any help will be greatly appreciated.
If you open http://aces-project.com/2017/website-add-ons.php on a narrower browser window, like 430px (mobile view), you will see that the texts right of the images is misaligned vertically. This happened as soon as I added position: flex; on line 9 of pages-mobile.css
The reason why I am adding flex is in order to vertically center the .imgAddon with .divAddonInfo. However, you will see that I am specify a width of 150px to .imgAddon, which should keep everything aligned.
Any help will be greatly appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER