Hello everyone, i'm having the following problem.
Considering the next portion of stylesheet:
html {
background-color: black;
height: 100%;
overflow: auto;
}
body {
background-color: #606060;
border-left: 1px solid #c0c0c0;
border-right: 1px solid #c0c0c0;
margin: 0px auto 0px auto;
height: 100%;
width: 720px;
}
..body {
background-color: #fff;
border-bottom: 1px solid black;
border-top: 1px solid black;
height: 140px;
position: absolute;
top: 30px;
width: 720px;
}
When I put bottom position (instead of top) to .body , it's everything
ok, both in Firefox and IE6.
Now when I put top position (like the above example), .body appears
initially at 30px from top but it doesn't 'sticks' to the page. When I
resize the window it behaves like if it's a fixed positioning. This is
happening only in IE6. Firefox shows it perfectly.
I'm using XHTML 1.0 Strict doctype.
HTML below:
<body>
<div class="body">
<div class="content">
<img class="logo" src="logo.jpg" alt="Magnus Films" height="32"
width="192" />
<div class="menu">
<a href="novedades.html">Novedades</a> | <a
id="menuLink1" href="2pesos.html">Videos de $2</a> | <a
id="menuLink2" href="#">Cortometrajes</a> | <a
id="menuLink3" href="mailto:ma****@lki.com.ar">Contacto</a>
</div>
</div>
</div>
</body>
I'd appreciate any help you can give me.
Luis 8 4332
Once upon a time *l********@gmail.com* wrote: Hello everyone, i'm having the following problem.
Considering the next portion of stylesheet:
html { background-color: black; height: 100%; overflow: auto; }
body { background-color: #606060; border-left: 1px solid #c0c0c0; border-right: 1px solid #c0c0c0; margin: 0px auto 0px auto; height: 100%; width: 720px; }
.body { background-color: #fff; border-bottom: 1px solid black; border-top: 1px solid black; height: 140px; position: absolute; top: 30px; width: 720px; }
When I put bottom position (instead of top) to .body , it's everything ok, both in Firefox and IE6.
Now when I put top position (like the above example), .body appears initially at 30px from top but it doesn't 'sticks' to the page. When I resize the window it behaves like if it's a fixed positioning. This is happening only in IE6. Firefox shows it perfectly.
I'm using XHTML 1.0 Strict doctype.
HTML below:
<body> <div class="body"> <div class="content"> <img class="logo" src="logo.jpg" alt="Magnus Films" height="32" width="192" /> <div class="menu"> <a href="novedades.html">Novedades</a> | <a id="menuLink1" href="2pesos.html">Videos de $2</a> | <a id="menuLink2" href="#">Cortometrajes</a> | <a id="menuLink3" href="mailto:ma****@lki.com.ar">Contacto</a> </div> </div> </div> </body>
I'd appreciate any help you can give me.
Give us a "U", give us a "R", give us a "L"
Yeah, give us a URL!
--
/Arne
Now killing all posts originating at GoogleGroups
Workaround: http://www.safalra.com/special/googlegroupsreply/
-------------------------------------------------------------
Arne <in*****@domain.invalid> wrote:
[huge snip of quoted text followed by a 2 line reply]
Kindly trim quotes down to the bare minimum.
--
Spartanicus
Much, much sorry.
Here is the URL: http://www.lki.com.ar/magnus/
I have this nice bottom bar. If you resize the window, both in IE and
FF, works ok. Now click the first menu option (Novedades) and resize
the window. FF does it well, but in IE the bar is.. like if it is
position:fixed.
Any idea?
Thank you very much.
Luis lu*******@gmail.com wrote: http://www.lki.com.ar/magnus/
I have this nice bottom bar. If you resize the window, both in IE and FF, works ok. Now click the first menu option (Novedades) and resize the window. FF does it well, but in IE the bar is.. like if it is position:fixed.
I do not see what the problem is. What does "works ok" mean? Describe
the behavior you actually expect.
It behaves exactly as you have programmed it to do in both Firefox and
IE6. In the index page the menu follows the bottom because of the bottom
attribute in .body. In Novedades.html it follows the top because of the
top attribute in .body.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
First of all, please excuse me if my english is too bad.
Maybe I am explaining myself wrong, or it is a problem with my
computer, but what I'm seeing here is:
The index page has the bar positioned with BOTTOM. When you resize the
browser (horizontally), the bar sticks to the vertical shaped body, I
mean, the position of the bar follows the resize. This is what I want,
and it works both in IE6 and FF.
In the Novedades page, which has the bar positioned with TOP, when you
resize the browser (again, horizontally) it doesn't behaves like Index
page. The bar sticks to the page like css position:fixed. It doesn't
follow the resize. This happens only in IE6 (at least in mine). FF does
it right just like Index.htm.
To see clearly the difference of behavior, try simply to resize the
browser horizontally in Index.htm and in Novedades.htm.
I don't know why, position:absolute is absolute within the element's
container, right? Why 'top' doesn't work like 'bottom'?
Hope this time I've made myself a bit clear :)
Thank you very much for the patience.
Luis lu*******@gmail.com wrote: To see clearly the difference of behavior, try simply to resize the browser horizontally in Index.htm and in Novedades.htm.
I don't know why, position:absolute is absolute within the element's container, right? Why 'top' doesn't work like 'bottom'?
It is an IE defect.
Add position:relative to "body" (not ".body"!). This convinces IE to
pay attention to resizes.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Thank you SO much, Jim. Now it's working.
Jim Moe wrote: lu*******@gmail.com wrote:
To see clearly the difference of behavior, try simply to resize the browser horizontally in Index.htm and in Novedades.htm.
I don't know why, position:absolute is absolute within the element's container, right? Why 'top' doesn't work like 'bottom'?
It is an IE defect. Add position:relative to "body" (not ".body"!). This convinces IE to pay attention to resizes.
Actually, changing ".body" to position:relative; works as well.
--
Gus This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tom Szabo |
last post by:
Hi,
Just wondering if there are any disadvantage in absolute positioning
controls on a page?
In example instead of putting the text fields into a table to align
properly, one would absolute...
|
by: Jason Lawrence |
last post by:
I have an attributed ATL project (call it B) that I am
building with Microsoft Visual C++ .NET (55537-640-3684941-
18356). In the project I include the COM generated file
A.h (from another ATL...
|
by: David Cho |
last post by:
This is a simple issue I am trying to figure out.
How would I express absolute paths to various aspx files in the aspx
page. I am not intereted in relative paths.
For example, I want to...
|
by: Chris Gill |
last post by:
I'm trying to use cookieless sessions in asp.net using the InProc mode (for
various reasons it is not desirable for us to use the other modes if it is
possible to avoid them). My problem revolves...
|
by: Don |
last post by:
Environment: VB6 under W98
I have to use a DLL which has a single entry point expressed as an
absolute address. Any function to be invoked is then specified as one
of the arguments. The number...
|
by: JeffDotNet |
last post by:
I wrote a small data processing application that writes a summary of
several hundred files. I use drag and drop on a panel (Panel1) to grab
the absolute path to each of these files. Then I begin...
|
by: Jerry M. Gartner |
last post by:
Greetings:
What is the best way to resolve paths within a document regardless of what
path it is opened under? For example: I have x.php and it contains <img
src="images...">, (amongst other...
|
by: petergus |
last post by:
Problem overcap:
on this website there is a DHTML dropdown menu (ul style), and right below some of the menu is a flash video, and the issue is getting the dropdowns to show and STAY over the flash....
|
by: chemlight |
last post by:
I am having an issue with HTML elements not printing when positioned absolutely when they extend beyond the first page. I am working on some foreign tax refund forms. The forms are cut into multiple...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
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,...
|
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...
|
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...
| |