SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2011
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Header CSS Alignment issue

    Hi guys,

    do you have any idea on how to align this text?



    Code HTML4Strict:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    it should be like this..



    Code:
    <h3>Map</h3>
              <p style="bottom: 0; margin: 0; position: absolute; right: 0;"><a href="napobeachresortmap.php">Enlarge Map </a></p>                                                              
                <span>   N - Napo Beach Resort, Mapipi Island, Biliran, Philippines                                               
                </span>

    Link

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,295
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Just change the bottom:0; to top:0 or top:-10px.
    Code:
    <p style="margin: 0; position: absolute; right: 0; top: -10px;"><a href="napobeachresortmap.php">Enlarge Map </a></p>

  3. #3
    SitePoint Enthusiast
    Join Date
    Jun 2011
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    perfect.. thanks.. =)


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
  •