Board index PBase HTML and Style Sheets Gap between rows in main gallery page

HTML and Style Sheets

Gap between rows in main gallery page

Customize your galleries.
ayphoto
 
Posts: 13

Gap between rows in main gallery page

Post Wed Sep 15, 2004 2:30 pm


On my main gallery page, why is there a slightly bigger gap after the first 4 rows of pictures? Anyone have any idea?

Thanks!!
Anne
Last edited by ayphoto on Wed Sep 15, 2004 4:16 pm, edited 1 time in total.

srijith
Moderator
 
Posts: 2321
Location: Amsterdam


Post Wed Sep 15, 2004 3:38 pm


Which browser are you using? My Firefox 0.9.3 shows uniform gaps.

castledude
 
Posts: 869


Post Wed Sep 15, 2004 3:58 pm


Looks fine under IE6 also..

The only strange thing is the small box on the left that has "Access denied" on it. Could this picture/thumbnail be causing the problem when you are logged in?

ayphoto
 
Posts: 13


Post Wed Sep 15, 2004 4:23 pm


I am using IE6 as well... I just edited my original post -- the bigger gap is actually between the 4th and 5th rows (between the Birds and Variety gallery rows).

Here's a screenshot:
Image

I don't see the "access denied" box... that's strange...

ukexpat
 
Posts: 1193


Post Wed Sep 15, 2004 4:58 pm


I see the same thing in IE6.0.2800.1106 running on XP Pro. Even stranger in the latest release of Firefox, I see bigger gaps between the rows than in IE6.0, and an even bigger gap between rows 4 and 5. When I run the CSS through a validator I get these errors - maybe the explanation is in there somewhere:

* Line: 0 Context : .thumbnail

Parse Error - ,
* Line: 0 Context : .display

Invalid number : paddingattempt to find a semi-colon before the property name. add it
* Line: 0 Context : td , font

Parse Error - );
* Line: 0 Context : td , font

Parse error - Unrecognized : }
* Line: 0 Context : h2

Invalid number : marginParse Error - 5
* Line: 0 Context : h2

Parse Error - );
* Line: 0 Context : h2

Parse error - Unrecognized : }
* Line: 0 Context : h3

Invalid number : background-colornone is not a color value : none

matiasasun
 
Posts: 1493

An extra pair of

Post Wed Sep 15, 2004 5:12 pm


Yes... There is a gap about 1 cm. longer than the rest of the spaces used. I did a check on your Page Source and find out that you have an extra pair of
Code: Select all
</TR><TR>


This is a piece of the Code between the Thumbnail for "Paparazzi" and "Variety":

Code: Select all
<TD class="thumbnail" align=center><A HREF="http://www.pbase.com/annellyse/paparazzi" class="thumbnail"><IMG class=thumbnail src="http://mikuna.image.pbase.com/u41/annellyse/small/26926090.TheBeatles.jpg" WIDTH=160 HEIGHT=107 border=0 alt="Paparazzi"></A><br><b>Paparazzi</b></td>
</TR><TR>

</TR><TR>
<TD class="thumbnail" align=center><A HREF="http://www.pbase.com/annellyse/variety" class="thumbnail"><IMG class=thumbnail src="http://mikopi.image.pbase.com/u44/annellyse/small/28499106.IMG_3500copy.jpg" WIDTH=160 HEIGHT=107 border=0 alt="Variety"></A><br><b>Variety</b></td>


Yesterday I was looking at Emily´s galleries and there is something similar in hers, so I decided to look how it was done, and I discovered a lot of extra /TR's Strange. All I think of is:
a) there m,ight be a problem with some extra code generated by multiple pages some time ago..... So a good way to solve it could be to change the columns and number of pages until it dissapear.
b) If that does not work, send a mail to Emily to telll her that you don´t want those estra /TRs

Hope this Helps

Matias, Chile

Ps. I´ll say it again; Computers think.

//Edit: Mine is better this time Nigel :P :lol:
Matias, Chile - http://www.pbase.com/matiasasun
Resources, HOWTOs, Samples and more! - http://pbasewiki.srijith.net/

ayphoto
 
Posts: 13


Post Wed Sep 15, 2004 8:04 pm


THANKS everyone!! I really appreciate all the help. I will look into this.


Board index PBase HTML and Style Sheets Gap between rows in main gallery page

Who is online

Users browsing this forum: ClaudeBot and 1 guest