Css Layout does not return to previous state...
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

https://seniorlivingjobs.com/testpost.php

This link has the basic elements acting abnormally..

When the browser width is adjusted to something below 1200 pixels, the image on the right drops incorrectly aligned with social icons.. That is an issue, yes.. However...
when the browser adjusts back above 1199 pixels, the layout is not what it was previously until the page is manually refreshed...

Help please!

awarded to fabian muema

Crowdsource coding tasks.

2 Solutions


What about aligning text to right?

.table-right {
    text-align: right;
}

Is that acting like you expect?

Yours was actually first, and so I've tipped you accordingly.. My apologies..
TGIFriday 2 months ago
Winning solution

Try this in your css:

img {
position: relative;
vertical-align: middle;
float: right;
}

View Timeline