SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Oct 2008
    Posts
    551
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Image with text aligned at top with <li>

    I'm trying to get the text to align right of the image seperator below. Currently the text is showing underneath the images, not along side them in each <li>

    Code:
    <li><a href="sss">Home</a><span><img class="landingPageTopNavSeparator" src="images/nav_div.gif" /></span></li>
    
    .landingPageTopNavSeparator
    {
    	text-align: left;
    	width: 3px;
    }

  2. #2
    SitePoint Evangelist
    Join Date
    Oct 2008
    Posts
    551
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nevermind, found it vertical-align: text-top;


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •