HTML Help needed

by Niko - 15-11-2015, 06:15 AM
Junior Member
Prime
Posts:
91
Joined:
Nov 2015
Likes:
1
Credits:
1
Reputation:
0
1 Year of Service
#1
OP
Posted: 15-11-2015, 06:15 AM (This post was last modified: 15-11-2015, 06:15 AM by Niko.)
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
No point
Prime
Posts:
531
Joined:
Mar 2015
Likes:
13
Credits:
0
Reputation:
28
2 Years of Service
#2
Posted: 15-11-2015, 06:35 AM
(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>

HS Developer
xmpp - pyrate@creep.im
Junior Member
Prime
Posts:
91
Joined:
Nov 2015
Likes:
1
Credits:
1
Reputation:
0
1 Year of Service
#3
OP
Posted: 15-11-2015, 06:42 AM
(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 low http://i.imgur.com/ggDLljs.png
No point
Prime
Posts:
531
Joined:
Mar 2015
Likes:
13
Credits:
0
Reputation:
28
2 Years of Service
#4
Posted: 15-11-2015, 06:48 AM
(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 low http://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>

HS Developer
xmpp - pyrate@creep.im
Junior Member
Prime
Posts:
91
Joined:
Nov 2015
Likes:
1
Credits:
1
Reputation:
0
1 Year of Service
#5
OP
Posted: 15-11-2015, 06:53 AM
(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 low http://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 point
Prime
Posts:
531
Joined:
Mar 2015
Likes:
13
Credits:
0
Reputation:
28
2 Years of Service
#6
Posted: 15-11-2015, 06:53 AM
(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 low http://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.
HS Developer
xmpp - pyrate@creep.im
Novice
Posts:
27
Joined:
Jun 2015
Likes:
0
Credits:
6
Reputation:
3
2 Years of Service
#7
Posted: 15-11-2015, 09:03 AM (This post was last modified: 15-11-2015, 09:03 AM by Brent.)
Has this been fixed? If so are you happy with the way that its been done?
Junior Member
Prime
Posts:
91
Joined:
Nov 2015
Likes:
1
Credits:
1
Reputation:
0
1 Year of Service
#8
OP
Posted: 16-11-2015, 12:10 AM
(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
Newbie
Posts:
16
Joined:
Aug 2017
Likes:
0
Credits:
9
Reputation:
0
#9
Posted: 19-08-2017, 10:26 PM
A easy way to center anything is by using <center> Infront of the actual code you want centered.
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)