我想知道我是否可以放置任何 @media CSS 代码来完成这项工作,或者我是否可以提供有关如何解决此问题的任何建议。
My guess is that the padding-left:200px
in .nonprofit
is causing the problem. Try to remove it.
Use padding-left: 10px;
It's not a good practice to remove all the time! you can set a lower value like 0px or 10px that's the same result.
<div <?php echo mesmerize_footer_container( 'footer-simple' ) ?>>
<div <?php echo mesmerize_footer_background( 'footer-content center-xs' ) ?>>
<div class="gridContainer">
<div class="row middle-xs footer-content-row">
<div class="footer-content-col col-xs-12">
<?php
echo '
<html>
<style>
.nonprofit {
font-weight: bold;
font-size: 15px;
color: white;
padding-left: 10px;
display: block;
align: right;
}
</style>
<p class="nonprofit"> © 2019 Veterans for Diversity, Inc.</br>Veterans for Diversity, Inc.® is a tax-exempt 501(C)(3) nonprofit organization.</p>
<style>
.nonprofit {
float: left;
}
</style>
<div class="nonprofit">
<a href="https://uwm.edu/informationstudies/nonprofit/" target="_blank"><img src="https://veterans4diversity.org/wp-content/uploads/2019/11/nonprof-IT_icon.jpg" alt="UWM-NonProfIT" width="200" height="55" class="alignnone size-medium wp-image-234" srcset="https://veterans4diversity.org/wp-content/uploads/2019/11/nonprof-IT_icon.jpg, https://veterans4diversity.org/wp-content/uploads/2019/11/nonprof-IT_icon.jpg" sizes="(max-width: 300px) 100vw, 300px"></a>
</div>
</html>
';
?>
</div>
</div>
</div>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.