jimmyshoes
Programmer
using Firefox I have found the following.
1. Save the following code in 2 files and name 1 box.htm and the other box.cfm
2. double click box.htm in explorer (opens with firefox)
3. run localhost/box.cfm in firefox
4. Compare the layouts, they are different!
If you compare the 2 layouts, the viewport is a different size. In 1024 res, the .cfm version needs a horizontal scrollbar whereas the htm version does not
Can anyone explain this?
1. Save the following code in 2 files and name 1 box.htm and the other box.cfm
2. double click box.htm in explorer (opens with firefox)
3. run localhost/box.cfm in firefox
4. Compare the layouts, they are different!
If you compare the 2 layouts, the viewport is a different size. In 1024 res, the .cfm version needs a horizontal scrollbar whereas the htm version does not
Can anyone explain this?
Code:
<html>
<body>
<div style="margin-left:auto;margin-right:auto;width:960px;border: 1px solid #666;">1234</div>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</body>
</html>