• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

HTML Problems

Dixter

Amateur Web Developer
Joined
Mar 31, 2009
Messages
660
Reaction score
11
Hey guys I just started learning html and im testing everything I learn. But I've been running into this problem. Whenever I try to add a heading and/or a paragraph it either replaces the entire paragraph before it or it replaces half of the paragraph before it or just the last line when I look at my website. It was ok when i had 1 or 2 headings and paragraphs, but when i started adding more i kept running into this problem. When I rearranged the paragraphs it displayed them fine again. Recently I tried to add an unordered list and it replaced the last line of the last paragraph. Here's my script:

HTML:
<html>


<body background="war.jpg";bgcolor="DarkBlue";align="center">

<h1>New Server Updates!</h1>


<p style="font-family:times;color:red;font-size:20px">The Scorpia server is a new server that has just recently been opened.  Since it's new there will be 

updates everyday for quite some time so be sure check out the news section every day to find out about the latest updates!</p>

<h1>Support Team Qualification</h1>

<p style="font-family:times;color:red;font-size:20px">In order to qualify to become a member of our support team you must be able to either script or map 

well enough to be of us to the server.  You must also have a full knowledge of all the commands that a support team member can use.  If you become a support 

team member and you are caught abusing your position you will be deleted and will never qualify for the Scorpia support team again.  If you wish to learn how 

to script or map go down the page and search for the heading titled <i>Learning to script or map.</i></p>


<h1>Learning to script or map</h1>

<p style="font-family:times;color:red;font-size:20px">If you want to learn how to script or map in order to become a support team member or just for yourself 

we welcome you to.  We fully support <a href="http://otland.net/forum.php">OtLand</a> and <a href="http://otfans.net/forum.php">OtFans</a> which are great 

sites that will help you a lot.</p>



<h1>Origins of Scorpia</h1>


<p style="font-family:times;color:red;font-size:20px">The hoster of this server used to play the Veterana server but then decided to make his own server.  

However Scorpia still supports them so be sure to check out <a href="http://veterana.no-ip.org>The Veterana Server</a></p>


<p style="font-family:times;color:red;font-size:20px">Advantages of the Scorpia server are:<br/>
<ul>
<li>Super fast speed with no lags.</li>
<li>Plenty of custom quests and exp places</li>
<li>Plenty of custom items,weapons, and spells</li>
<li>Friendly and helpful staff</li>
</ul>
</p>




</body>
</html>

P.S Also how do i set an image as my background image using <body style="....>, cuz when i use <body background="...> I cant align the text or set a background color, and besides the tutorial im reading said that using <body background wont work in later versions. Please help ill give rep.
 
test this

PHP:
<body background="war.jpg" bgcolor="DarkBlue" align="center">
 
nope it still doesnt work ;(. But my biggest problem is the paragraph thing please help :p
 
Code:
<html>
	<body style="background-image: url('war.jpg'); background-color: darkblue; text-align: center;">
		<h1>New Server Updates!</h1>
		<p style="font-family:times;color:red;font-size:20px">The Scorpia server is a new server that has just recently been opened.  Since it's new there will be updates everyday for quite some time so be sure check out the news section every day to find out about the latest updates!</p>

		<h1>Support Team Qualification</h1>
		<p style="font-family:times;color:red;font-size:20px">In order to qualify to become a member of our support team you must be able to either script or map well enough to be of us to the server.  You must also have a full knowledge of all the commands that a support team member can use.  If you become a support team member and you are caught abusing your position you will be deleted and will never qualify for the Scorpia support team again. If you wish to learn how to script or map go down the page and search for the heading titled <i>Learning to script or map.</i></p>

		<h1>Learning to script or map</h1>
		<p style="font-family:times;color:red;font-size:20px">If you want to learn how to script or map in order to become a support team member or just for yourself we welcome you to. We fully support <a href="http://otland.net/forum.php">OtLand</a> and <a href="http://otfans.net/forum.php">OtFans</a> which are great sites that will help you a lot.</p>

		<h1>Origins of Scorpia</h1>
		<p style="font-family:times;color:red;font-size:20px">The hoster of this server used to play the Veterana server but then decided to make his own server. However Scorpia still supports them so be sure to check out <a href="http://veterana.no-ip.org">The Veterana Server</a></p>
		<p style="font-family:times;color:red;font-size:20px">Advantages of the Scorpia server are:<br/>
			<ul>
				<li>Super fast speed with no lags.</li>
				<li>Plenty of custom quests and exp places</li>
				<li>Plenty of custom items,weapons, and spells</li>
				<li>Friendly and helpful staff</li>
			</ul>
		</p>
	</body>
</html>
 
Back
Top