Page 1 of 1

Lost some navigation buttons - anybody seen them?

Posted: Tue 17 May 2016 10:53 pm
by bigmac
Not sure when or how, but I have just noticed I have lost some navigation buttons at the bottom of the table when I view my Dayfile table:
http://www.menstonweather.co.uk/datasummary.php

This does seem to only happen when viewing in Chrome on a desktop. They appear "sort of" ok when viewed in Edge & Chrome on my Ipad and also on my Iphone, if a little untidy and uncentered.
I'm guessing it is something to do with desktop Chrome not understanding some coding I use (maybe it is some old type of scripting/PHP that is no longer used/allowed??), but I wouldn't have a clue what?

It is possible it's always been like this and I've just never noticed and it is just a fault in the code maybe?

Any ideas?

Re: Lost some navigation buttons - anybody seen them?

Posted: Thu 19 May 2016 1:02 pm
by mcrossley
The problem is your 'navigation' table in placed in a cell of the previous table that has a fixed width of 1606 pixels...

Code: Select all

<td id="pager_center" align="center" style="white-space: nowrap;width: 1606px;">
Just removing that 'width: 1606px element' from the style seems to fix it for me.

Re: Lost some navigation buttons - anybody seen them?

Posted: Thu 19 May 2016 4:59 pm
by bigmac
Thanks Mark. I can see what you refer to when I inspect the element but for the life of me I can't find where this is set in my style-sheet's. I will keep looking.

Re: Lost some navigation buttons - anybody seen them?

Posted: Thu 19 May 2016 6:05 pm
by mcrossley
It doesn't seem to be coming from a style sheet, it is set directly on the element at definition, or is being set on the element in some script.
Capture.PNG