Frontend Development
HTML Help needed
Submitted by Niko, 15-11-2015, 06:15 AM, Thread ID: 12769
Thread Closed
Okay so i am making a firwall page for my website but i am a beginner in HTML. I want to center it in the middle of the page on x and y axis. Here is my current code
I have made many google searches but cannot find anything! Thanks
Code:
<!DOCTYPE html>
<html>
<body background="mybb/images/bg.png" bgcolor="#333333">
<font face="verdana" color="white"><center><h1>Welcome to LightForums!</h1></center></font>
<font face="verdana" color="white"><center><p>You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</p></center></font>
<center><IMG SRC="mybb/images/load2.gif"></center>
</body>
</html>
RE: HTML Help needed
15-11-2015, 06:35 AM
#2 15-11-2015, 06:15 AMNiko Wrote: Okay so i am making a firwall page for my website but i am a beginner in HTML. I want to center it in the middle of the page on x and y axis. Here is my current code
I have made many google searches but cannot find anything! ThanksCode:<!DOCTYPE html>
<html>
<body background="mybb/images/bg.png" bgcolor="#333333">
<font face="verdana" color="white"><center><h1>Welcome to LightForums!</h1></center></font>
<font face="verdana" color="white"><center><p>You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</p></center></font>
<center><IMG SRC="mybb/images/load2.gif"></center>
</body>
</html>
Try this
Code:
<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1><font color="white" face="verdana">Welcome to LightForums!</font></h1>
</center>
<center>
<p><font color="white" face="verdana">You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</font></p>
</center>
<center><img src="mybb/images/load2.gif" /></center>
</body>
</html>
RE: HTML Help needed
It worked but it seems a teeny bit too lowhttp://i.imgur.com/ggDLljs.png15-11-2015, 06:35 AMSexual Wrote:15-11-2015, 06:15 AMNiko Wrote: Okay so i am making a firwall page for my website but i am a beginner in HTML. I want to center it in the middle of the page on x and y axis. Here is my current code
I have made many google searches but cannot find anything! ThanksCode:<!DOCTYPE html>
<html>
<body background="mybb/images/bg.png" bgcolor="#333333">
<font face="verdana" color="white"><center><h1>Welcome to LightForums!</h1></center></font>
<font face="verdana" color="white"><center><p>You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</p></center></font>
<center><IMG SRC="mybb/images/load2.gif"></center>
</body>
</html>
Try this
Code:<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1><font color="white" face="verdana">Welcome to LightForums!</font></h1>
</center>
<center>
<p><font color="white" face="verdana">You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</font></p>
</center>
<center><img src="mybb/images/load2.gif" /></center>
</body>
</html>
RE: HTML Help needed
15-11-2015, 06:48 AM
#4 15-11-2015, 06:42 AMNiko Wrote:It worked but it seems a teeny bit too lowhttp://i.imgur.com/ggDLljs.png15-11-2015, 06:35 AMSexual Wrote:15-11-2015, 06:15 AMNiko Wrote: Okay so i am making a firwall page for my website but i am a beginner in HTML. I want to center it in the middle of the page on x and y axis. Here is my current code
I have made many google searches but cannot find anything! ThanksCode:<!DOCTYPE html>
<html>
<body background="mybb/images/bg.png" bgcolor="#333333">
<font face="verdana" color="white"><center><h1>Welcome to LightForums!</h1></center></font>
<font face="verdana" color="white"><center><p>You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</p></center></font>
<center><IMG SRC="mybb/images/load2.gif"></center>
</body>
</html>
Try this
Code:<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1><font color="white" face="verdana">Welcome to LightForums!</font></h1>
</center>
<center>
<p><font color="white" face="verdana">You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</font></p>
</center>
<center><img src="mybb/images/load2.gif" /></center>
</body>
</html>
Code:
<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1><font color="white" face="verdana">Welcome to LightForums!</font></h1>
</center>
<center>
<p><font color="white" face="verdana">You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</font></p>
</center>
<center><img src="http://i.imgur.com/ekzBYEZ.gif" /></center>
</body>
</html>
RE: HTML Help needed
15-11-2015, 06:48 AMSexual Wrote:15-11-2015, 06:42 AMNiko Wrote:It worked but it seems a teeny bit too lowhttp://i.imgur.com/ggDLljs.png15-11-2015, 06:35 AMSexual Wrote:15-11-2015, 06:15 AMNiko Wrote: Okay so i am making a firwall page for my website but i am a beginner in HTML. I want to center it in the middle of the page on x and y axis. Here is my current code
I have made many google searches but cannot find anything! ThanksCode:<!DOCTYPE html>
<html>
<body background="mybb/images/bg.png" bgcolor="#333333">
<font face="verdana" color="white"><center><h1>Welcome to LightForums!</h1></center></font>
<font face="verdana" color="white"><center><p>You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</p></center></font>
<center><IMG SRC="mybb/images/load2.gif"></center>
</body>
</html>
Try this
Code:<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1><font color="white" face="verdana">Welcome to LightForums!</font></h1>
</center>
<center>
<p><font color="white" face="verdana">You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</font></p>
</center>
<center><img src="mybb/images/load2.gif" /></center>
</body>
</html>
Code:<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1><font color="white" face="verdana">Welcome to LightForums!</font></h1>
</center>
<center>
<p><font color="white" face="verdana">You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</font></p>
</center>
<center><img src="http://i.imgur.com/ekzBYEZ.gif" /></center>
</body>
</html>
Thanks so much
RE: HTML Help needed
15-11-2015, 06:53 AM
#6 15-11-2015, 06:53 AMNiko Wrote:15-11-2015, 06:48 AMSexual Wrote:15-11-2015, 06:42 AMNiko Wrote:It worked but it seems a teeny bit too lowhttp://i.imgur.com/ggDLljs.png15-11-2015, 06:35 AMSexual Wrote:15-11-2015, 06:15 AMNiko Wrote: Okay so i am making a firwall page for my website but i am a beginner in HTML. I want to center it in the middle of the page on x and y axis. Here is my current code
I have made many google searches but cannot find anything! ThanksCode:<!DOCTYPE html>
<html>
<body background="mybb/images/bg.png" bgcolor="#333333">
<font face="verdana" color="white"><center><h1>Welcome to LightForums!</h1></center></font>
<font face="verdana" color="white"><center><p>You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</p></center></font>
<center><IMG SRC="mybb/images/load2.gif"></center>
</body>
</html>
Try this
Code:<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1><font color="white" face="verdana">Welcome to LightForums!</font></h1>
</center>
<center>
<p><font color="white" face="verdana">You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</font></p>
</center>
<center><img src="mybb/images/load2.gif" /></center>
</body>
</html>
Code:<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1> </h1>
<h1><font color="white" face="verdana">Welcome to LightForums!</font></h1>
</center>
<center>
<p><font color="white" face="verdana">You have hit our FireWall, this process may take a few moments. Please be patient so we can insure your security!</font></p>
</center>
<center><img src="http://i.imgur.com/ekzBYEZ.gif" /></center>
</body>
</html>
Thanks so much
No problem, PM me.
RE: HTML Help needed
Has this been fixed? If so are you happy with the way that its been done?
RE: HTML Help needed
15-11-2015, 09:03 AMBrent Wrote: Has this been fixed? If so are you happy with the way that its been done?
Yes i am. It was not a big thing and i am fairly new but learning fast. All i wanted was a simple firewall HTML and that is exactly what i recieved
RE: HTML Help needed
19-08-2017, 10:26 PM
#9 A easy way to center anything is by using <center> Infront of the actual code you want centered.
Users browsing this thread: 6 Guest(s)