I have a span tag that I need to keep in a fixed position so when I scroll the page it stays put. It just won't stay put though, and the example I have works on the example page at w3 schools. This is driving me nuts. It works fine in Firefox, but not in IE8 or IE7. Any help is appreciated. My code is below...
Code:<style type="text/css"> #leftcolumn { float: left } #rightcolumn { padding-top: 40px; margin-left: 20px; } #content { position:fixed; top:30px; right:5px; } #main { overflow: auto } </style>
Code:<div id="main"> <div id="leftcolumn"> <% dim fs, f set fs=Server.CreateObject("Scripting.FileSystemObject") set f=fs.GetFile("C:\filepath\file.xml") response.write("Last Updated: " & f.DateLastModified) set f=nothing set fs=nothing %> <span id="output"></span> </div> <div id="rightcolumn"> <span id="content"> </span> </div> </div> </fieldset>


Reply With Quote
Bookmarks