+ 2
You might want to put the absolutely aligned div in a relatively aligned container - this way it will still be contained into the container rather than the browser window. Here is your coding-- <div style="position: relative;background-color: blue; width: 600px; height: 800px;"> <div style="position: absolute; bottom: 5px; background-color: green"> TEST (C) 2010 </div> </div> Hope you understand! Rock the codeđŸ€ŸđŸ€Ÿ
28th May 2020, 3:08 PM
Piyush
Piyush - avatar