Versuchs, mein image ein wenig niedriger, aber es zieht alles nach unten

Ich versuche, die position, die mein Bild ein wenig niedriger, damit in der Mitte des Bildes richtet die vertikale Mitte des header-tag.

Hier ist die sowohl die HTML-und die CSS. Vielen Dank für die Hilfe!

Versuchs, mein image ein wenig niedriger, aber es zieht alles nach unten

#articlesummary
{
    border: 2px solid red;    
    width: 750px;
}

#articlesummary h3
{
    border: 2px solid red;
    display:inline;
    color: #4292C6;    
    font-family: Verdana;
}

#articlesummary img
{   
    width:30px; 
    border: 1px solid red;
    margin-top: 5px;   
}

.submissionowner
{
    color: Gray;
}

<% foreach (var article in Model) { %>
<div id="articlesummary">
    <h3><%: article.Title %></h3>
    <sub class="submissionowner">Submmited by: <%: article.SiteUser.Login %></sub>
    <img src="../../Content/anonymous.png" alt="Anonymous user." />
    <p><%: article.Body %></p>
    <sub>Views:<%: article.TotalViews %> | Rating: <%: article.TotalRating %></sub>
</div>    
<% } %>

Tausend Dank für jede Hilfe!!!

InformationsquelleAutor | 2010-08-26
Schreibe einen Kommentar