Frontend Development

HTML Help needed

Submitted by Niko, , Thread ID: 12769

Thread Closed
Niko
Member
Level:
0
Reputation:
0
Posts:
119
Likes:
6
Credits:
191
15-11-2015, 06:15 AM
This post was last modified: 15-11-2015, 06:15 AM by Niko
#1
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
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>
I have made many google searches but cannot find anything! Thanks

RE: HTML Help needed

Sexual
est. 2015
Prime
Level:
0
Reputation:
28
Posts:
539
Likes:
18
Credits:
10
15-11-2015, 06:35 AM
#2
15-11-2015, 06:15 AM
Niko 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
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>
I have made many google searches but cannot find anything! Thanks

Try this

Code:
<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</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

Niko
Member
Level:
0
Reputation:
0
Posts:
119
Likes:
6
Credits:
191
OP
15-11-2015, 06:42 AM
#3
15-11-2015, 06:35 AM
Sexual Wrote:
15-11-2015, 06:15 AM
Niko 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
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>
I have made many google searches but cannot find anything! Thanks

Try this

Code:
<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</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>
It worked but it seems a teeny bit too lowhttp://i.imgur.com/ggDLljs.png

RE: HTML Help needed

Sexual
est. 2015
Prime
Level:
0
Reputation:
28
Posts:
539
Likes:
18
Credits:
10
15-11-2015, 06:48 AM
#4
15-11-2015, 06:42 AM
Niko Wrote:
15-11-2015, 06:35 AM
Sexual Wrote:
15-11-2015, 06:15 AM
Niko 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
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>
I have made many google searches but cannot find anything! Thanks

Try this

Code:
<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</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>
It worked but it seems a teeny bit too lowhttp://i.imgur.com/ggDLljs.png

Code:
<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</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

Niko
Member
Level:
0
Reputation:
0
Posts:
119
Likes:
6
Credits:
191
OP
15-11-2015, 06:53 AM
#5
15-11-2015, 06:48 AM
Sexual Wrote:
15-11-2015, 06:42 AM
Niko Wrote:
15-11-2015, 06:35 AM
Sexual Wrote:
15-11-2015, 06:15 AM
Niko 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
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>
I have made many google searches but cannot find anything! Thanks

Try this

Code:
<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</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>
It worked but it seems a teeny bit too lowhttp://i.imgur.com/ggDLljs.png

Code:
<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</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 Smile

RE: HTML Help needed

Sexual
est. 2015
Prime
Level:
0
Reputation:
28
Posts:
539
Likes:
18
Credits:
10
15-11-2015, 06:53 AM
#6
15-11-2015, 06:53 AM
Niko Wrote:
15-11-2015, 06:48 AM
Sexual Wrote:
15-11-2015, 06:42 AM
Niko Wrote:
15-11-2015, 06:35 AM
Sexual Wrote:
15-11-2015, 06:15 AM
Niko 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
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>
I have made many google searches but cannot find anything! Thanks

Try this

Code:
<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</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>
It worked but it seems a teeny bit too lowhttp://i.imgur.com/ggDLljs.png

Code:
<!DOCTYPE html>
<html>
<title>Please Wait...</title>
<body background="mybb/images/bg.png" bgcolor="#333333">
<center>
<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</h1>

<h1>&nbsp;</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 Smile

No problem, PM me.

RE: HTML Help needed

Brent
Novice
Level:
0
Reputation:
3
Posts:
26
Likes:
0
Credits:
6
15-11-2015, 09:03 AM
This post was last modified: 15-11-2015, 09:03 AM by Brent
#7
Has this been fixed? If so are you happy with the way that its been done?

RE: HTML Help needed

Niko
Member
Level:
0
Reputation:
0
Posts:
119
Likes:
6
Credits:
191
OP
16-11-2015, 12:10 AM
#8
15-11-2015, 09:03 AM
Brent 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

Exper123
Newbie
Level:
0
Reputation:
0
Posts:
15
Likes:
0
Credits:
1
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: 1 Guest(s)