Author |
Topic  |
|
Sidney Snot
Starting Member
Germany
7 Posts |
Posted - 22 March 2001 : 08:02:34
|
I suspect this may be a bug with IE 5.0, but if there is a workaround by adjusting some of the forum code that would be great.
The problem is that I include a stylesheet which adds a border to the left side of all my web pages to make room for a site menu. With IE 5.0 this results in the topics going outside of the bounds of the browser window, in fact the table stretches to about 200% of the width of the window. This does not happen in IE 5.5, but unfortunately I cannot make my web site users switch to IE 5.5. This also occurs on the registration acceptance page, which means that the Accept button is off the page, with the result that a number of people have not registerd with my forum.
If anyone knows a workaround, I would be very grateful 
|
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 22 March 2001 : 08:42:43
|
Sydney,
I also use a side menu on my forums. What I did as a work around was to make inc_top2.asp without the left hand column and use it on the pages which would otherwise scroll off the screen (register.asp, members.asp, pop_profile.asp etc...)
http://www.cantonweb.com/Forums/policy.asp [click agree]
I hope that helps!
-Kerry
|
 |
|
Sidney Snot
Starting Member
Germany
7 Posts |
|
Sidney Snot
Starting Member
Germany
7 Posts |
Posted - 22 March 2001 : 09:04:05
|
quote:
Sydney,
I also use a side menu on my forums. What I did as a work around was to make inc_top2.asp without the left hand column and use it on the pages which would otherwise scroll off the screen (register.asp, members.asp, pop_profile.asp etc...)
http://www.cantonweb.com/Forums/policy.asp [click agree]
I hope that helps!
-Kerry
Thanks but unless I misunderstood you, the problem I have is slightly different, as my site menu is an included JavaScript menu that scrolls up and down the left side of the page, and is in no way fixed. Thus I need a permanent border of 130 pixels available on all my pages.
|
 |
|
gor
Retired Admin
    
Netherlands
5511 Posts |
Posted - 22 March 2001 : 09:11:37
|
That is because of the < PRE > < / PRE > tags used for the [ code ] [ /code ] tags. In that case the line only breaks and starts a new line whenever the poster has inserted a linebreak. There is NOTHING we can do to prevent that other than disabling the [ code ] tag. This is an HTML "problem" (well actually, just the way HTML works).
Pierre |
 |
|
Sidney Snot
Starting Member
Germany
7 Posts |
Posted - 22 March 2001 : 09:53:05
|
OK, that is fair enough for the case in this forum with the <PRE></PRE> tags, but I was just pointing out that the thread I linked to showed the problem I get, except that I get it without <PRE></PRE> tags, when a border is included in my style sheet and only using IE 5.0.
The fact that it works OK in IE 5.5 means that it isn't an HTML problem, it may well be an IE 5.0 problem, but I was hoping someone may have come across this problem before and had a workaround.
Paul
|
 |
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 22 March 2001 : 10:35:48
|
quote:
I have just noticed the same problem in your forum with the following topic from "Kenno"
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=6811&FORUM_ID=34&CAT_ID=10&Topic_Title=I really need help big time%2E%2E&Forum_Title=Help%3A General
This displays the same problem as I have been seeing, but this time without any boder and with IE 5.5
I'm not sure I'm understanding, then. The link (above) goes to a topic regarding an error similar to one on my forum (didn't realize it til you mentioned it - thank you!) but it seems unrelated to layout. Also, I checked mine in 5.5 and 5.0 and can't see what your talking about - but I may just not know what to look for.
Could you check the link and repost? -Or post a link to your forum? Thanks 
-Kerry
Edited by - kerry on 22 March 2001 10:37:10 |
 |
|
Sidney Snot
Starting Member
Germany
7 Posts |
Posted - 22 March 2001 : 11:05:15
|
Kerry,
I have the same problem on two webs, one a corporate intranet (no linking possible from outside our firewall), and two a personal website for the family (I don't want to publish the link on this forum).
So I have sent you an email with a link to the policy.asp page on my web so that you can see the problem with IE 5.0. The page is unmodified from that supplied (3.1 SR4)
Thanks for having a look. Paul
|
 |
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 22 March 2001 : 11:11:28
|
Paul,
I can understand your hesitance to publish personal / family site and will be glad to try and help. I think the forum email is still down - my address is kerry(at)cantonweb.com
-Kerry
|
 |
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 22 March 2001 : 12:06:29
|
Paul
- I think you're right in that it is a way IE5 handles the script versus the way 5.5 does. One thing I've noticed in the code, though, is that there's a difference in the way the tableset's are written in policy.asp and default.asp. Just looking at the rendered source code (straight HTML) the "non-scrollers" have an additional tablerow. By adding something like this (red) you may be able to at least partially correct it.
<table border="0" width="95%" cellspacing="0" cellpadding="0" align="center">
<tr> <td> </td> </tr>
<tr> <td bgcolor="black"> <table border="0" width="100%" cellspacing="1" cellpadding="4"> <tr> <td bgcolor="slateblue"><font face="Verdana, Arial, Helvetica" size="2" color="mintcream" > <b>Privacy Statement for Adams Forums</b></font></td> </tr> <tr>
I'm not exactly sure where this is in the asp doc's, but it shouldn't be difficult to find.
-Kerry
|
 |
|
Sidney Snot
Starting Member
Germany
7 Posts |
Posted - 22 March 2001 : 15:32:20
|
Kerry,
Thanks for taking a look. I came to a similar conclusion and put the policy page through the W3C HTML validator http://validator.w3.org/ and was amazed with how many errors it threw up. I'm not surprised that browsers sometimes have a problem with what to display.
I do a bit of ASP programming myself (though not on such a large scale) and I know how difficult it is to get everything perfect, and I hadn't realised how difficult it is to conform to the HTML 4.0 standard, but after seeing the validator results I think some more attention needs to be paid to what the ASP pages are delivering in terms of HTML output. (I will also check more of my own pages in future!)
I will try and clean up the policy page until the HTML validates, then I will check if the page still scrolls off to the right. I will let you know what I find out
Paul
|
 |
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 23 March 2001 : 00:33:41
|
I know many of my own (non-forum) pages flub the validator as well, but it's usually for not-too-important stuff like burying a <form> tag between <td>'s or not sizing my images.
If you get a "clean" copy of any of the forum pages, by all means, please post 'em! I know it's a much needed project.
-Kerry
|
 |
|
|
Topic  |
|