GetDotted Domains

Viewing Thread:
"Table's Question"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Fri 21/03/03 at 10:43
Regular
Posts: 787
I've got a page which runs from PHP, and displays Larger Images in order. What I was hopeing for was that when the Image being displayed is the first or last in the set, then the 'Next' and 'Previous' links recpectivaly wouldn't show up.

The Script basically replaces the link code with just a spacer,   however, because this isn't as long a string of text as the link, the cell it's in resizes to small, and makes the other two links out of place.

The Image Spacer is to allow a border around the picture.

Sample:



Previous Link
Home Link
Next Link



As the Images in the set are not all the same size, I can't just add a width to each td. Is there any way of telling the three cells to devide the available space between them???
Fri 21/03/03 at 12:24
Regular
"It goes so quickly"
Posts: 4,083
The problem is that if the Image is the first or last in a set, then the 'Next' or 'Previous' Link isn't displayed in the HTML Code.

The problem with this is that of the link isn't in the cell, the cell makes itself smaller, and causing the other two cells to stretch, and miss-align the other links in the table.

I wan't the three middle cells to span the same space no mater if there is text/links in there or not.

% doesn't seem to work, as the two end cells, the one with the spacer to allow a border effect, then become miss-aligned too.
Fri 21/03/03 at 11:59
Regular
"bing bang bong"
Posts: 3,040
It's possible to do width=xx% instead of a fixed number of pixels, I don't know if this will help as I don't really understand the problem :O/
Fri 21/03/03 at 10:43
Regular
"It goes so quickly"
Posts: 4,083
I've got a page which runs from PHP, and displays Larger Images in order. What I was hopeing for was that when the Image being displayed is the first or last in the set, then the 'Next' and 'Previous' links recpectivaly wouldn't show up.

The Script basically replaces the link code with just a spacer,   however, because this isn't as long a string of text as the link, the cell it's in resizes to small, and makes the other two links out of place.

The Image Spacer is to allow a border around the picture.

Sample:



Previous Link
Home Link
Next Link



As the Images in the set are not all the same size, I can't just add a width to each td. Is there any way of telling the three cells to devide the available space between them???

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

The coolest ISP ever!
In my opinion, the ISP is the best I have ever used. They guarantee 'first time connection - everytime', which they have never let me down on.
Simple, yet effective...
This is perfect, so simple yet effective, couldnt believe that I could build a web site, have alrealdy recommended you to friends. Brilliant.
Con

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.