Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Feb 2005
    Location
    Portland, Oregon
    Posts
    93
    Member #
    8959
    I am having hard time getting the link of 'click here for more details' to line up with the title of 'Claremont Resort & Spa'

    i also want to insert an image on the left of this body content, how could i do that?

    the html contains css inside for viewing here at
    http://www.ardia.org/hotel.htm

    in ahead of time, thank you for assisting.

    -ardia

  2.  

  3. #2
    Member
    Join Date
    May 2005
    Location
    Rochester, NY
    Posts
    83
    Member #
    10054
    ardia-
    In the CSS section of your code, try changing this
    Code:
    .raised h5{font-size: 0.75em; text-align: right; font-weight: normal;}
    to this
    Code:
    .raised h5{font-size: 0.75em; font-weight: normal;
    }

    That should align the text you're talking about to the left.

    -Mike
    michael murphy
    Professional Web Development
    http://www.letsgomurphys.com/

  4. #3
    Member
    Join Date
    Feb 2005
    Location
    Portland, Oregon
    Posts
    93
    Member #
    8959
    i am not clear enough. i meant for the right link to line up on top in the same line as the hotel name. right now, the link(right) is in the next line.

  5. #4
    Junior Member
    Join Date
    Mar 2005
    Posts
    15
    Member #
    9467
    Ardia,

    If I were you I would put my h1 and h5 elements inside a div and then use span to align each one on the left and right sides respectively. For example:

    CSS:

    #row {
    position:relative;
    margin:0;
    width:100%;
    }

    span.left {
    float:left;
    text-align:left;
    }

    span.right {
    float:right;
    text-align:right;
    }

    then...
    <div id="row">
    <span class="left"><h1>Claremont Resort &amp; Spa</h1></span>
    <span class="right"><h5><a href="http://www.travelconnection.com/html/hotels/smfres.htm" target="_blank">click here for more details</a></h5></span>
    </div>

    You might need to tweak your css for h1 and h5 to get padding and stuff right.

    itspersonal5


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:34 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com