Spacing help

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

firefighter25yrs

Thread Starter
Joined
Dec 29, 2010
Messages
79
Hello,

First of all I would like to thank everyone here and I love the site. You guys are all awesome and very smart. I finally made an account because I just started a new website and I am very new to most of it.

I have been a firefighter for over 25 years now and building a website has always been a dream of mine. I save lives often and it is very rewarding but a website has always been a dream of mine.

Anyway to the details.

I am making a free flash game website. I have build the whole thing in notepad by doing a lot of research and studying. I can not seem to make side bars or boxes or anything to make my site look clean and neat.

Most of the more popular free flash games websites are very neat and organized with sidebars and boxes with the games boxed very nicely.

I turn to you guys for some help with this. I will listen to any and all advise.

My website is
http://www.freegamingkingdom.com

Thank you again guys and I hope to have it fully operational by the summer before I go back to my 24 hour shifts.

Stay safe,
John
 
Joined
May 20, 2010
Messages
4,040
Hi,
welcome to TSG

Code:
<html>

<h1>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="642" height="100" id="banner.swf" align="middle">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="movie" value="Untitled.swf">
    <param name="quality" value="high">
    <param name="bgcolor" value="#ffffff">
    <embed src="[URL="http://forums.techguy.org/view-source:http://www.freegamingkingdom.com/banner.swf"]banner.swf[/URL]" quality="high" bgcolor="#ffffff" width="642" height="100" name="banner.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
</h1>

<head>
This is wrong. The second part in HTML document could be <HEAD>. You can't put Heading before <head>.
Why you entered that flash object inside the <h1> ?? <h1> is for text Headings, it doesn't mean you can put flash headings inside that.

Code:
<font color=blue>
Font Color tags are outdated, and that part has taken from the CSS(It doesn't mean you MUST NOT use that tag).

You want to set that GAMES table to the center right? If it is use correct CSS for the Game table container DIV, or use Dreamweaver and you will be able to drag that DIV to the correct place.

You haven't closed the table. Close it using </table>.
 
Joined
May 20, 2010
Messages
4,040
That site has good games.. I like that. If you need any help, just ask.
 

firefighter25yrs

Thread Starter
Joined
Dec 29, 2010
Messages
79
I do not have a CSS file. I have done everything in notepad. Is there anything I can do to fix the spacing?

Thank you,
John
 
Joined
Aug 12, 2007
Messages
696
Try submitting your site's URL to this site:
http://validator.w3.org/

You'll learn a lot and fix your problems in the process. You have a lot of html errors that should be fixed, and the w3 validator site will help you.
 
Joined
May 20, 2010
Messages
4,040
I do not have a CSS file. I have done everything in notepad. Is there anything I can do to fix the spacing?
Before we can help you for the rest, you should correct the mistakes I mentioned, because they are the very basics... In your scripts and HTML, you have ignored lots of standards..First fix the errors I mentioned, then we can talk about the standards and more.
 

DrP

Joined
Jul 23, 2005
Messages
739
There's nothing wrong with putting a Flash file within the <h1> but Sepala's right - the <head> element should be first. The essence of a HTML document is:

Code:
<html>

<head>
<!-- things that go in the head like links to stylesheet, meta info, the <title> element, etc -->
</head>

<body>
<!-- this is where your <h1> should be, along with the rest of the page -->
</body>

</html>
I noticed you don't even have a <body> tag, which is a fairly huge thing to miss out... do what Ehymel says and use this: http://validator.w3.org/.

Also, have you looked into the copyright on those games as you're hosting them yourself?
 
Joined
May 20, 2010
Messages
4,040
There's nothing wrong with putting a Flash file within the <h1>
It works, but it doesn't mean it is correct. H1 is for Text Headings. Putting a flash object inside <h1> will not change anything. So, it is useless.

Also, have you looked into the copyright on those games as you're hosting them yourself?
mmmm....Ya, these games are belongs to other sites, and those are not downloadable.
 

firefighter25yrs

Thread Starter
Joined
Dec 29, 2010
Messages
79
Hello all,

I will work on the website a little later today. I have to visit my mom in the hospital. I appreciate the help and I hope you can guide me to a successful site.

Thank you,
John
 

rotarysteve

Banned
Joined
Dec 26, 2010
Messages
496
It works, but it doesn't mean it is correct. H1 is for Text Headings. Putting a flash object inside <h1> will not change anything. So, it is useless.



mmmm....Ya, these games are belongs to other sites, and those are not downloadable.
Would have to wonder where the games came from, but your coding is really a mess....
 
Joined
May 20, 2010
Messages
4,040
I will work on the website a little later today. I have to visit my mom in the hospital. I appreciate the help and I hope you can guide me to a successful site.
Of course we will. Just let us know after fixing those bugs.
 

rotarysteve

Banned
Joined
Dec 26, 2010
Messages
496
One thing missing is the Document Type declaration,,, should go the very very first thing.... The closing tag for Head is after the opening tag for Body, and I didn't see a closing tag for the body. Here is a doctype you should insert just to start.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

A lot of my pages I hand code in XHTML 1.0 Strict so I think the HTML 4.01 transitional would be the easiest for you. Didn't note any hints of Hotlinking, but siteowners can see that if they catch onto it.... I keep track of my server logs for page errors and of course hotlinking, but I have enough room in bandwith/data transfer to avoid that issue.
 
Joined
May 20, 2010
Messages
4,040
One thing missing is the Document Type declaration,,, should go the very very first thing.... The closing tag for Head is after the opening tag for Body, and I didn't see a closing tag for the body. Here is a doctype you should insert just to start.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Yes. This is needed but not mandatory, but adding them is really really good. Anyway this part is XHTML. And there is another part to come, and that is

<html xmlns="http://www.w3.org/1999/xhtml">

Anyway, if you don't understand this, then don't worry about it.
 

rotarysteve

Banned
Joined
Dec 26, 2010
Messages
496
ps, god bless for our firefighters..... Used to be in a shipboard fire-department whilst in the Navy...
 

rotarysteve

Banned
Joined
Dec 26, 2010
Messages
496
Yes. This is needed but not mandatory, but adding them is really really good. Anyway this part is XHTML. And there is another part to come, and that is

<html xmlns="http://www.w3.org/1999/xhtml">

Anyway, if you don't understand this, then don't worry about it.
True, it displays fine, if it aint broke, don't fix it...

Respects,

Steve
aks Rotary Steve
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top