[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!
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.
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!
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!
Re: [2005] Positioning two controls hlp plz!
Look for float, position, clear.
Re: [2005] Positioning two controls hlp plz!
Nope still can't get the div below to move down if the div above grows.
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!!!!
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>
Re: [2005] Positioning two controls hlp plz!
Re: [2005] Positioning two controls hlp plz!
Add resolved, and the rest. Y'know what to do :)
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!