| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
IE problem
I designed my page and used Firefox whenever I checked the layout. Well, I noticed in IE there is extra spacing between lines in my 3rd column but this is not the case in Firefox. Also, the borders around my columns mess up in IE (this may just be a CSS shortcoming in IE). What can I do to resolve this.
Yes, I know you all hate tables and I know my page doesn't validate. |
|
#2
|
||||
|
||||
|
try posting the code that's used ... this would help us in helping you ...
__________________
Come JOIN the party!!! Quote of the Month: Retirement: Because you've given so much of yourself to the company that you don't have anything left we can use. Questions to Ponder: What do you do when you see an endangered animal eating an endangered plant? iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm") copyright© 2008 sbenj69 |
|
#3
|
|||
|
|||
|
Quote:
tried to format it but i couldnt: Code:
<TABLE width="100%" style="border: 1px dotted #321ca2;" cellpadding="0" cellspacing="0" BGCOLOR="#000000">
<tr>
<td bgcolor="#321CA2" style="color:black; font-weight:bold; font-size:11px;">
<% if cur_year = datepart("yyyy", now) then %>
Current Year Stats
<% else %>
<% =cur_year %> Stats
<% end if %>
</td>
</tr>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"> # of Shows:</font>
<font style="color:#666666; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"><%=rsSetlistShows("showcount")%></font>
<a STYLE="text-decoration:none;" HREF="javascript:void(0);" onMouseOver="return overlib('<%=rsShows("showcount")%> with setlist');" onMouseOut="return nd();">
<IMG SRC="./images/info.gif" BORDER="0">
</a>
</td>
</tr>
<% rsShows.close %>
<% rsSetlistShows.close %>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"> # of Songs:</font>
<font style="color:#666666; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"><% =rsSongs("songcount") %></font>
</td>
</tr>
<% rsSongs.close %>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"> Average # Songs Per Show:</font>
<font style="color:#666666; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom">
<% =songsPerShow %></font>
</td>
</tr>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"> # of Different Songs Played:</font>
<font style="color:#666666; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"><% =rsUniqueSongs("songcount") %></font>
</td>
</tr>
<% rsUniqueSongs.close %>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"> Most Played Songs:</font>
</td>
</tr>
<% y = 0
for y = 1 to 7 %>
<tr>
<td>
<font style="font-weight:bold; font-family:sans-serif; font-size:11px; vertical-align:bottom"> <a style="color:#666666;" href="./songstats.asp?song_id=<% =rsMostPlayed("song_id") %>"><% =rsMostPlayed("s_name") %></a> <font style="font-size:9px; color:#666666;">(<% =rsMostPlayed("songcount") %>)</font></font>
</td>
</tr>
<% rsMostPlayed.movenext
next
rsMostPlayed.close
%>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"> Least Played Songs:</font>
</td>
</tr>
<% y = 0
for y = 1 to 7 %>
<tr>
<td>
<font style="font-weight:bold; font-family:sans-serif; font-size:11px; vertical-align:bottom"> <a style="color:#666666;" href="./songstats.asp?song_id=<% =rsLeastPlayed("song_id") %>"><% =rsLeastPlayed("s_name") %></a> <font style="font-size:9px; color:#666666;">(<% =rsLeastPlayed("songcount") %>)</font></font>
</td>
</tr>
<% rsLeastPlayed.movenext
next
rsLeastPlayed.close
%>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"> Top Openers:</font>
</td>
</tr>
<% y = 0
for y = 1 to j %>
<tr>
<td>
<font style="font-weight:bold; font-family:sans-serif; font-size:11px; vertical-align:bottom"> <a style="color:#666666;" href="./songstats.asp?song_id=<% =rsOpeners("song_id") %>"><% =rsOpeners("s_name") %></a> <font style="font-size:9px; color:#666666;">(<% =rsOpeners("songcount") %>)</font></font>
</td>
</tr>
<% rsOpeners.movenext
next
rsOpeners.close
%>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"> Top Closers:</font>
</td>
</tr>
<% y = 0
for y = 1 to k %>
<tr>
<td>
<font style="font-weight:bold; font-family:sans-serif; font-size:11px; vertical-align:bottom"> <a style="color:#666666;" href="./songstats.asp?song_id=<% =rsClosers("song_id") %>"><% =rsClosers("s_name") %></a> <font style="font-size:9px; color:#666666;">(<% =rsClosers("songcount") %>)</font></font>
</td>
</tr>
<% rsClosers.movenext
next
rsClosers.close
%>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"> Top Encores:</font>
</td>
</tr>
<% y = 0
for y = 1 to l %>
<tr>
<td>
<font style="font-weight:bold; font-family:sans-serif; font-size:11px; vertical-align:bottom"> <a style="color:#666666;" href="./songstats.asp?song_id=<% =rsEncores("song_id") %>"><% =rsEncores("s_name") %></a> <font style="font-size:9px; color:#666666;">(<% =rsEncores("songcount") %>)</font></font>
</td>
</tr>
<% rsEncores.movenext
next
rsEncores.close
%>
</TABLE>
<br>
<TABLE width="100%" cellpadding="0" cellspacing="0" style="border: 1px dotted #321ca2" BGCOLOR="#000000">
<tr>
<td bgcolor="#321CA2" style="color:black; font-weight:bold; font-size:11px;">
Database Statistics
</td>
</tr>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:center">Total # of shows:</font>
<font style="color:#666666; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:center"><%=rsTotalShows("shcount")%></font>
</td>
</tr>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:center">Earliest show:</font>
<font style="color:#666666; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:center">
<% =rsEarliest("date")%></font>
</td>
</tr>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:center">Total # of songs:</font>
<font style="color:#666666; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:center"><%=rsTotalSongs("socount")%></font>
</td>
</tr>
<tr>
<td>
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:center">Total songs per show:</font>
<font style="color:#666666; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:center"><%=totalSongsPerShow%></font>
</td>
</tr>
</table>
|
|
#4
|
||||
|
||||
|
i;m having an issue getting it to duplicate you issues ... could you navigate to the page ... view the source ... and post that code ... this way i can load it and view what it looks like ...
|
|
#5
|
|||
|
|||
|
Quote:
oh, whoops. i thought i posted the website, thats why i posted the actual code as opposed to the generated code. the website is here: www.btdb.org. the problem lies in that third column. |
|
#6
|
|||
|
|||
|
this problem may be combatted using the following method - try to force the browser to accept current line values using a css documnet.
if you do have a css document locate a line that looks like the following Code:
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom"> and try adding the line 'line-height:normal:' so your code will be the following for the above example Code:
<font style="color:white; font-weight:bold; font-family:sans-serif; font-size:12px; vertical-align:bottom; line-height:normal;"> and see if that works? stack72 |
|
#7
|
|||
|
|||
|
nope, nothing
|
|
#8
|
||||
|
||||
|
Quote:
"IE Problem" is kinda like saying "hot sun" isn't it? What you typically need is a separate style sheet for IE hacks. See my post here for information about how to do this
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.
|
![]() |
| Viewing: ASP Free Forums > Web Design > Web Layout > IE problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|