i have an cfm page that displays content flush to the top of the browser window, as i intended. BUT when i add cfqueries to the page i get a space between the top of the browser and my content ONLY in Explorer.
the only way i dont get the space in IE is to put the queries at the bottom of the page (or remove them), but then i get errors because i need that data.
the code is like this:
[tt]
<cfquery name="getPrices" datasource="#dsname#" dbtype="odbc">
SELECT * FROM pricing
</cfquery>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>something</title>
<link rel="stylesheet" type="text/css" href="style.css">
<body>
<cfinclude template="header_not_index.cfm">
<div id="content-space">
<div id="content-box2">
<div id="content-left">
....
</div>
[/tt]
etc....
so you can see the query is before everything. but wherever i move it i get a space. even if i put it after the body tag!
it makes no sense to me, but if i take the queries out, the extra space goes away. anyone ever experience this or have a suggestion?
thanks!
the only way i dont get the space in IE is to put the queries at the bottom of the page (or remove them), but then i get errors because i need that data.
the code is like this:
[tt]
<cfquery name="getPrices" datasource="#dsname#" dbtype="odbc">
SELECT * FROM pricing
</cfquery>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>something</title>
<link rel="stylesheet" type="text/css" href="style.css">
<body>
<cfinclude template="header_not_index.cfm">
<div id="content-space">
<div id="content-box2">
<div id="content-left">
....
</div>
[/tt]
etc....
so you can see the query is before everything. but wherever i move it i get a space. even if i put it after the body tag!
it makes no sense to me, but if i take the queries out, the extra space goes away. anyone ever experience this or have a suggestion?
thanks!