Results 1 to 11 of 11

Thread: [2005] Positioning two controls hlp plz!

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    [2005] Positioning two controls hlp plz!

    Hi Peeps,

    I have a hyperlink control which is set as position absolute; this hyperlink can be up to two lines so I made the box that size. Underneath I have a label which holds text; my problem is if the hyperlink is only one line I end up with a gap between it an my label. I want the label to move down if it needs to.

    If I shrink the hyperlink so it is big enough for just one line it drops to two if needed; so I moved my label up but the hyperlink overrides it.

    Any ideas please,

    Jiggy!

  2. #2
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: [2005] Positioning two controls hlp plz!

    Put a label in the middle, call it something nice, like lblBr. Set it's text to "<br>". When you need the extra break, just make it visible. If you don't need it, make it invisible.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Positioning two controls hlp plz!

    Use DIVs. Use Tables. Use something that can expand in size and pushes the elements below it as well!

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Re: [2005] Positioning two controls hlp plz!

    Hi mate,

    I have them in divs but it does not push the div below down. Is there a property you can set?

    Cheers,

    Jiggy!

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Positioning two controls hlp plz!

    Look for float, position, clear.

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Re: [2005] Positioning two controls hlp plz!

    Nope still can't get the div below to move down if the div above grows.

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Re: [2005] Positioning two controls hlp plz!

    I have the same problem with text and an image. I have a label which overlaps an image and I want to populate the label from a database and have the text go around the image.

    Any Ideas Please!!!!

  8. #8
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Positioning two controls hlp plz!

    I'm not king of the divs, but

    Code:
    <div style="position:inline;left:20px;top:15px;clear:both;">
    asfldjsalfksajfsaldfkjasf<br/><br/><br/>
    asfkdlasjflkasjfalskfaslfjsa
    </div>
    <div>
    My other div
    </div>

  9. #9

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Re: [2005] Positioning two controls hlp plz!

    Thanks mate!

  10. #10
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Positioning two controls hlp plz!

    Add resolved, and the rest. Y'know what to do

  11. #11

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Re: [2005] Positioning two controls hlp plz!

    Hi Mate,

    Your filling the text in the div and I am using a hyperlink control and label.

    Cheers,

    Jiggy!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width