|
-
May 31st, 2007, 07:13 AM
#1
Thread Starter
Frenzied Member
[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!
-
May 31st, 2007, 08:24 AM
#2
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.
-
Jun 4th, 2007, 10:51 AM
#3
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!
-
Jun 4th, 2007, 10:57 AM
#4
Thread Starter
Frenzied Member
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!
-
Jun 4th, 2007, 04:08 PM
#5
Re: [2005] Positioning two controls hlp plz!
Look for float, position, clear.
-
Jun 5th, 2007, 04:45 AM
#6
Thread Starter
Frenzied Member
Re: [2005] Positioning two controls hlp plz!
Nope still can't get the div below to move down if the div above grows.
-
Jun 5th, 2007, 07:07 AM
#7
Thread Starter
Frenzied Member
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!!!!
-
Jun 5th, 2007, 02:08 PM
#8
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>
-
Jun 5th, 2007, 03:02 PM
#9
Thread Starter
Frenzied Member
Re: [2005] Positioning two controls hlp plz!
-
Jun 7th, 2007, 09:08 AM
#10
Re: [2005] Positioning two controls hlp plz!
Add resolved, and the rest. Y'know what to do
-
Jun 7th, 2007, 09:39 AM
#11
Thread Starter
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|