ID:1882448
 
BYOND Version:508
Operating System:Windows 7 Home Premium 64-bit
Web Browser:Chrome 37.0.2062.102
Applies to:Webclient
Status: Open

Issue hasn't been assigned a status value.
<style>

#mainmap {

height: 480px;
width: 640px;

}

#closebutton {
height: 32px;
width: 32px;
top: 0px;
right: 0px;

}

</style>


Problem: This is a weird one, for some reason, width works fine, but when I apply height in css, it doesn't change the height of it. Is this a webclient bug?
There are a few things that could interfere with it, like if you set the height anywhere or the map has a skinparams attribute that sets the size. Resizing the window could also have an impact. I'd have to see the whole thing in action to understand better.
<body>

<div id = "mainchild" byondclass="child" skinparams="left=mainmap">
<div id="mainmap" byondclass="map"></div>
</div>

<div id="pane" byondclass="pane">
<div id="closebutton" byondclass="button" skinparams = "command=PaneClose"></div>
</div>

</body>

<style>

#mainmap {

height: 480px;
width: 640px;

}

#closebutton {
height: 32px;
width: 32px;
top: 0px;
right: 0px;

}

</style>

macro
D return "PaneOpen"


Here's the entire .dms file so far. Not sure if that'll help at all. I didn't define the size anywhere else in the .dms file
Probably the full project would be easier to work with for testing.

BTW, it would help if you edit your report to include the full version. In Beta Bugs that's important.