ID:263729
 
Applicable Configuration:
BYOND Version: 400.962
Operating System: Windows XP
Web Browser: MSIE 7 / FireFox 2.0.0.6

Descriptive Problem Summary: When using the browser, if the default viewing size is set too small, a scrollbar will appear signifying the current page is approx. 50-60 pixels in width, and will cut the page off if the "overflow:hidden" attribute is used.

Expected Results: Text appears in the browser window without any problems.

Actual Results: Image.

Does the problem occur:
Every time? Or how often? Looks like every time.
In other games? Don't know.
On other computers? Most likely.

When does the problem NOT occur? If you don't use the browser. (I want the text to marquee though.)

Workarounds: CSS positioning doesn't seem to work, so no workarounds.

Mega fart cannon wrote:
Applicable Configuration:
BYOND Version: 400.962
Operating System: Windows XP
Web Browser: MSIE 7 / FireFox 2.0.0.6

Descriptive Problem Summary: When using the browser, if the default viewing size is set too small, a scrollbar will appear signifying the current page is approx. 50-60 pixels in width, and will cut the page off if the "overflow:hidden" attribute is used.

The only thing I'm seeing that looks wrong is that announcement at the top, which has a small height but clearly does not lack for width.

Are you sure, however, that the HTML you're using is good?

Lummox JR
In response to Lummox JR
Oh yes, height not width.

I'm pretty sure my HTML is okay since it's only basic stuff.

M<<browse({"
<html><head><title></title>
<style type="text/css">
body{background:black;color:yellow;font:12px tahoma;overflow:hidden}
html{overflow:auto} /*IE6 Workaround*/
</style></head>
<body>
<marquee>
[txt]</marquee>
</body></html>"}
)
In response to Mega fart cannon
Mega fart cannon wrote:
Oh yes, height not width.

I'm pretty sure my HTML is okay since it's only basic stuff.

> M<<browse({"
> <html><head><title></title>
> <style type="text/css">
> body{background:black;color:yellow;font:12px tahoma;overflow:hidden}
> html{overflow:auto} /*IE6 Workaround*/
> </style></head>
> <body>
> <marquee>
[txt]</marquee>
> </body></html>"}
)
>


"Pretty sure" doesn't always cut it, particularly with HTML/CSS and especially when that's running on IE. It's pretty darn certain you have a problem with a margin or padding on either the page or the line of text.

Lummox JR
In response to Lummox JR
Interestingly enough, it was the margin. I'm curious though to why the margins in IE isn't defaulted at 0.

Anyways, thanks Lummox!
In response to Mega fart cannon
Mega fart cannon wrote:
Interestingly enough, it was the margin. I'm curious though to why the margins in IE isn't defaulted at 0.

I don't think the margins default to 0 even in a real browser.

Lummox JR