Site News
-
- Posts: 2
- Joined: Fri Jan 20, 2023 10:01 pm
Site News
Does anyone know the measurements for the "site news" box that pops up when you login?
-
- Site Admin
- Posts: 5962
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Site News
Here's the html/css:
So the initial dialog outer dimensions are 500 x 440 pixels. The inner content area is 10 less than the outer width and 85 less than the outer height. This is all scaled relative to a 960 wide viewport.
Code: Select all
<div id="News" class="dialog" style="width: 500px; height: 440px;">
<div class="header"><div class="title"></div><div class="closebtn"></div></div>
<div class="newscontent" style="left: 5px; top: 30px; right: 5px; bottom: 55px;"></div>
<div class="ok"></div><div class="save"></div>
<img src="Image?Name=Resize" alt="" class="resize">
</div>