XF 1.2 Center this Image

BamBam

Active member
Hi,

I have a Image in the Notices, but its not centered. Anybody can help me with this? It must be a little bit down, and a little bit left:

Screenshot_1.webp

This is the Code, maybe someone can modify this Code for me, or tell me which Setting i have to change?

Code:
<style type="text/css">
.noticeButtonContainer
{width: 190px;
}
.csgoIntro
{background: url(rgba.php?r=0&g=0&b=0&a=153); background: rgba(0,0,0, 0.6); _filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
color: #ffffff !important;
font-size: 12px !important;
text-align: center!important;}
.csgoIntro a
{color: #ffffff !important;
font-weight: bold;}
.csgoIntro h4
{color: #ffffff !important;
font-size: 12px;
font-weight: bold;}
.csgoMember
{font-size: 9px;
font-weight: bold;}
.csgoMember a
{color: #ffffff !important;}
</style>


<img src="http://www.xxx/styles/icons/header.jpg" style ="repeat -y" title="" />


<div class="csgoIntro" style="position:absolute; top:0; left:0; height:262px; width:350px;margin-top:10px; margin-left:10px;">
    <div style="padding-right:10px;padding-left:10px;padding-top:10px" >
        <h4>Willkommen bei test!</h4>
<p></p>
            <p>Erstelle dir jetzt einen Account indem du auf Registrieren klickst, deine Email Adresse eingibst, und den weiteren Anweisungen folgst. Solltest du Probleme haben, schreib uns eine Email an: test - Vielen Dank!</p>
<br />
        <center><div class="noticeButtonContainer">
            <label for="LoginControl" id="SignupButton"><a href="http://xxx/login/" class="inner"><b>Registrieren!</b></a></label>
        </div></center>
        <div class="csgoMember">Bereits ein Mitglied? <a href="http://xxx/login/">Login!</a></div>
    </div>
</div>

THX!!!
 
Do you have a link? Without seeing what is happening, it is difficult to say why. On the img tag you have a style="" attribute that is invalid. My initial guess is that you have some paddings on the notice container that messes it up.
 
Back
Top Bottom