473,325 Members | 2,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

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

170 100+
hi all,

i've got the html below to include a background
Expand|Select|Wrap|Line Numbers
  1. <HTML>
  2.      <HEAD>
  3.      <TITLE> StarHub Query System </TITLE>
  4.      </HEAD>
  5.   <BODY BACKGROUND="C:\program files\Apache Software Foundation\Apache2.2\htdocs\starhub1024by768.jpg">
  6.      <div style="position:absolute; top:223px; left:425px; width:180px; height:10px">
  7.      <a href="mml_options.htm">MML LOG</a>
  8.      </div>
  9.   </BODY>
  10. </HTML>
  11.  
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
May 27 '08 #1
2 2066
hsriat
1,654 Expert 1GB
Don't use it as background then. Use the image in img tag inside a div with style height:100%;width:100%;z-index:-1;
May 28 '08 #2
hsriat
1,654 Expert 1GB
forgot to add position:absolute;top:0px;bottom:0px;
May 28 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Theodore A. Jencks | last post by:
Hi all, I posted a question about a side navigation bar earlier where I was encountering this problem. I thought I'd repost the question in a more general format because I'm not sure people...
11
by: Konrad Den Ende | last post by:
I have a function returning a string but the problem is that the color of it is blue which suits me well for some pages but not for others. Is it possible to "feel" what the color of the background...
2
by: jacek | last post by:
hi, I have a form and onsubmit there's a code like this <form onsubmit="w=window.open(); w.blur(); " > the window opens correctly, all the parameters work just fine, but the window doesn't get...
11
by: Steve Kirkendall | last post by:
I need a work-around for an IE limitation, regarding fetching HTTP documents in the background. It takes a bit of explaining; please be patient... I'm working on an project that will run on an...
5
by: Dag Sunde | last post by:
Is it possible to detect if the user minimizes the browser-window? I do some polling, and want to stop it while the window in minimized, but not when it only is blurred... TIA... -- Dag.
4
by: Steve Dambrowski | last post by:
How do I make my background image fit the screen so no one has to scroll, and at the same time it's not tiled looking?? I have one that is 800x600 and one that is 1084x768. The small one...
5
by: Doug Laidlaw | last post by:
I have re-styled my Web site at http://www.douglaidlaw.net/boykett/ . It now uses a CSS stylesheet basically copied from "Beginning CSS Web Development" with a fluid main content area, and passes...
5
by: =?Utf-8?B?SmFtZXMgV29uZw==?= | last post by:
Dear all, I'd like to know if there is any method to minimize command mode window when a console program is running. In my case, there are several console programs which run periodically in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.