Log in

View Full Version : Why does my site sometimes look like this??



smansakra
01-24-2011, 01:10 AM
Sometimes my page loaded normal, but sometimes it display untidy div
please see the image below
http://smansakra.sch.id/DOCUMENTS/smansakra-mobile-preview-jadi.jpg
the url of my page is http://m.smansakra.sch.id/friends/preview/8/E0E0E0/5C7A99

just clicking above page, and refresh, then refresh, and it will display untidy div..

how can it happend,
css is loaded normally

thanks for helping

fastsol1
01-24-2011, 01:34 AM
Because you are floating the divs when the first div in the row has a symbol next to the person name and the second name does not, the spacing is pushing the div to the right to clear the div on the left.

Assign a height to the divs that will always accommodate the symbol and name and it should work fine.

smansakra
01-24-2011, 01:54 AM
because you are floating the divs when the first div in the row has a symbol next to the person name and the second name does not, the spacing is pushing the div to the right to clear the div on the left.

Assign a height to the divs that will always accommodate the symbol and name and it should work fine.

aha, i think you right, thanks so much, i don't know about it before :d

jscheuer1
01-24-2011, 02:36 AM
And/or you could make sure there's a default symbol for this display when none has been configured.