SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict AtSea webdesign's Avatar
    Join Date
    May 2010
    Location
    Newark, Delaware
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    text not playing nicely with image

    Hi all,

    Working on a project and ran across something I can't figure out.

    Trying to make this text wrap nicely with the icon image.


    Here's my code:

    Code:
     <div id="testCenter">
         <p><img src="images/icon_cbtc3.gif" style="vertical-align: middle"><a class="courseMgmtHead" href="cbtc.html" title="Testing Center">Testing Center</a></p>
          <p>Information on ETS, TOEFL and other tests offered on site for both students and the general public.  <a class="subLinks" href="cbtc.html" title="Computer Based Testing Center">more...</a></p>
        </div>
    and my css:

    Code:
    #testCenter {width: 25%; float: left;padding: 0 .4em; color: #333}
    .courseMgmtHead{font-size: 1.3em; font-weight: bold; line-height: 5px}
    I'm sure its something basic I'm missing.
    Attached Images Attached Images

  2. #2
    SitePoint Addict AtSea webdesign's Avatar
    Join Date
    May 2010
    Location
    Newark, Delaware
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    for those looking I got it to work wrapping each item in a div.


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
  •