Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Div Tag Positioning 3

Status
Not open for further replies.

Jimuniguy

Technical User
Mar 6, 2002
363
GB
Hi,

Say I have a box in the top right hand corner of the screen. This is absolute positionined.

I now need a piece of text which is:

A) Underneath the box, no matter how it grows in size
B) Needs to be positioned at the far left of the screen.

Hows it done please?

Cheers

James
 
As for me, I don'r really understand how your links were aligned to right side.
And I found your layout very messy and would redesign it completely.
 
Hi,

I have had too.
This is what i Have ended up doing.

Code:
<Div style=&quot;position: absolute; visibility: visible; Right: 10px; top: 10px; Clear:right;&quot;>
<a href=&quot;[URL unfurl="true"]http://www.address.com&quot;>[/URL]
<img src=&quot;../Images/unis2.gif&quot; width=186 height=70 border=0></a> </div>




<div class=&quot;backgroundtext&quot;>Links: <br>
    <a  href=&quot;[URL unfurl="true"]http://www.address.com&quot;>Centre[/URL] for Learning Developments</a><br>
    <a  href=&quot;[URL unfurl="true"]http://www.address.com/&quot;>The[/URL] Name of The Library</a><br>
    <a  href=&quot;[URL unfurl="true"]http://www.address.com&quot;>Assisted[/URL] Learning Support</a><br>
    <a  href=&quot;../asp/address&quot;>The Address </a></div>
 
  
  

 <Div  style=&quot;position: relative; left: 140; clear: left;&quot;>
 <DIV class=&quot;titletext&quot;>Centre of Learning Devolopements </div> 
  <DIV class=&quot;Majortext&quot;  >Additional Learning 
    Support </div>
</Div>

It works so cheers

James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top