Comments |
Re: Page Width
|
This code?
<align=center>
<table width="1024" height="768" border="0">
DATA
DATA
DATA
</table>
</align>
PS: Moving to templates.
Moved.
Edited by novice programmer, Wed 31 Oct, 2007 15:23: Moved. |
novice programmer [ Wed 31 Oct, 2007 15:20 ]
|
|
Re: Page Width
|
Is that the code currently in the file or is that what I need to add? What file is that in?
|
wingzfan [ Wed 31 Oct, 2007 15:30 ]
|
|
Re: Page Width
|
Is that the code currently in the file or is that what I need to add? What file is that in?
The code to add.
You can change its width and height values, as the border one.
Post if it correct your problem.
Edited by novice programmer, Wed 31 Oct, 2007 15:45: Added something... |
novice programmer [ Wed 31 Oct, 2007 15:44 ]
|
|
Re: Page Width
|
Is that the code currently in the file or is that what I need to add? What file is that in?
The code to add.
You can change its width and height values, as the border one.
Post if it correct your problem.
sorry, not really sure where to put that code
|
wingzfan [ Wed 31 Oct, 2007 15:56 ]
|
|
Re: Page Width
|
Just put in header the align and table open codes, and the close code in the footer tpl files
|
novice programmer [ Wed 31 Oct, 2007 16:26 ]
|
|
Re: Page Width
|
Ok I was able to adjust the size but it wont align center. I used
<table width="1000" align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
in the header and closed it in the footer. Anyone have any ideas why it wouldnt center?
|
wingzfan [ Thu 01 Nov, 2007 03:06 ]
|
|
Re: Page Width
|
because you have to center the table, with
Before the table starts
And in footer:
Just inmedetly after from the table closes
|
novice programmer [ Thu 01 Nov, 2007 13:10 ]
|
|
Re: Page Width
|
because you have to center the table, with
Before the table starts
And in footer:
Just inmedetly after from the table closes
Ok did that
header:
<body>
<align="center">
<table border="0" width="900" cellspacing="0" cellpadding="0">
<tr>
<td>
Footer:
</td>
</tr>
</table>
</align>
</body>
Still lines up on the left side of the page though. If I change the align to the right it goes to the right side but it wont center no matter what I try.
|
wingzfan [ Thu 01 Nov, 2007 13:39 ]
|
|
Re: Page Width
|
Try this:
Header:
<table border="0" width="900" cellspacing="0" cellpadding="0" align=center>
Footer:
|
novice programmer [ Thu 01 Nov, 2007 15:23 ]
|
|
Re: Page Width
|
Try this:
Header:
<table border="0" width="900" cellspacing="0" cellpadding="0" align=center>
Footer:
Still nada, its ok Ill just leave it full page. Thank you very much for your help though.
|
wingzfan [ Thu 01 Nov, 2007 15:41 ]
|
|
Re: Page Width
|
Do not use tables for that... use div instead.
OPEN this in header just after <body> tag:
<div style="width:960px;clear:both;margin: 0 auto;">
and CLOSE it in footer just before </body> tag:
Let me know.
Remember that if you have 1024 you need a width which is less than 1024 otherwise page will stretch, because you need extra pixels to show its full width. 960 pixels it is usually enough even for including scrollbars.
|
Mighty Gorgon [ Thu 01 Nov, 2007 22:19 ]
|
|
Re: Page Width
|
Do not use tables for that... use div instead.
OPEN this in header just after <body> tag:
<div style="width:960px;clear:both;margin: 0 auto;">
and CLOSE it in footer just before </body> tag:
Let me know.
Remember that if you have 1024 you need a width which is less than 1024 otherwise page will stretch, because you need extra pixels to show its full width. 960 pixels it is usually enough even for including scrollbars.
Awesome that worked perfectly. Thank you so much man. BTW, you have done an amazing job with this system man. Im thoroughly impressed.
|
wingzfan [ Fri 02 Nov, 2007 04:44 ]
|
|
Re: Page Width
|
Thanks!
|
Mighty Gorgon [ Mon 09 Jun, 2008 12:20 ]
|
|
|