7 Replies Latest reply: Aug 14, 2012 6:35 AM by broomeGirl RSS

    Link to line up under the h2

    broomeGirl Community Member

      Hi, this image is a screenshot of a box that is doing my head in.  Unfortunately site not live, which I know makes it harder for you to help me.  But I will endeavour to be succinct.

       

      The box is a div ..

      #box1 {

          background-color:yellow;

          height:200px;

          padding:0 1em 0 0;}

      link.png

       

      The h2 tag has the following class assigned to it ..

       

      .floatRighth2{

          float:right;

          width:240px;

          margin:0;

          padding:0;}

       

      I am trying to get the link underneath (red) to sit underneath the h2 tag.

       

      #linksContent #box1 p a{

          float:right;

          margin:0;

          padding:0;

          color:red;}

       

      I have tried clears every which way but it wont budge. This is the html ..

       

      <div id="box1">

      <a href="http://aicwa.squarespace.com"><img src="images/links/Aust-Inst-of-Conveyancing.jpg" width="144" height="134" alt="Australian Institute of Conveyancing" /></a>

      <h2 class="floatRighth2">Australian Institute of Conveyancers WA Division</h2>

      <p><a href="http://aicwa.squarespace.com/">http://aicwa.squarespace.com/</a>    </p>

      </div><!--END of box 1-->

       

      Really appreciate your time, thanks!