News for hackers. Stuff that matters.
Re:A couple CSS tricks for HTML Dialog elements by Lvl999Noob on Tuesday January 14, 2025 @02:08PM (#42702183)
In addition to `position: fixed`, shouldn't it be top, left, height, width, instead of top, left, bottom, right? In the second case, it would follow the top and left instructions then take the necessary amount of space, ignoring right and bottom?
Re:A couple CSS tricks for HTML Dialog elements by nicoburns on Tuesday January 14, 2025 @05:13PM (#42704661)
For absolutely positioned elements, if you set all four sides then the height and width will be automatically computed.