All,

I have a stripped down Coldfusion page using css for a centered wrapper that 
works for me at Web hosting company A and it works as a *.cfm or *.htm file.  

However when I place the *.htm and *.cfm files on Web hosting company B, it only
works as an *.htm file doesn't when I rename it to a *.cfm file. The the 
centered look
falls to the left.

http://www.microfuelcell.com/oikos.cfm - working sample on company A.
Notice how the div is centered in the page regardless of widht of the browser.

Is this a server config issue? Thanks for any help. Code below ...

D


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
..go {
 font-size: 12px;
}
#Layer2 {
 position:relative
 top:645px;
 width:768px;
 height:900px;
 margin-right: auto;
 margin-left: auto;
 background-color: #FFFFFF;
 border: 2px solid #000000;
}
-->
</style>
</head>
<body>
<div id="Layer2">Content for  id "Layer2" Goes Here</div>
</body>
</html>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276049
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to