View Full Version : Name Overflow
Ratty
10-22-2010, 07:40 AM
I've noticed that MIKEtheMERCILESS (http://wyrd-games.net/forum/member.php?u=4423) name breaks the CSS layout. You can fix this by just adding width: 129px to the end of .postbit_left_wrapper Element.
You could make it look even tidier by adding
.postbit_left_wrapper center
{
overflow: hidden;
}
so it would hide the last bit of the name and keep the margins.
goblyn13
10-22-2010, 10:04 AM
Overflow: doesn't work the same in all browsers and based on the box model theory of CSS (IE behaves differently that firefox behaves differently that webkit based browsers behave differently than Opera) changing the width of a nested CSS atttribute doesn't work to well either.
Ratty
10-22-2010, 10:11 AM
Overflow: doesn't work the same in all browsers and based on the box model theory of CSS (IE behaves differently that firefox behaves differently that webkit based browsers behave differently than Opera) changing the width of a nested CSS atttribute doesn't work to well either.
overflow will work correctly in most browsers, and in the ones it doesn't it will degrade to the original state.
Width is counted as a min-width in early versions of IE. so it would still push out the box, however it would fix the issue in 90% of the browsers.
IE. modern browsers it will fix the problem, early browsers it will look the same as it does at the moment. It's not perfect but it's a better state than it is currently. If you want the width to work in all browsers it is possible with IE conditional javascript in the CSS.
karn987
11-04-2010, 08:02 AM
Can we get some kind of change to the forum to limit the size of names at least? We keep getting more and more people with longer and longer names and it breaks my display on Firefox and IE quite badly.
Please?
Ratty
11-04-2010, 08:23 AM
The solution I gave would of worked on 99% of peoples browsers (going by the latest polls of browsers used today) and degraded no worse than the current state on the other 1% of browsers. But they didn't want to go with it.
A name limit would work, but it would stop a lot of fine names like Wierd Stitch. The main issue is people not putting a space in their name. It could be fixed by sending an email to the user who breaks the forum informing them that you are changing their username and then adding spaces to the name.
karn987
11-04-2010, 10:06 AM
*nods* Anything would be greatly appreciated. Some of these names just really throw things out of whack.
MIKEtheMERCILESS
11-09-2010, 04:00 AM
...Good thing I decided at the last minute against ***~~~MICHAELtheMERCILESS2010~~~***
magicpockets
11-12-2010, 10:35 AM
...Good thing I decided at the last minute against ***~~~MICHAELtheMERCILESS2010~~~***
Erm... yours breaks it as it is lol
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.