SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    May 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need a little help with image placement

    Hi,

    I had a design turned into HTML/CSS recently by one of the PSD-to-HTML services. I modified the design slightly but I can't seem to get the image to align to the right directly above the form. I also wanted the text to come up level with the image.

    Can anyone help? The temp URL is

    http://www.avondalewest.com/temp/page/

    Thanks!

  2. #2
    SitePoint Guru
    Join Date
    Nov 2005
    Location
    Norway
    Posts
    715
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In your stylesheet update .#content #middlead .thumb to this:
    #content #middlead .thumb { text-align: right;}

  3. #3
    SitePoint Member
    Join Date
    May 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, cool, thanks for the quick reply! That code gets the image above the form.

    Now just wondering....

    How do I get the text to come up level with the top of the image instead of level with the top of the form as it is now?

    http://www.avondalewest.com/temp/page/

  4. #4
    SitePoint Guru
    Join Date
    Nov 2005
    Location
    Norway
    Posts
    715
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah sorry read it a little quick .
    Change #content #middlead .thumb to float: right; instead and to #contactform add clear: right;

    - Frederik

  5. #5
    SitePoint Member
    Join Date
    May 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, that has worked great!!


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
  •