bad border in firefox

liunx

Guest
<!-- m --><a class="postlink" href="http://wick*****es.com/parkeriscool/viewalbum.php?album=test1">http://wick*****es.com/parkeriscool/vie ... lbum=test1</a><!-- m -->

fine in ie, but the border is messed up in firefox. also, i would like to center the pictures (like, the whole block of them) in some valid way, preferably css, without having to set a width for the block containing the pictures, because the pictures may have different dimensions (this page is generated with php). any suggestions? most important is getting that border right in firefox, but the centering would just about complete that page.

edit: language filter killed my url, the astericked part is the cuss word that means a female dog.your link doesnt workok works without the stars, didnt see. apologies :)lol now it can't find ur file :Dyes, another post by me :) works now :confused:look at the edit to my post, the word that the ***** replaces is a cuss word, its the not-so-clean name for a female dog.

those like 4 posts were nice, but still no answer to question. anyone else have thoughts?First, you don't have a doctype.
Second, you have typo errors in your css code: "maring" instead of margin.
Third, your floats are collapsing the div which they should but IE is incorrectly stretching the div around. Search for "clear floats" to solve your problem. The problem is IE not Firefox. Never test in IE first.and my question about centering?Not sure how you want it centered. Do you mean one picture per line or keep the number of pictures on the line the same but center it?

You have a bad case of "divitis". Perhaps you have other plans for this page but you have divs for just about everything there and it's not necessary.i was thinking about adding a function to make the number of pics per row something that an admin can change, but im not crazy about that anymore, so i'll probably delete the row div. if there are any more tha ti can delete please tell me. for the centering, i basically want the album block to be centered, i want even margins on the left and right of the pics so that the whole block of them is centered.

also, i fixed the problem on firefox somewhat by just making everything a div, but now it isnt centered and the long caption is hanging out and the div with the border around the pic block is too wide.
 
Back
Top