Modify widths of Submitted by and Comments columns

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
fiveoq
Posts: 3
Joined: Mon Jul 10, 2017 8:57 am

Modify widths of Submitted by and Comments columns

Post by fiveoq »

In the Guestbook, there are two columns in the comments area, which may be set up like an HTML table, I don't know. The left column has "Submitted by:" with the name of the poster and other information like the city they are from. The right column is the Comments themselves. I want to make the left column less wide. Is there a percentage that you can adjust for this somewhere in the gbook.php script?

There was a posting about this in the forum as follows:

Thu Apr 10, 2008 6:31 pm
You are changing lines which show private posts there, change lines 959, 960, 963 and 988 instead.

There doesn't seem to be anything to change in those lines, either because I have added extra lines to the script above this a long time ago, and/or the script has changed since then (now Version: 1.7 from 20th August 2009).

Is there some text that I can search for with a percentage in it, for example?

Thanks.

=====

[Added later]

Just realized I have no idea which file I am supposed to modify. I was assuming gbook.php, but maybe that is not the correct one. Based on another posting from around the same time as the one mentioned above, I then tried modifying the following lines from the style.css file

.gbook_left{width:100px; height:auto; position:relative; float:left; margin-left:10px; margin-top:10px;}
.gbook_right{width:400px; height:auto; position:relative; float:left; margin-top:10px;}

I changed values from original 150px/350px and it didn't make any difference... :(
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Modify widths of Submitted by and Comments columns

Post by Klemen »

What you are looking for are gbook_left_box and gbook_right_box in the /templates/default/style.css file.

Change the widths there and it should work.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply