Page 1 of 1
URLs extend into the message area
Posted: Sat Aug 13, 2011 5:42 pm
by dewebel
Script URL:
http://www.aaronvanriet.nl/gbook/gbook.php
Version of script: 1.7
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: url*, long, *wrap*, *link*
Write your message below:
Long URLs extend into the message area. AFAIK they should wrap.
How to solve

Re: URLs extend into the message area
Posted: Sun Aug 14, 2011 5:48 pm
by Henrie
Hallo dewebel,
Find your style.css file inside your template folder.
Inside it is a line
Code: Select all
a.gbook_submitted{font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; font-size:12px; color:#0066FF; text-decoration:underline;}
T
There are 2 options to get te result you like.
- add
Code: Select all
display:block; word-wrap:break-word;
to this line. I think this is the best looking method.
- add This looks a bit less good I think, but is better for really really really long url's.
Groeten,
Henrie
Re: URLs extend into the message area
Posted: Mon Aug 15, 2011 3:30 pm
by dewebel
The first one has done the trick
Peculiar that this wasn't already in the file
Installed the GBook with a
Wysiwyg Webbuilder extension.
Re: URLs extend into the message area
Posted: Mon Aug 15, 2011 5:15 pm
by Henrie
It wasn't already in the file because it is a CSS3 specification which is fairly new. Therefore it is not well known yet. I found it because I was looking for different wrap options but I also had not heard of this option before.
And usually website url's are not that long, so it was not needed in GBook.
That it is so knew might also cause some older browsers not to support it. They will than display it the same way as it has done untill now.
Greetings,
Henrie