Author |
Message |
26/10/2004 22:50:00
|
kadhum
Newbie
Joined: 25/10/2004 17:10:33
Messages: 4
Offline
|
Anyone know how can I change the columns width at the shown messeges page (index.php) or how can I set the $VARS[width]
Thanks
Kadhum
|
Ka |
|
27/10/2004 00:07:33
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
In templates/body.php I believe. I have altered my copy so it's hard for me to locate the exact file for template editting. I should keep a copy of the default installation to hand.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
27/10/2004 04:42:23
|
JTD
Graduate
Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline
|
Here body.php
<table width="$VARS[width]" border="0" cellspacing="0" cellpadding="2" align="center">
|
LINK-> Use Lazarus Guestbook |
|
27/10/2004 09:49:52
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
He wants the column widths not the table width :p
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
27/10/2004 11:43:35
|
kadhum
Newbie
Joined: 25/10/2004 17:10:33
Messages: 4
Offline
|
Thank you guys
I set the table as 800 px and I would like to have the left column as 20% cause it has got only name, email and short stuff and the left column which has the text to be 80%, it could have a long message and image, so garfic is not nice when you have the left column around 40% and has got only few informations on top.
I tried to set table with Dreamweaver, it didn't work.
http://www.forumhotel.biz/public/guestbook/index.php
|
Ka |
|
27/10/2004 11:48:17
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
As I said the table widths can be set in templates/body.php.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
27/10/2004 12:12:23
|
JTD
Graduate
Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline
|
oopsy
|
LINK-> Use Lazarus Guestbook |
|
27/10/2004 13:52:55
|
Anonymous
|
Carbonize wrote:As I said the table widths can be set in templates/body.php.
Here is in body.php, it doesn't work
<table border="0" cellspacing="1" cellpadding="5" align="center" width="$VARS[width]" bgcolor="$VARS[tb_bg_color]">
<tr bgcolor="$VARS[tb_hdr_color]">
<td width="100"><font size="2" face="$VARS[font_face]" color="$VARS[tb_text]"><b>$LANG[FormName]</b></font></td>
<td width="700"><font size="2" face="$VARS[font_face]" color="$VARS[tb_text]"><b>$LANG[BookMess7]</b></font></td>
</tr>
<!--Start Guestbook Entries -->
$TPL[GB_ENTRIES]
<!--End Guestbook Entries -->
</table>
|
|
27/10/2004 14:01:42
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
looks right to me. Table is 800 pixels wide, left column is 100pixels wide and right column is 700 pixels. The only problem you have is that on 800x600 monitors the actual width of the browser window is only about 770pixels. You are best using relative sizes such as table 95% then set the left hand column as 100 pixels using width="100". The right hand column will adjust automatically.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
27/10/2004 14:28:46
|
Anonymous
|
Thanks Carbonize
As all the sites tables are 800 pixels wide, I don't like to have the Guestbook wider, if I do 95% then it dipends of the monitor size & risolution.
|
|
27/10/2004 14:59:36
|
Anonymous
|
Ok, I got it, it's at the top of file entry.php
I changed from 32% to 15% and it works. sometimes it's realy a stupid stuff!!!
Thanks
<tr bgcolor="$bgcolor">
<td width="32%" valign="top">
|
|
|