how to minimize background and browser window at the same time?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • poolboi
    New Member
    • Jan 2008
    • 170

    how to minimize background and browser window at the same time?

    hi all,

    i've got the html below to include a background
    [CODE=html]
    <HTML>
    <HEAD>
    <TITLE> StarHub Query System </TITLE>
    </HEAD>
    <BODY BACKGROUND="C:\ program files\Apache Software Foundation\Apac he2.2\htdocs\st arhub1024by768. jpg">
    <div style="position :absolute; top:223px; left:425px; width:180px; height:10px">
    <a href="mml_optio ns.htm">MML LOG</a>
    </div>
    </BODY>
    </HTML>
    [/CODE]

    how do we ensure our background minimizes when we minimize our browser window?
    cos i realise my code doesn't...only the browser minimises but not the images or the backgrounds
  • hsriat
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

    #2
    Don't use it as background then. Use the image in img tag inside a div with style height:100%;wid th:100%;z-index:-1;

    Comment

    • hsriat
      Recognized Expert Top Contributor
      • Jan 2008
      • 1653

      #3
      forgot to add position:absolu te;top:0px;bott om:0px;

      Comment

      Working...