Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

HTML Website coding issue.


  • Please log in to reply
7 replies to this topic

#1 Vaine

Vaine

  • Members
  • 133 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Somewhere in NewYork
  • Local time:01:21 PM

Posted 21 April 2009 - 03:47 PM

Alright. My screen resolution is 1024x768...well i create my website and the upper right scrolling textbox and the lower right one seem to shift on different screen resolutions and when you resize the window of the internet. How do I get it so those two boxes stay put and do not move so that the site is viewable by all?

Here is the whole site. Everything works out in the positioning part in 1024x768


<BODY style="BACKGROUND-COLOR: #000000">
<P>
<STYLE type=text/css>
<!--
BODY
{
scrollbar-face-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-arrow-color: #ffffff;
scrollbar-track-color: #000000;
}
-->
</STYLE>
<NOSCRIPT></NOSCRIPT><!-- -->
&lt;script src="http://www.freewebs.com/p.js"></SCRIPT>
 
&lt;script language=JavaScript>
<!--
 var message="Stealing is a crime.";
 function click(z) {
  if (document.all) {
   if (event.button == 2) {
	alert(message);
	return false;
   }
  }
  if (document.layers) {
   if (z.which == 3) {
	alert(message);
	return false;
   }
  }
 }
 if (document.layers) {
  document.captureEvents(Event.MOUSEDOWN);
 }
 document.onmousedown=click;
