PDA

View Full Version : Design that works for Internet Explorer but not for Firefox


garp2100
07-31-2008, 05:22 PM
Hello everyone! I'm coding a database display in which hyperlinked items will be displayed on my page, when you click any of them it will take you to another page. On Internet explorer, the database items are displayed neatly one of top of the other with a space in between, but in firefox everything is mashed up without any spaces or non-breaking spaces whatsoever, I'm pasting the code to see if I can get any insight from you guys. Thanks


<!-- #include virtual="connection.asp"-->
<!--#include virtual="top.asp"-->
<style type="text/css" media="screen">
#headPhoto { background: url(/wrfc07/i/schedule/schedule-head.jpg); }
</style>
</head >
<body class="oneCol">
<div id="container">
<!--#include virtual="/header.asp" -->
<!--#include virtual="/main-menu.asp"-->
<div id="mainCol">
<h1>Select below to view abstracts</h1></br>
<%
set Abstracts = server.createobject("ADODB.Connection")
Abstracts.open MM_connection_string

set List = Abstracts.execute("SELECT * FROM table where Title <> 'DISCUSSION' and Title <> 'OPEN' and Title <> 'RESERVED'")

Do While Not List.EOF
Response.Write "<a href=""abstracts_details.asp?id="&List("ID")&"""></br>"&List("ID")&" " &List("Title")&"</br></a>"
List.Movenext
Loop
%>
</div>
<!--#include virtual="footer.asp"-->
</div>
<!--#include virtual="analytics.asp"-->
</body>
</html>

domedia
07-31-2008, 06:25 PM
Hi grap,
Since this is a browser rendering issue, you have to either post the url, or copy and paste the parsed code that the browser reads (view source). Your asp page is used by the server, not the browser.