Author |
Topic |
big9erfan
Average Member
540 Posts |
Posted - 24 July 2001 : 12:34:41
|
I don't see the problem you're talking about Simon, could you take a screen shot maybe and post it??
http://www.ugfl.net/forums |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 24 July 2001 : 12:42:11
|
Simonduz, If you make any changes to the sub colspans then you will also need to change it within all Case statements also. And That is not required. Just adjust the extra spaces by removing the <br> tags or changing the value for cellpadding.
forumSquare
gauravbhabu
There is only one miracle...That is LIFE!
Edited by - gauravbhabu on 24 July 2001 12:42:31 |
|
|
simonduz
Junior Member
161 Posts |
Posted - 24 July 2001 : 12:57:13
|
Ok I reset it back to the original settings except I remove the <br> tags and added the </td> tag as suggested. If you go to my test site you will see the right side does not align correctly. I added the framed border to make it easier to see. I have seen this also on big9erfan's example. simonduz
http://easyromantic.webbhost.net -[test site]- yada, yada. |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 24 July 2001 : 13:33:12
|
Simon, If you can post the text version of your main page I will have a look at it. BTW do you have a link to the Poll Mod you have installed on your site.
forumSquare
gauravbhabu
There is only one miracle...That is LIFE!
Edited by - gauravbhabu on 24 July 2001 13:47:08 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 24 July 2001 : 13:47:20
|
Try removing the last cell in content.asp if you don't want to show a logo. It seemed superfluous considering it's already on my inc_top.asp
It helped my layout a lot.
http://www.skepticfriends.org has it on the homepage.
@tomic
|
|
|
simonduz
Junior Member
161 Posts |
Posted - 24 July 2001 : 14:25:57
|
Ok maybe I am a bit confused Goto here The contentdisplay editor is not password protected. If you set the width of the column display and update on display modes 7 and 8 they reach a max at about a width of 400, after that the right side does not extend further (the same as the display on the main page.)
gauravbhabu I will hunt that link or script down for ya.
http://easyromantic.webbhost.net -[test site]- yada, yada.
Edited by - simonduz on 24 July 2001 14:27:19 |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 24 July 2001 : 14:37:01
|
Simon, the width settings are for the display on contentdisplay_editor.asp page only. They are not passed on to the page where you display the content. They are to give you an idea how the content will look like under different width settings. The changes or correction need to be made to the column structure you have on your resources.asp to remove the extra spaces around the content.
The extra space may show for the following reasons: value of cellpadding: or the displaycontent call is being made from too deep into the table structure. the space at the bottom will occur if you have an extra <br> tag. In your case it seems that call displaycontent is being made from too deep into the table structure.
forumSquare
gauravbhabu
There is only one miracle...That is LIFE! |
|
|
big9erfan
Average Member
540 Posts |
|
simonduz
Junior Member
161 Posts |
Posted - 24 July 2001 : 14:49:05
|
quote: the width settings are for the display on contentdisplay_editor.asp page only. They are not passed on to the page where you display the content. They are to give you an idea how the content will look like under different width settings
This is exactly my point. All other display modes except 7 and 8 will extend beyond the width of 400 to fill the cell completely.
Here is the resource.asp source code. Please excuse my crude posting methods I will edit this later. removed simonduz http://easyromantic.webbhost.net -[test site]- yada, yada.
Edited by - simonduz on 25 July 2001 10:12:50 |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 24 July 2001 : 15:09:11
|
quote:
[quote]the width settings Here is the resource.asp source code. <%@ <td valign="top" width="50%"> <!--#include file="content.asp"--> <% ' ID: 34 Name: Anouncement -- Description: 1_Annoucement %> <% DisplayContent 0, 24, 2, 7, 0, 3, 360, 150, 5, 0, 1, 0 %> <br> <%If Request.QueryString("Search") = "" Then%> <!--#include file="include/DisplayLinks.asp"--> <% Call DisplayLinks Else %> <!--#include file="include/search.asp"--> <%End If%> <br> <br> <br> <br> <br> <form method="get" action="Resources.asp" id=form1 name=form1>
...yada, yada.
Remove the <br> tag in red which is adding extra space below the content.
forumSquare
gauravbhabu
There is only one miracle...That is LIFE! |
|
|
simonduz
Junior Member
161 Posts |
Posted - 24 July 2001 : 15:19:45
|
Good point I can remove that one and keep the other in the content.asp file. Still have that issue of the right side though. big9erfan what is the width of your cells? Do you see the same in the contentdisplay_editor at a width of more than 400?
http://easyromantic.webbhost.net -[test site]- yada, yada. |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 24 July 2001 : 15:37:52
|
What is wrong on right side? I do not see anything wrong. Except that the subject line conntent "Question of the week" is in two lines. Change the width at this line to 100% and that will take care of it. You have set the width of the main table at 91%. Increasing it to higher value will also help further.
BTW removing one <br> and putting back the other <br> will again add the space below the content. get rid of both. <div align="center"> <table width="90%" border="0" cellpadding="2" cellspacing="0"> <tr> <td valign="top" width="25%"> <!--#INCLUDE FILE="inc_announce.asp" -->
forumSquare
gauravbhabu
There is only one miracle...That is LIFE!
Edited by - gauravbhabu on 24 July 2001 15:43:11 |
|
|
simonduz
Junior Member
161 Posts |
Posted - 24 July 2001 : 16:05:04
|
We must be seeing different things.(screen resolution, etc.) Here is a pic of what I see at full window 1024x768. (excuse please for the *.bmp it was all I had available at the time) http://www.easyromantic.com/uploaded/pic.bmp
Increasing the width of the main table will only worsen the effect.(increasing the 400+ width mentioned earlier) The table width is set to a percentage of page width as designed. The contents are contained in a cell set to a percentage of the table width. simonduz
http://easyromantic.webbhost.net -[test site]- yada, yada.
Edited by - simonduz on 24 July 2001 16:13:43 |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 24 July 2001 : 17:51:49
|
Okay the problem area is this:
<td valign="top" width="50%">
<table width="100%" align="center"> <tr> <td>
<!--#include file="content.asp"--> <% ' ID: 34 Name: Anouncement -- Description: 1_Annoucement %> <% DisplayContent 0, 24, 2, 7, 0, 3, 360, 150, 5, 0, 1, 0 %> Try separating content by closing the rows when different content starts
<br> <%If Request.QueryString("Search") = "" Then%> <!--#include file="include/DisplayLinks.asp"--> <% Call DisplayLinks Else %> <!--#include file="include/search.asp"--> <%End If%> <br> <br> <br> <br> <br> <form method="get" action="Resources.asp" id=form1 name=form1> <table border="0" cellpadding="2" cellspacing="1" bgcolor="<%= strTableBorderColor %>" align=center> <tr> <td align="middle" bgcolor="<%= strForumCellColor %>"><input type="text" name="search" size="30" > <input type="submit" value="search" id=submit1 name=submit1> </td> </tr> <tr> <td align="middle" bgcolor="<%= strForumCellColor %>"> <p align="center"><font face="<%= strDefaultFontFace %>" size="<%= strFooterFontSize %>"><b>Results : <input type="radio" value="10" checked name="num"> 10 <input type="radio" name="num" value="20">20 <input type="radio" name="num" value="30"> 30</b></font> </td> </tr> </table> </form>
</td> </tr> </table>
</td>
It is clearly the table structure you have which is causing any problem which is causing the problem. Try adding the tags in red. Else you will need to close the </td> and </tr> tags and open them again <tr><td>for next content to begin. I have written in red where you should be doing that.
forumSquare
gauravbhabu
There is only one miracle...That is LIFE! |
|
|
simonduz
Junior Member
161 Posts |
Posted - 25 July 2001 : 10:17:11
|
Thanks alot GauravBhabu. Someday I will understand why this happens. You win my vote for most this weeks most helpful forum member. Hey there's an idea for a mod... simonduz
http://easyromantic.webbhost.net -[test site]- yada, yada. |
|
|
Topic |
|