// --> 
</SCRIPT>
<!--
BODY
{
scrollbar-face-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-arrow-color: #ffffff;
scrollbar-track-color: #000000;
}
--></STYLE></P>
<P></P>
<CENTER></CENTER>
<CENTER>
<DIV style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; LEFT: 0px; BACKGROUND-IMAGE: url(http://i229.photobucket.com/albums/ee189/darth_wolfman/Ean_TESTcopy3gif.png); PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 781px; PADDING-TOP: 0px; BACKGROUND-REPEAT: no-repeat; POSITION: relative; TOP: 0px; HEIGHT: 785px">
<DIV align=left>
<DIV style="PADDING-RIGHT: 4px; PADDING-LEFT: 4px; SCROLLBAR-FACE-COLOR: #000000; FONT-SIZE: 8pt; Z-INDEX: 1; FILTER: chroma(color=#000000); LEFT: 30px; PADDING-BOTTOM: 1px; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; OVERFLOW: auto; WIDTH:290px; SCROLLBAR-SHADOW-COLOR: #000000; LINE-HEIGHT: 15px; SCROLLBAR-ARROW-COLOR: #ffffff; PADDING-TOP: 4px; SCROLLBAR-TRACK-COLOR: #000000; SCROLLBAR-BASE-COLOR: #000000; POSITION: relative; TOP: 600px; HEIGHT:170px; TEXT-ALIGN: justify; scrollbar-dark-shadow-color: #000000; scrollbar-3d-light-color: #000000">
<DIV><FONT face="Times New Roman CE" color=#000040>
<DIV><FONT color=#ffffff>Name :Ean Daeonas</FONT></DIV>
<DIV><FONT color=#ffffff>Age: Unknown</FONT></DIV>
<DIV><FONT color=#ffffff>Race: Elf</FONT></DIV>
<DIV><FONT color=#ffffff>Height: 6 foot 3</FONT></DIV>
<DIV><FONT color=#ffffff>Weight:180 pounds</FONT></DIV>
<DIV><FONT color=#ffffff>Birthday:Unknown</FONT></DIV>
<DIV><FONT color=#ffffff>Alias: N/A</FONT></DIV>
<DIV><FONT color=#ffffff></FONT> </DIV>
<DIV><FONT color=#ffffff> Bio: Ean, a very dark and mysterious figure, rarely smiles, but often is found with a smirk on his crimson lips. His pointy ears, which is his tool for perfect hearing, is often the targets' worst nightmare. His appearance is hidden beneath many cloaks. Each cloak is used for a higher level of attack. His demon, which lives inside of him, is often on the prowl for death, and blood. The use of the demonic power, for either good or bad, is used in battle and to his advantage. 
</FONT></DIV>
<DIV><FONT color=#ffffff></FONT> </DIV>
<DIV><FONT color=#ffffff>Attributes: N/A</FONT></DIV>
<DIV><FONT color=#ffffff></FONT> </DIV>
<DIV><FONT color=#ffffff>Weapons: Katanas, throwing knives, Bow, spears and more.</FONT></DIV></FONT></DIV></DIV></DIV></DIV></CENTER>

<DIV style="PADDING-RIGHT: 4px; PADDING-LEFT: 4px; SCROLLBAR-FACE-COLOR: #000000; FONT-SIZE: 8pt; Z-INDEX: 1; FILTER: chroma(color=#000000); LEFT: 570px; PADDING-BOTTOM: 1px; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; OVERFLOW: auto; WIDTH:290px; SCROLLBAR-SHADOW-COLOR: #000000; LINE-HEIGHT: 15px; SCROLLBAR-ARROW-COLOR: #ffffff; PADDING-TOP: 4px; SCROLLBAR-TRACK-COLOR: #000000; SCROLLBAR-BASE-COLOR: #000000; POSITION: relative; TOP: -185px; HEIGHT:170px; TEXT-ALIGN: justify; scrollbar-dark-shadow-color: #000000; scrollbar-3d-light-color: #000000">
<DIV><FONT face="Times New Roman CE" color=#000040>
<DIV><FONT color=#ffffff>Name :Ean Daeonas</FONT></DIV>
<DIV><FONT color=#ffffff>Age: Unknown</FONT></DIV>
<DIV><FONT color=#ffffff>Race: Elf</FONT></DIV>
<DIV><FONT color=#ffffff>Height: 6 foot 3</FONT></DIV>
<DIV><FONT color=#ffffff>Weight:180 pounds</FONT></DIV>
<DIV><FONT color=#ffffff>Birthday:Unknown</FONT></DIV>
<DIV><FONT color=#ffffff>Alias: N/A</FONT></DIV>
<DIV><FONT color=#ffffff></FONT> </DIV>
<DIV><FONT color=#ffffff> Bio: Ean, a very dark and mysterious figure, rarely smiles, but often is found with a smirk on his crimson lips. His pointy ears, which is his tool for perfect hearing, is often the targets' worst nightmare. His appearance is hidden beneath many cloaks. Each cloak is used for a higher level of attack. His demon, which lives inside of him, is often on the prowl for death, and blood. The use of the demonic power, for either good or bad, is used in battle and to his advantage. 
</FONT></DIV>
<DIV><FONT color=#ffffff></FONT> </DIV>
<DIV><FONT color=#ffffff>Attributes: N/A</FONT></DIV>
<DIV><FONT color=#ffffff></FONT> </DIV>
<DIV><FONT color=#ffffff>Weapons: Katanas, throwing knives, Bow, spears and more.</FONT></DIV></FONT></DIV></DIV></DIV></DIV></CENTER>

<DIV style="PADDING-RIGHT: 4px; PADDING-LEFT: 4px; SCROLLBAR-FACE-COLOR: #000000; FONT-SIZE: 8pt; Z-INDEX: 1; FILTER: chroma(color=#000000); LEFT: 570px; PADDING-BOTTOM: 1px; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; OVERFLOW: auto; WIDTH:290px; SCROLLBAR-SHADOW-COLOR: #000000; LINE-HEIGHT: 15px; SCROLLBAR-ARROW-COLOR: #ffffff; PADDING-TOP: 4px; SCROLLBAR-TRACK-COLOR: #000000; SCROLLBAR-BASE-COLOR: #000000; POSITION: relative; TOP: -915px; HEIGHT:170px; TEXT-ALIGN: justify; scrollbar-dark-shadow-color: #000000; scrollbar-3d-light-color: #000000">
<DIV><FONT face="Times New Roman CE" color=#000040>
<DIV><FONT color=#ffffff>Name :Ean Daeonas</FONT></DIV>
<DIV><FONT color=#ffffff>Age: Unknown</FONT></DIV>
<DIV><FONT color=#ffffff>Race: Elf</FONT></DIV>
<DIV><FONT color=#ffffff>Height: 6 foot 3</FONT></DIV>
<DIV><FONT color=#ffffff>Weight:180 pounds</FONT></DIV>
<DIV><FONT color=#ffffff>Birthday:Unknown</FONT></DIV>
<DIV><FONT color=#ffffff>Alias: N/A</FONT></DIV>
<DIV><FONT color=#ffffff></FONT> </DIV>
<DIV><FONT color=#ffffff> Bio: Ean, a very dark and mysterious figure, rarely smiles, but often is found with a smirk on his crimson lips. His pointy ears, which is his tool for perfect hearing, is often the targets' worst nightmare. His appearance is hidden beneath many cloaks. Each cloak is used for a higher level of attack. His demon, which lives inside of him, is often on the prowl for death, and blood. The use of the demonic power, for either good or bad, is used in battle and to his advantage. 
</FONT></DIV>
<DIV><FONT color=#ffffff></FONT> </DIV>
<DIV><FONT color=#ffffff>Attributes: N/A</FONT></DIV>
<DIV><FONT color=#ffffff></FONT> </DIV>
<DIV><FONT color=#ffffff>Weapons: Katanas, throwing knives, Bow, spears and more.</FONT></DIV></FONT></DIV></DIV></DIV></DIV></CENTER>



<CENTER><!-- Freewebs Sticker --><NOSCRIPT></NOSCRIPT><!-- --><NOSCRIPT></NOSCRIPT><!-- --><NOSCRIPT></NOSCRIPT><!-- --><NOSCRIPT></NOSCRIPT><!-- --><NOSCRIPT></NOSCRIPT><!-- --><NOSCRIPT></NOSCRIPT><!-- --><NOSCRIPT></NOSCRIPT><!-- --><NOSCRIPT></NOSCRIPT><!-- -->
&lt;script src="http://www.freewebs.com/p.js"></SCRIPT>
 
&lt;script src="http://www.freewebs.com/p.js"></SCRIPT>
 
&lt;script src="http://www.freewebs.com/p.js"></SCRIPT>
 
&lt;script src="http://www.freewebs.com/p.js"></SCRIPT>
 
&lt;script src="http://www.freewebs.com/p.js"></SCRIPT>
 
&lt;script src="http://www.freewebs.com/p.js"></SCRIPT>
 
&lt;script src="http://www.freewebs.com/p.js"></SCRIPT>
 
&lt;script src="http://www.freewebs.com/p.js"></SCRIPT>
 
&lt;script language=JavaScript src="http://images.freewebs.com/JS/Freebar/btn_mirrorblack.js">
</SCRIPT>
</CENTER></BODY>

<center><embed src="http://www.freewebs.com/lordvaine/letopisy_narnie1_the_battle.mp3" 
width="0" height="0" autostart="true" loop="true"> 
</embed></center>

<style type="text/css">body{cursor:url(http://www.PimpMySpaceCodes.net/Cursors/Sword_Cursors/cursors/Sword1[1].ani);}</style><br />

I know the DIV end tags are wrong in areas. I could not seem to figure out that part. If anyone could end this issue for me that would be great!! Thanks a lot

Here is the site i been working on.

lordvaine.webs.com

Edited by groovicus, 21 April 2009 - 07:27 PM.
Removed duplicated code.


BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:11:21 AM

Posted 21 April 2009 - 07:28 PM

How long have you been working on this?

#3 Vaine

Vaine
  • Topic Starter

  • Members
  • 133 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Somewhere in NewYork
  • Local time:01:21 PM

Posted 23 April 2009 - 08:26 AM

About 3 days now. I fixed the code up somewhat, my center end tags were messed up. I just need help fixing the end </div> tags

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:11:21 AM

Posted 23 April 2009 - 10:23 AM

Before you wrtie another line of code, read this. Just like writing a paper, there are rules that should be followed.

You don't need help. You need to properly format your code so that you can see what is going on. Properly formatted code should look like this:
<!DOCTYPE html>
<html>
  <head>
	<title>Hello HTML</title>
  </head>
  <body>
	<p>Hello World!!</p>
  </body>
</html>


#5 KamakaZ

KamakaZ

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:04:21 AM

Posted 23 April 2009 - 05:44 PM

Sorry, i agree. The code is messy, tag's are being closed that aren't opened, there are random tags being opened then straight away closed all over the place.

Just give the code a clean up first.

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#6 Romeo29

Romeo29

    Learning To Bleep


  • BC Advisor
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:12:21 PM

Posted 23 April 2009 - 06:20 PM

Download CSE HTML Validator and properly format/correct your code for free :thumbsup:

http://www.htmlvalidator.com/

#7 KamakaZ

KamakaZ

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:04:21 AM

Posted 23 April 2009 - 08:21 PM

You don't have to download, just use the online web check that is about halfway down the page for the same results.
*IT IS NOT OPEN SOURCE! Although they offer a tiral version*

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#8 Romeo29

Romeo29

    Learning To Bleep


  • BC Advisor
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:12:21 PM

Posted 24 April 2009 - 07:05 AM

They offer a FREE LITE version. The commercial version also checks for javascript etc.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users