views:

139

answers:

3

Hello all, I just launched my site yesterday and everything was working as is. I have a blogs community page, and a questions community page that each have a top blogger/top commenters section, as well as a top askers/top answers section. They all share the same CSS and have an image that holds user pics that use CSS to align properly

I noticed as the number of users started to get over 200, ONLY on the blogs page, and only the first pic in the first row of four, and the first pic in the second row of four were out of line. ONLY in firefox, not in IE,safari or Chrome

Any idea what this may be? Here is the structure

<td class="topCommentPic round_10px">
                    <a href="<?php echo $author->url(); ?>">
                        <img src="<?php echo $author->img('mini'); ?>" border="0" />
                    </a>
                    <div class="topCommentName">
                        <a href="<?php echo $author->url(); ?>">
                            <?php echo $author->first_name; ?><br /><?php echo $author->last_name; ?>
                        </a>
                    </div>
                </td>
+4  A: 

Let's think for a little bit. How would the number of users on the server affect how a browser on the other side of the world from your server renders HTML?

This is highly unlikely - especially when determining the cause of such a small discrepancy.

Could the number of users on the server affect what the server sends to clients?

...Most likely, the only thing it could possibly affect is a "# users online" section on the webpage. I would start looking there - specifically, it may now be overrunning the space allowed for it slightly.

Anon.
Well, mostly I agree, but in theory if the server was a little slower to serve images and there was some weird bug in Firefox's reflow code then having lots of users might affect the rendering on a client. I doubt that's what's happening, but 'clearly it couldn't' is perhaps too strong a statement.
Mark Byers
While I agree with your analysis of the problem, the load on the server could cause/stop the CSS from being returned in time, so it may not load. But I agree, this is not the issue he's experiencing.
Noon Silk
I agree, never say couldn't. It would be more appropriate to say nearly impossible.
ChaosPandion
Timeouts due to low amount of resources, maximum amount of connections to the server reached, memory shortage, ...
Veger
You are correct. I'll rephrase that a bit.
Anon.
+1  A: 

The CSS is sent by your server and executed (read) by the client's browser in order to display a nice web page.

There is no way the client-side execution of the CSS can be influenced by the number of online visitors. Same remark goes for the HTML or JS.

However your server load can (and is) influenced by the number of users. If your server load is too high, undefined reaction can happen. And your server my close a connection before having sent the whole CSS file. Try checking your server load.

Take also care at some "list of online users" of such things witch can quickly destroy a template by taking much more page space than you initially thought.

Snowangelic
A: 

I've got a completely random idea....... Try pressing Ctrl+0 (Control and Zero) on your keyboard and see what happens. Sometimes Firefox zoom causes distortions and can only be properly reset with Ctrl+0. Pulled my hair out once wondering what was wrong with my screen.

Tom