ID:2550871
 
BYOND Version:512
Operating System:Windows 10 Pro 64-bit
Web Browser:Chrome 80.0.3987.132
Applies to:Dream Seeker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary: When outputting to a grid cell, the expected behavior internally is that the contents of the cell will be surrounded by a body tag. However this doesn't seem to be the case, as any CSS applied to "body" won't be applied unless you explicitly surround the content in body tags. Can also move the CSS to a div/span and use that.

Numbered Steps to Reproduce Problem:

1) Add some CSS to the BODY section of your grid's style.
2) Output stuff to the grid.
3) See no style applied. (tested with vertical alignments)


Expected Results:

CSS from the BODY{} section to be applied to the content of the grid unless specified otherwise by another tag.

Actual Results:

CSS is ignored, as if there's no body tag.

Does the problem occur:
Every time? Or how often? Every time.
In other games? Yes.
In other user accounts? Yes
On other computers? Yes

When does the problem NOT occur?

Surround your grid content with <body> tags.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Probably been happening for a while now and nobody noticed.

Workarounds:

See above.