|
|
9svn6 |
|
|
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.plAnd 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 |
|
|
|
|
|
9svn6 |
|
|
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 |
|
|
|
|
|
9svn6 |
|
|
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 |
|
|
|
|
|
Martin |
| September 1, 2007, 2:33am |
|
|
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 |
|
|
|
|
|
9svn6 |
| September 2, 2007, 6:26pm |
|
|
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 | | |
|
|
|
|
|
Martin |
| September 3, 2007, 1:17am |
|
|
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 |
|
|
|
|
|
|