![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm a CSS novice trying unsuccessfully to make three thumbnail images display horizontally instead of vertically. I suspect I'm missing something really stupid but I'll take the flak if someone could kindly point me in the right direction (using words that the vicar's wife would understand). The vertical thumbnails can be seen at the bottom of this page: http://www.zen86793.zen.co.uk/gmga2008/index.html ... the first image is in the right position and I want to move the other two to the right of it. |
#3
| |||
| |||
|
|
The vertical thumbnails can be seen at the bottom of this page: http://www.zen86793.zen.co.uk/gmga2008/index.html ... the first image is in the right position and I want to move the other two to the right of it. |
#4
| |||
| |||
|
|
Stan The Man wrote: The vertical thumbnails can be seen at the bottom of this page: http://www.zen86793.zen.co.uk/gmga2008/index.html ... the first image is in the right position and I want to move the other two to the right of it. Yes, do validate as dorayme suggested. After you've done that, the immediate answer to your question involves the width you've set for #pic. You do not need HTML comment delimiters <-- --> for your CSS. Why not use display:none to hide your large pop-up images rather than height:1px; width:1px? Please, please don't use the clagnut method of screwing up Web sites. Replace 62.5% in your body ruleset with 100%, and delete the 1.3em et.al. you've added to compensate for it. I.e., in #container, replace: font-size: 1.3em; line-height: 1.3em; with: line-height: 1.2; or just delete the line-height altogether. You can probably downgrade or revise or delete the font sizing you've added to the h1 - h3 rules, too. |
#5
| |||
| |||
|
|
Stan The Man wrote: John Hosking said: Stan The Man wrote: I'm a CSS novice trying unsuccessfully ... Please, please don't use the clagnut method of screwing up Web sites. It does help: thank you very much. I will look at those basic errors. Stan, you didn't specifically mention anything about John's comment on the seriously-wrong "clagnut" method of font-sizing. Using a base body font of anything less than 100% causes problems. Using Opera, I have to zoom your page to about 120% in order to read the text at my preferred size. I see where you got your template. http://templates.arcsin.se/ Why, oh why, is this practice proliferating so widely? http://tekrider.net/html/fontsize.php |
#6
| |||
| |||
|
|
On 2008-06-30 12:02:42 +0100, "Beauregard T. Shagnasty" said: Why, oh why, is this [clagnut] practice proliferating so widely? http://tekrider.net/html/fontsize.php Thanks for the link. I was of course grouping font size with the other 'basic errors' which I said I would look into. I will report back when I have done some fixing later today. Still struggling to my thumbnails into a horizontal line though... |
#7
| |||
| |||
|
|
Stan The Man wrote: On 2008-06-30 12:02:42 +0100, "Beauregard T. Shagnasty" said: Why, oh why, is this [clagnut] practice proliferating so widely? http://tekrider.net/html/fontsize.php Thanks for the link. I was of course grouping font size with the other 'basic errors' which I said I would look into. I will report back when I have done some fixing later today. Still struggling to my thumbnails into a horizontal line though... Well, from your earlier post, you must be done struggling now, right? After you've changed your 110px in #pic to, say, 336px, your aunt's spouse must be named Robert, and the thumbnails arrayed horizontally. Yes? |
#8
| |||
| |||
|
|
I have fixed some (hopefully most) of the basic errors and reuploaded to http://www.gardenmediaguild.co.uk/awards/index.html |
|
Still can't get those thumbnails to line up horizontally though. Changing #pic to 336px only gave me the same vertical lineup of images with a new white block to the right, to the full height of the images. All possible combinations of #pic dimensions have been tried and the fix must lie elsewhere. |
#9
| ||||
| ||||
|
|
I have fixed some (hopefully most) of the basic errors and reuploaded to http://www.gardenmediaguild.co.uk/awards/index.html Still can't get those thumbnails to line up horizontally though. Changing #pic to 336px only gave me the same vertical lineup of images with a new white block to the right, to the full height of the images. |
|
I also tried creating three different #pic classes, giving each one a relative left position 114px greater than the previous one -- but this only moved the second and third images to the right without lifting them up to line up with the first image. This also messed up with my hover enlargements which displayed on load instead of on hover. (Haven't tried the display:none thing yet.) |
|
I have also tried various float options and putting the div inside a table row at various sizes, percentages and auto, but nothing works. Unless you have another brainwave, I may be reduced to combining the three thumbnails into a single image and figuring out if I can use image maps to reproduce the hover enlargement... |
|
Thanks again for your help. |
#10
| |||
| |||
|
|
Using Opera, I have to zoom your page to about 120% in order to read the text at my preferred size. [snip] |
![]() |
| Thread Tools | |
| Display Modes | |
| |