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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with CSS absolute/relative postioning 1

Status
Not open for further replies.

Jimuniguy

Technical User
Mar 6, 2002
363
GB
Hi,

Problem
I need to position the form about 140 pixels AFTER banner, but I dont seem to be getting this right with the code below:

Code:
<div align=&quot;center&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 40px; font-weight: bold; color: #000000; position: absolute; visibility: visible; left: 140px;	top: 100px;&quot;> 
&nbsp;&nbsp;&nbsp;Help Me</div>
  
<div style=&quot;position: relative;	visibility: visible; width: 80%; top: 100px;&quot;><form><p>This really neads to go about 140 pixels down from the banner above</p></form>

Can someone tell me what I am missing please?

Thank you

James
 
IE5.5 definitly should do it as far as I know.

If applying it to the body try something like::

body, html {scroll....}

I think this has something to do with rendering in &quot;quirk&quot; mode! (?)

Do have have a page online where I can see the code?
(just in case I notice something)


É

endamcg-logo1b.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top