|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
ok, that question still stands, but i found something wicked out.
if i make the height of .gamebox auto, then it is sized exactly as i want it, EXCEPT, because there is more than one on the row, if the first one gets a larger height, then the second one will be higher than it and it is uneven. how can i make it so that if i use height:auto that both gameboxes on the same row get the height of the bigger of the two? EDIT: also, i'm having a problem where the page sometimes randomly screws up my gameboxes and shows only the image and then the title under it. if you refresh the page then its fine. whats up with that? EDIT AGAIN: screw the height:auto. i'll make a cooler gamebox when i learn javascript. the question in the first edit is valid though, and weird, because it only happens sometimes. Last edited by gsquare567 : May 9th, 2008 at 10:50 AM. |
|
#17
|
|||
|
|||
|
****. this is such a weird thing, and nobody can identify the problem. this is a major thing. why are the gameboxes perfectly aligned (image then text) and other times just ****ed up (image then title on next row).
|
|
#18
|
|||||
|
|||||
|
css Code:
so why does it screw up on the page sometimes? the image sometimes takes a whole row, even though i float it, and all images are set to 60x50. |
|
#19
|
||||
|
||||
|
Try giving ".gamebox" display:table and ".gamebox .outer" display:table-row.
You could also try giving ".gamebox .outer" a height. By the way, I suggest you start a separate thread about the clickable area thing in the JavaScript forum. That way perhaps someone will help you with it before I get around to it.
__________________
Spreading knowledge, one newbie at a time. Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions IE7: the generation 7 browser new in a world of generation 8 browsers. Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Gamebox: image with valign middle but floating? anchored div? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|