Posts: 5
Name: Daniel Gonzalez Padilla
Location: Guadalajara, Mexico
|
Well here's the thing. my website is on HTML. but the photos section is the only one on PHP (because of the complexity we require)
here you can see a sample of how it must look:
http://www.elektronika.com.mx/Fotos.htm
the blue bars at left and rigth are made from 3 parts. "bar up", "bar mid" and "bar down". both "bar up" and "bar mid" are the background of the cells. and "bar down" is just an image over the cell (in the content).
do not ask me why i just got that by trial and error is was the best way to do it. so, everything seems to work just fine!.
buuuut. in the photo section, the "base" i gave to my friend to makew the PHP version was small (i thougth, well as the "bar mid" is the background it will automatically resize to fit the conten no matter how many pictures are in there)
but i was wrong and the result is this:
http://elektronika.com.mx/Fotos_Base.php?album=2
i've broken my head for hours and i just can't figure how to fix that, when the content table turn bigger all the cells sizes are changed the same way!. up, midle and down distribute the new size between them. ok so i setted the heigth size for the upper and lower cell. upper cell stays thw way it should but lower cell keep resizing. (it has to otherwise the whole table wouldn't resize to fit content)
i've readed over the net that the best way to fix that is by setting some CSS stuff but i don't know ANY THING about CSS, but for setting colors for text, hover and links.
can anyone tell me how to learn fast CSS?, or getting a nice premade CSS for what i need? is it hard to make?. please help!
sorry for the long topic but i really wanted to explain myself.
|