Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Technical Support    Question and Answer  ›  Tables on Post Pages?
Users Browsing Forum
No Members and 14 Guests

Tables on Post Pages?  This thread currently has 315 views. Print
1 Pages 1 Recommend Thread
9svn6
August 28, 2007, 12:55am Report to Moderator Report to Moderator

E-Blah Member
Posts: 26
Gender: Male
Posts Per Day: 0.05
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 5 hours 37 minutes
Location: Brockport, NY
Age: 26
Ok I set the size of the main table of my forum to 800 and everything stays that way except for when you read a post then it makes it a little bigger which isn't that big of a deal since it resizes but why does it resize it shouldn't it stay 800?  Is there a way to make these tables a certain size?

Heres an example of the main page which is 800 width:
http://rtccc.hypermart.net/976/cgi-bin/forum/Blah.pl

And Here is an example of the Post page where it makes it a little bigger:
http://rtccc.hypermart.net/976/cgi-bin/forum/Blah.pl?b-si/m-1186691927/

not a huge difference but I'd still like to keep it to one size.

Thanks,
Brian


- 9svn6
Logged Offline
Site Site Private Message Private message AIM AIM
9svn6
August 28, 2007, 1:38am Report to Moderator Report to Moderator

E-Blah Member
Posts: 26
Gender: Male
Posts Per Day: 0.05
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 5 hours 37 minutes
Location: Brockport, NY
Age: 26
I just noticed they stay 800 width in internet explorer but I guess not in firefox?


- 9svn6
Logged Offline
Site Site Private Message Private message AIM AIM Reply: 1 - 5
9svn6
August 31, 2007, 6:59pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 26
Gender: Male
Posts Per Day: 0.05
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 5 hours 37 minutes
Location: Brockport, NY
Age: 26
I guess noone knows why?


- 9svn6
Logged Offline
Site Site Private Message Private message AIM AIM Reply: 2 - 5
Martin
September 1, 2007, 2:33am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.13
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 26 minutes
Location: UK
Age: 50
I see you are setting the width in the 1st table element, try using css and the max-width statement.

Try this:

1. Remove the width statement from

Code
<TABLE width="800" BORDER="0" CELLPADDING="0" CELLSPACING="1" BGCOLOR="#000000">


2. replace the <center> statement with <div id="wrapper"> and </center> at the bottom of template with </div>

3. Edit template.css and add this to the top:

Code
#wrapper {
	width:expression(document.body.clientWidth > 800? "800px": "auto" );
	max-width:800px;
	margin-left : auto;
	margin-right: auto;
} 

body {
	margin          : 0;
	text-align      : center;
}

table {
	margin-left : auto;
	margin-right: auto;
}



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 3 - 5
9svn6
September 2, 2007, 6:26pm Report to Moderator Report to Moderator

E-Blah Member
Posts: 26
Gender: Male
Posts Per Day: 0.05
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 5 hours 37 minutes
Location: Brockport, NY
Age: 26
Ok I did almost everythign you said I coulden't change the table stuff becuase it screws up my tables on the top where my logo stuff is.  But i used everything else and still the same thign ie it's fine but firefox it resizes. here is what i used for css:

Code
/* Global Table Settings */
html {
	overflow-x: auto;
}

#wrapper {
	width:expression(document.body.clientWidth > 800? "800px": "auto" );
	max-width:800px;
	margin-left : auto;
	margin-right: auto;
} 
body {
	margin          : 0;
	text-align      : center;
}


I did replace <center> with the div line you gave me and took out width="800" so it's:


Code
<div id="wrapper">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="1" BGCOLOR="#000000">


I'm still getting the same problem in Firefox but now as soon as the post page loads I can see it start at 800 but then kindof expand really quick to a larger size?  It looks like we almost got it.  I did notice theres a dotted line between the post and the signature not sure if thats an img or not maybe thats resizing the table?  Maybe I should send you my template.css?


- 9svn6

Revision History (1 edits)
9svn6  -  September 2, 2007, 6:50pm
Logged Offline
Site Site Private Message Private message AIM AIM Reply: 4 - 5
Martin
September 3, 2007, 1:17am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.13
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 26 minutes
Location: UK
Age: 50
By all means, zip up and email me your template.html and template.css, I have pm'd you my email address.



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 5 - 5
1 Pages 1 Recommend Thread
Print

E-Blah Community    Technical Support    Question and Answer  ›  Tables on Post Pages?