|
06-01-2004, 01:58 AM | #1 |
Green Mole
Join Date: Feb 2004
Posts: 17
|
Horizontal scrollbar in template
Hi Forum,
With some search-queries I get a horizontal scrollbar in the template wich is displaying the result. This scrollbar sometimes appears, and sometimes not, depending on de query. You can see this at www.professioneel-handhaven.nl. The site is in Dutch, but that should not matter... When you search the term 'baudina' you get 2 hits as result, with horizontal scrollbar. When you search 'baudina sonja' you get the same hits, without scrollbar? Who can help me out with this strange problem? I tried several standard templates, all with the same problem. Rolf |
06-01-2004, 05:35 AM | #2 |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
I'm not sure exactly where the problem is, but I'd start by looking at places within your code where you specify width in your table as pixels instead of percentage. For example, this:
PHP Code:
PHP Code:
Something else to consider. Percentage is the preferred method, in my opinion, because the page will render better in different resolution browsers that way. Hope this helps. |
06-01-2004, 07:44 AM | #3 |
Green Mole
Join Date: Feb 2004
Posts: 17
|
Unfortunetely, your solution does not work. By the way: when you search for instance 'baudina sonja' the layout is OK, so there must be a problem in the way de phpdig-scripts generates the code.
I put the template in a layer with fixed horizonta size, and variable vertical size. I wonder why is works sometimes , and sometimes not, depending on the search-string. |
06-01-2004, 01:49 PM | #4 |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
This is untested, but find the following code in search_function.php
PHP Code:
PHP Code:
Let us know if this solves the problem. |
06-02-2004, 12:31 AM | #5 |
Green Mole
Join Date: Feb 2004
Posts: 17
|
I tried your suggestion, but with no results. I decided to choose the easy way: I increased the text-layer width from 380px to 550px. It did not solve the problem, but gives acceptable output-results.
Thank you for your help. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Oh where oh where can my template file be? | george2 | How-to Forum | 2 | 10-03-2007 01:34 PM |
default template | ENTHALPIE | How-to Forum | 3 | 11-02-2005 08:21 AM |
Awesome Template | Slider | Feedback & News | 1 | 12-16-2004 10:29 AM |
.shtml as a template? | sparky | How-to Forum | 6 | 09-28-2004 07:13 PM |
Enhanced template | manfred | Mod Submissions | 2 | 09-01-2004 03:00 PM |