• Before posting a question, please check our Frequently Asked Questions page as well as previous threads here. Odds are you aren't the first to ask, and you may find the answer without having to post!

HTML Question

Lady Warlock

Anime RN

Current Information


Time at Sea: 3 Days


Time of Day: Approximately 2pm


Current Heading:



So... I have this little box of stuff... made using html... there is supposed to be a border. 


Any idea why the border doesn't show up? I'm very confused at the moment. Help! Please!


Code is here: 

Code:
<div style="background:white; border=2px dotted black; align:left; margin:0.5%; padding:0.5%; width:20%; height:auto;">
		<p style="text-align:center;">
			<b>Current Information</b>
		</p>

		<p>
			<b>Time at Sea:</b> 3 Days
		</p>

		<p>
			<b>Time of Day:</b> Approximately 2pm
		</p>

		<p>
			<b>Current Heading:</b>
		</p>
	</div>
 
Last edited by a moderator:
So I looked at your code, and everything is fine except for a very common mistake. After border, you put = not : so the code couldn't be read. I double checked it by c/p your html and that little fix brought out the border. :D Hope that helps!
 
Last edited by a moderator:

Users who are viewing this thread

Back
Top