Here is a reproduction of a more complicated case:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <body> <div style="position:absolute;left:500px;top:200px;width:200px;background-color:red;";> AS HDSKLAJD KLASJD KLASJ DKLASJDKL JASKLD JKLAS JDKLASD AS HDSLAJD <p> sadas dasd sad asd sadas dasd sad asdsadas dasd sad asdsadas dasd sad asd </p> <div style="position:absolute;left:0;top:0;width:10px;background-color:green;";> CORNER </div> </div> </body> </html>
I want to have a div with the text CORNER on 0,0 pages. I KNOW I can just change the DIV in html to be outside the first DIV with an absolute DIV, but I cannot do this, because in the real case I am limited to ContentPlaceHolder (ASP.NET). So, is it possible to have a DIV that is nested inside another DIV with an absolute position and have an absolute absolute page coordinate?
html css
Patrick desjardins
source share