473,606 Members | 2,409 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

170 New Member
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 2082
hsriat
1,654 Recognized Expert Top Contributor
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;
May 28 '08 #2
hsriat
1,654 Recognized Expert Top Contributor
forgot to add position:absolu te;top:0px;bott om:0px;
May 28 '08 #3

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

Similar topics

1
6450
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 quite understood what I was asking in my last post. Here is what I'd like to do: 1. Have a div tag that's soul purpose is to display a repeating background image in the y-axis. 2. The div tag should also have a fixed width.
11
3187
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 in the current document is and set the color of the output accordingly? The background will be an image, in most cases. -- Kindly Konrad
2
4807
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 minimized. My browser is Internet Explorer 6.
11
1844
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 intranet. I need to have pages be reloaded automatically when the data they reflect is changed at the server. For Netscape/Mozilla/Firefox, I do this by having the page use JavaScript to read a special "/update.html" URL in the background. For...
5
13628
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
13715
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 tiles.. and the big one cuts off the bottom. http://www.azclan.net/index2.html is currently the larger jpg.
5
1812
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 the validator for HTML 4.01 (except api_sample.html. I tried to get the XHTML out of that, but Kompozer kept putting it back till I gave up. It isn't part of the main stream of the site, more like an aside, and it looks O.K. in XP's Internet...
5
10766
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 server. Now, every console program instance will open a command mode window and they occupy the whole screen. I want to minimize all of them and maximize it if neccessary by manual. Is it possible and how to do it? I'm using VB.NET 2005. ...
0
7955
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8440
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
6773
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5966
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5466
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3980
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2448
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1557
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1300
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.