Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
RECT rect;
SIZE txtSize;
HDC hDC;
unsigned int TextX,TextY;
hDC=GetDC(hWnd);
GetClientRect(hWnd,&rect);
GetTextExtentPoint32(hDC,lpString,strlen(lpString),&txtSize);
TextX=(rect.right-txtSize.cx)/2;
TextY=(rect.bottom-txtSize.cy)/2;
ReleaseDC(hWnd,hDC);
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Newsletter-Online.de.vu</title>
<link rel="stylesheet" href="2col_leftNav.css" type="text/css" />
</head>
<body>
<div id="masthead">
<h1 id="siteName"></h1>
<div id="globalNav"> <a href="#">hjke</a> | <a href="#">ghjj</a> | <a href="#">Wjlkg</a> | <a href="#">global link</a> | <a href="#">global link</a> | <a href="#">global link</a> | <a href="#">global link</a> </div>
</div>
<div id="content">
<h3>Ne</h3>
<p>
Was ist das hier?
</p>
</div>
</div>
<div id="siteInfo"><a href="#">kj</a> | <a href="#">jkl</a> | ©2003 Company Name </div>
<br />
</body>
</html>
Dass mein C++-Code da ignoriert wird, is klarSyntax für Thread-Titel einhalten, passenden Titel formulieren
Beim Erstellen eines Threads muss in eckigen Klammern die Sprache, in der das Problem vorkommt, im Titel angegeben werden.
div {
width: 800px; height: 600px;
position: absolute;
margin-left: -400px; margin-top: -300px;
top: 50%; left: 50%;
}