Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Display Content Mod - Version 2
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 13

big9erfan
Average Member

540 Posts

Posted - 24 July 2001 :  12:34:41  Show Profile
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
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 24 July 2001 :  12:42:11  Show Profile
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
Go to Top of Page

simonduz
Junior Member

161 Posts

Posted - 24 July 2001 :  12:57:13  Show Profile  Visit simonduz's Homepage  Send simonduz an ICQ Message  Send simonduz a Yahoo! Message
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.
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 24 July 2001 :  13:33:12  Show Profile
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
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 24 July 2001 :  13:47:20  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
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

Go to Top of Page

simonduz
Junior Member

161 Posts

Posted - 24 July 2001 :  14:25:57  Show Profile  Visit simonduz's Homepage  Send simonduz an ICQ Message  Send simonduz a Yahoo! Message
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
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 24 July 2001 :  14:37:01  Show Profile
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!
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 24 July 2001 :  14:46:53  Show Profile
You'll have to change the cellpadding="3" to a smaller number that will fix it

I did that on an html version http://www.ugfl.net/index3a.html and you can compare it to http://www.ugfl.net/index3a.asp



http://www.ugfl.net/forums
Go to Top of Page

simonduz
Junior Member

161 Posts

Posted - 24 July 2001 :  14:49:05  Show Profile  Visit simonduz's Homepage  Send simonduz an ICQ Message  Send simonduz a Yahoo! Message
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
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 24 July 2001 :  15:09:11  Show Profile
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!
Go to Top of Page

simonduz
Junior Member

161 Posts

Posted - 24 July 2001 :  15:19:45  Show Profile  Visit simonduz's Homepage  Send simonduz an ICQ Message  Send simonduz a Yahoo! Message
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.
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 24 July 2001 :  15:37:52  Show Profile
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
Go to Top of Page

simonduz
Junior Member

161 Posts

Posted - 24 July 2001 :  16:05:04  Show Profile  Visit simonduz's Homepage  Send simonduz an ICQ Message  Send simonduz a Yahoo! Message
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
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 24 July 2001 :  17:51:49  Show Profile
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!
Go to Top of Page

simonduz
Junior Member

161 Posts

Posted - 25 July 2001 :  10:17:11  Show Profile  Visit simonduz's Homepage  Send simonduz an ICQ Message  Send simonduz a Yahoo! Message
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.
Go to Top of Page
Page: of 13 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07