473,386 Members | 1,810 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,386 software developers and data experts.

document.body.offsetTop returns null(always)

pragathik
hi,

i have a problem with document.body.offsetTop and document.body.offsetLeft always returns null in my code in IE6.
how can I get the values???? please suggest
Feb 4 '08 #1
3 4144
acoder
16,027 Expert Mod 8TB
If IE6 is in strict mode, some of the properties are allocated to document.documentElement. See Viewport properties.
Feb 4 '08 #2
If IE6 is in strict mode, some of the properties are allocated to document.documentElement. See Viewport properties.
what is strict mode in IE6. is there any setting like that in Options?
Feb 5 '08 #3
acoder
16,027 Expert Mod 8TB
what is strict mode in IE6. is there any setting like that in Options?
Strict mode and quirks mode would depend on the doctype used. Are you using a strict doctype?
Feb 5 '08 #4

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

Similar topics

10
by: Russell Mangel | last post by:
What would be the best way to parse this XML document? I want to avoid using XMLDocument. I don't know if I should use XMLTextReader, or Xpath classes. There is only one element <MessageStore>...
1
by: genc ymeri | last post by:
Hi, I'm trying to check fo rthe updates but always I get the below error message. I did all the windows updates first and tried to do this but I got the same problem. I have tried to several PCs...
5
by: Gernold Schneider | last post by:
I have a managed code function calling a unmanaged code function which returns a "bool". Obviously the return value is always "true", if i am not running the code in the debugger. If i run the...
2
by: Trapulo | last post by:
I read Context.Request.ServerVariables("HTTP_HOST") from an asp.net page, but I've the problem that it returns always "localhost". I've tried to call the web site as http://server/site (server as...
5
by: simon | last post by:
<html> <head> <script language="vbscript"> sub window_onload msgbox document.getElementsByName("name1").length end sub </script> </head> <body> <div name="name1">testDiv</div>
5
by: ernestb08 | last post by:
I have a Customers Table with the following field names. C_FirstName C_LastName C_MiddleI .. .. .. .. ..
7
by: rynato | last post by:
I have a lengthy 'markup.php' file which consists of functions which take as input the various attribute values of HTML tags and spit out the HTML tag. My problem is that the function for <inputis...
1
by: JR | last post by:
Dim PrintDialog As New PrintDialog Dim result As DialogResult = PrintDialog.ShowDialog() If result = Windows.Forms.DialogResult.OK Then 'I get always cancel(2) as an result and nothing happens...
28
by: rahul | last post by:
#include <stdio.h> int main (void) { char *p = NULL; printf ("%c\n", *p); return 0; } This snippet prints 0(compiled with DJGPP on Win XP). Visual C++ 6.0
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...

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.