Gamingforce Interactive Forums
85239 35211

Go Back   Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk
Register FAQ GFWiki Community Donate Arcade ChocoJournal Calendar

Notices

Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis.
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).


Website coding crap that I don't know.
Reply
 
Thread Tools
IdleChill
The IceGator


Member 60

Level 20.52

Mar 2006


Reply With Quote
Old Jul 3, 2006, 05:25 PM Local time: Jul 3, 2006, 05:25 PM #1 of 21
Website coding crap that I don't know.

Firstly, I made this site a year ago for a friend who's going into racing, whatever. I haven't done crap since.

http://www.halmartin.net/

Now, firstly, the site won't open in I.E. for me. Is it doing that for anyone else?

Secondly, how do I get this to go all the way to the bottom?



Code:
<php>
<head>
<title>Hal Martin Motorsports</title>
<link rel="stylesheet" href="styles.css" type="text/css">
</head>

<body bgcolor="#000000" topmargin="0" bottommargin="0">

<div align="center"><a href="cutenews"><img src="images/logo2.jpg" border="0" alt="Hal Martin Motorsports [cutenews login]"></a></div>
<table align="center" width="700" background="images/bg.jpg" border="0" cellspacing="0" cellpadding="0">

<tr><td align="center">
<br><a href="/forums/" target="_new">Check out the forum!</a>
</td></tr>

<tr><td>
<table align="center" width="640">
<tr valign="top">
<td width="125">
<?php
 include("menu.php");
?> 
</td>
<td width="515" align="center">
<br><br>
<?php
 $number = "5";
 include("cutenews/show_news.php");
?> 
</td>
</tr>
</table>
</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
<tr></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</php>


Jam it back in, in the dark.
Sir VG
Banned


Member 49

Level 25.67

Mar 2006


Reply With Quote
Old Jul 3, 2006, 05:47 PM Local time: Jul 3, 2006, 04:47 PM #2 of 21
HAHA. It actually loads better in IE than Firefox.

Loads perfectly for me. Including going all the way to the bottom of the page with no gap. (I use Maxthon, which uses IE's rendering engine)

There's nowhere I can't reach.
Lee-chan
~キラキラ・マジック~


Member 1899

Level 15.73

Mar 2006


Reply With Quote
Old Jul 3, 2006, 06:10 PM #3 of 21
Try this:

Code:
<php>
<head>
<title>Hal Martin Motorsports</title>
<link rel="stylesheet" href="styles.css" type="text/css">
</head>

<body bgcolor="#000000" topmargin="0" bottommargin="0">

<div align="center"><a href="cutenews"><img src="images/logo2.jpg" border="0" alt="Hal Martin Motorsports [cutenews login]"></a></div>
<table align="center" width="700" height="100%" background="images/bg.jpg" border="0" cellspacing="0" cellpadding="0">

<tr><td align="center">
<br><a href="/forums/" target="_new">Check out the forum!</a>
</td></tr>

<tr><td>
<table align="center" width="640">
<tr valign="top">
<td width="125">
<?php
 include("menu.php");
?> 
</td>
<td width="515" align="center">
<br><br>
<?php
 $number = "5";
 include("cutenews/show_news.php");
?> 
</td>
</tr>
</table>
</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
<tr></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</php>
It's a matter of placing a "height" attribute in there somewhere, it's only a matter of where. I think I put it in the right place, though.

This thing is sticky, and I don't like it. I don't appreciate it.
IdleChill
The IceGator


Member 60

Level 20.52

Mar 2006


Reply With Quote
Old Jul 3, 2006, 06:22 PM Local time: Jul 3, 2006, 06:22 PM #4 of 21
Originally Posted by Lee-chan
Try this:

Code:
<php>
<head>
<title>Hal Martin Motorsports</title>
<link rel="stylesheet" href="styles.css" type="text/css">
</head>

<body bgcolor="#000000" topmargin="0" bottommargin="0">

<div align="center"><a href="cutenews"><img src="images/logo2.jpg" border="0" alt="Hal Martin Motorsports [cutenews login]"></a></div>
<table align="center" width="700" height="100%" background="images/bg.jpg" border="0" cellspacing="0" cellpadding="0">

<tr><td align="center">
<br><a href="/forums/" target="_new">Check out the forum!</a>
</td></tr>

<tr><td>
<table align="center" width="640">
<tr valign="top">
<td width="125">
<?php
 include("menu.php");
?> 
</td>
<td width="515" align="center">
<br><br>
<?php
 $number = "5";
 include("cutenews/show_news.php");
?> 
</td>
</tr>
</table>
</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
<tr></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</php>
It's a matter of placing a "height" attribute in there somewhere, it's only a matter of where. I think I put it in the right place, though.
Hm, while that makes it stretch all the way to the bottom, it makes my include (menu.php) and (cutenews.php) also come down to like the middle of the page.

Check the site now and you'll see what I mean.

http://www.halmartin.net

Double Post:
Also, VG, what resolution are you running?

I am a dolphin, do you want me on your body?

Last edited by IdleChill; Jul 3, 2006 at 06:35 PM. Reason: Automerged additional post.
Lee-chan
~キラキラ・マジック~


Member 1899

Level 15.73

Mar 2006


Reply With Quote
Old Jul 3, 2006, 06:46 PM #5 of 21
Originally Posted by IdleChill
Hm, while that makes it stretch all the way to the bottom, it makes my include (menu.php) and (cutenews.php) also come down to like the middle of the page.
Ah, gotcha. Tables automatically center things -- d'oh. Maybe this'll work:

Code:
<php>
<head>
<title>Hal Martin Motorsports</title>
<link rel="stylesheet" href="styles.css" type="text/css">
</head>

<body bgcolor="#000000" topmargin="0" bottommargin="0">

<div align="center"><a href="cutenews"><img src="images/logo2.jpg" border="0" alt="Hal Martin Motorsports [cutenews login]"></a></div>
<table align="center" width="700" height="100%" valign="top" background="images/bg.jpg" border="0" cellspacing="0" cellpadding="0">

<tr><td align="center">
<br><a href="/forums/" target="_new">Check out the forum!</a>
</td></tr>

<tr><td>
<table align="center" width="640">
<tr valign="top">
<td width="125">
<?php
 include("menu.php");
?> 
</td>
<td width="515" align="center">
<br><br>
<?php
 $number = "5";
 include("cutenews/show_news.php");
?> 
</td>
</tr>
</table>
</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
<tr></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</php>


I was speaking idiomatically.
Sir VG
Banned


Member 49

Level 25.67

Mar 2006


Reply With Quote
Old Jul 3, 2006, 06:47 PM Local time: Jul 3, 2006, 05:47 PM #6 of 21
Originally Posted by IdleChill
Also, VG, what resolution are you running?
1024x768

What kind of toxic man-thing is happening now?
IdleChill
The IceGator


Member 60

Level 20.52

Mar 2006


Reply With Quote
Old Jul 3, 2006, 06:53 PM Local time: Jul 3, 2006, 06:53 PM #7 of 21
Originally Posted by Lee-chan
Ah, gotcha. Tables automatically center things -- d'oh. Maybe this'll work:

Code:
<php>
<head>
<title>Hal Martin Motorsports</title>
<link rel="stylesheet" href="styles.css" type="text/css">
</head>

<body bgcolor="#000000" topmargin="0" bottommargin="0">

<div align="center"><a href="cutenews"><img src="images/logo2.jpg" border="0" alt="Hal Martin Motorsports [cutenews login]"></a></div>
<table align="center" width="700" height="100%" valign="top" background="images/bg.jpg" border="0" cellspacing="0" cellpadding="0">

<tr><td align="center">
<br><a href="/forums/" target="_new">Check out the forum!</a>
</td></tr>

<tr><td>
<table align="center" width="640">
<tr valign="top">
<td width="125">
<?php
 include("menu.php");
?> 
</td>
<td width="515" align="center">
<br><br>
<?php
 $number = "5";
 include("cutenews/show_news.php");
?> 
</td>
</tr>
</table>
</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
<tr></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</php>

Hm, still not working.

VG, mmkay...because I know if I use something at a lower res, it'll appear to touch the bottom of the browser.

FELIPE NO
Lee-chan
~キラキラ・マジック~


Member 1899

Level 15.73

Mar 2006


Reply With Quote
Old Jul 3, 2006, 06:58 PM #8 of 21
Put the things in the wrong place... my bad. >_> Hopefully, it's okay now.

Code:
<php>
<head>
<title>Hal Martin Motorsports</title>
<link rel="stylesheet" href="styles.css" type="text/css">
</head>

<body bgcolor="#000000" topmargin="0" bottommargin="0">

<div align="center"><a href="cutenews"><img src="http://www.gamingforce.com/forums/images/logo2.jpg" border="0" alt="Hal Martin Motorsports [cutenews login]"></a></div>
<table align="center" width="700" height="100%"  background="http://www.gamingforce.com/forums/images/bg.jpg" border="0" cellspacing="0" cellpadding="0">

<tr><td align="center">
<br><a href="/forums/" target="_new">Check out the forum!</a>
</td></tr>

<tr valign="top"><td>
<table align="center" width="640">
<tr valign="top">
<td width="125">
<?php
 include("menu.php");
?> 
</td>
<td width="515" align="center" valign="top">
<br><br>
<?php
 $number = "5";
 include("cutenews/show_news.php");
?> 
</td>
</tr>
</table>
</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
<tr></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</php>


What, you don't want my bikini-clad body?
IdleChill
The IceGator


Member 60

Level 20.52

Mar 2006


Reply With Quote
Old Jul 3, 2006, 07:02 PM Local time: Jul 3, 2006, 07:02 PM #9 of 21
Hurrrray. Lee-chan, you won the internet!

How ya doing, buddy?
Stealth
Indigo 1


Member 207

Level 22.37

Mar 2006


Reply With Quote
Old Jul 3, 2006, 07:25 PM Local time: Jul 3, 2006, 06:25 PM #10 of 21
Firstly, GET RID OF THOSE <PHP> </PHP> tags at the top and bottom. They should be <HTML> and </HTML> respectively.

There's nowhere I can't reach.



IdleChill
The IceGator


Member 60

Level 20.52

Mar 2006


Reply With Quote
Old Jul 3, 2006, 07:29 PM Local time: Jul 3, 2006, 07:29 PM #11 of 21
what difference does that make, stealth?

This thing is sticky, and I don't like it. I don't appreciate it.
Sir VG
Banned


Member 49

Level 25.67

Mar 2006


Reply With Quote
Old Jul 3, 2006, 08:55 PM Local time: Jul 3, 2006, 07:55 PM #12 of 21
Originally Posted by Stealth
Firstly, GET RID OF THOSE <PHP> </PHP> tags at the top and bottom. They should be <HTML> and </HTML> respectively.
You actually don't even need <HTML></HTML> at all. Hell, I don't think you even need <BODY></BODY> unless you're using a header.

I am a dolphin, do you want me on your body?
Magic
Good Chocobo


Member 492

Level 15.73

Mar 2006


Reply With Quote
Old Jul 3, 2006, 11:28 PM #13 of 21
Originally Posted by IdleChill
what difference does that make, stealth?
Because you're not coding PHP, you're writing HTML. And as far as I know there is no <php> tag in HTML.

I was speaking idiomatically.
Little Shithead
prettiest miku


Member 90

Level 33.52

Mar 2006


Reply With Quote
Old Jul 3, 2006, 11:34 PM #14 of 21
Originally Posted by Sir VG
You actually don't even need <HTML></HTML> at all. Hell, I don't think you even need <BODY></BODY> unless you're using a header.
There's a whole bunch of fucking shit you could exclude, while you're at it!

And then it will have a bazillion errors in any W3C validations and you an be guarenteed it'll only work in IE! But you don't care about that, now do you?

In fact, I'm amazed it even looks the same between IE and Firefox.

What kind of toxic man-thing is happening now?

Last edited by Little Shithead; Jul 3, 2006 at 11:39 PM.
Sir VG
Banned


Member 49

Level 25.67

Mar 2006


Reply With Quote
Old Jul 4, 2006, 12:00 AM Local time: Jul 3, 2006, 11:00 PM #15 of 21
Originally Posted by Merv Burger
There's a whole bunch of fucking shit you could exclude, while you're at it!

And then it will have a bazillion errors in any W3C validations and you an be guarenteed it'll only work in IE! But you don't care about that, now do you?

In fact, I'm amazed it even looks the same between IE and Firefox.
If your site were getting a good portion (or a semi-good portion) of its visitors from Firefox, Opera, etc users, it would make a difference. Though if all those counted for 0.000000000000000001%, then I'm sure webmaster are less likely to care.

Or if nothing else, just show a message to Firefox users saying that they suck and go use IE. Which there are some sites I use at work that require you to use IE. Why, I don't know.

FELIPE NO
Little Shithead
prettiest miku


Member 90

Level 33.52

Mar 2006


Reply With Quote
Old Jul 4, 2006, 12:38 AM #16 of 21
Originally Posted by Sir VG
Or if nothing else, just show a message to Firefox users saying that they suck and go use IE. Which there are some sites I use at work that require you to use IE. Why, I don't know.
To me, that's a great way to lose visitors.

I don't care what browser I'm on, to be told that the webmaster is such a fucking zealot that they wish to exclude me from browsing their website, which will load regardless of the browser, or chastise me for not using what they wish everyone used, the webmaster can just fuck themself and I figure the website is most likely not worth my time browsing.

Some websites have legitimate reasons for browser exclusion, most don't.

Or, this image summarizes my thoughts about that:


What, you don't want my bikini-clad body?
Arainach
Sensors indicate an Ancient Civilization


Member 1200

Level 26.94

Mar 2006


Reply With Quote
Old Jul 4, 2006, 02:03 AM #17 of 21
Merv, have you ever developed websites? IE is a fucking NIGHTMARE. Neither 6 nor the 7 Preview make even a half-assed attempt at standards compliance. We get that issue at work all the time - it works flawlessly in Firefox, Opera, Safari, links, whatever.....and IE blows up. If we can get it to work in IE6, it probably won't in 5 or 7. It's like God's punishment for using the Internet or something.

Jam it back in, in the dark.
Sir VG
Banned


Member 49

Level 25.67

Mar 2006


Reply With Quote
Old Jul 4, 2006, 02:24 AM Local time: Jul 4, 2006, 01:24 AM #18 of 21
Merv, at least their message is better than the one I get from my work's site. Granted, some of that is not true (with Maxthon, I can use IE's rendering engine and have tabbed browsing and block popup windows though I know they're making a reference to IE directly, which even then IE6 has a popup blocker, as sucky as it may be). All ours says is to "Use IE 5.0 or newer. If you don't have it, you sux0r lolol" (Ok, not literally.)

And I get to see statistics on sites I run of the browsers, resolutions, etc of what people run. Firefox doesn't make up a huge majority of hits. I almost have more people using Safari than Firefox (what the hell is Safari anyways...). Most people are using Windows XP and IE. Firefox is the Mac of browsing at this point and I don't see it overwhelmingly taking over IE anytime soon because people just use IE because:

1) It's already installed.
2) They're ignorant to Firefox, Opera, etc
3) They may be limited by their bank, work place, etc.

And personally, I don't program sites with the idea of making it compliant with Firefox, Opera, etc. Granted I don't do any fancy PHP, MySQL, or similiar crap, so it wouldn't really matter anyways...it's old school HTML (with a little Javascript) which if those browsers couldn't render, they would be the total suckfest.

There's nowhere I can't reach.
galen
lost control then i got it back now my position has changed


Member 655

Level 25.35

Mar 2006


Reply With Quote
Old Jul 4, 2006, 03:15 AM Local time: Jul 4, 2006, 01:15 AM #19 of 21
Now that you've fixed the height problems with your site, it's time to fix that color scheme.

This thing is sticky, and I don't like it. I don't appreciate it.
Render
River Chocobo


Member 4283

Level 25.60

Mar 2006


Reply With Quote
Old Jul 4, 2006, 03:36 AM Local time: Jul 4, 2006, 01:36 AM #20 of 21
Originally Posted by Sir VG
Merv, at least their message is better than the one I get from my work's site. Granted, some of that is not true (with Maxthon, I can use IE's rendering engine and have tabbed browsing and block popup windows though I know they're making a reference to IE directly, which even then IE6 has a popup blocker, as sucky as it may be). All ours says is to "Use IE 5.0 or newer. If you don't have it, you sux0r lolol" (Ok, not literally.)

And I get to see statistics on sites I run of the browsers, resolutions, etc of what people run. Firefox doesn't make up a huge majority of hits. I almost have more people using Safari than Firefox (what the hell is Safari anyways...). Most people are using Windows XP and IE. Firefox is the Mac of browsing at this point and I don't see it overwhelmingly taking over IE anytime soon because people just use IE because:

1) It's already installed.
2) They're ignorant to Firefox, Opera, etc
3) They may be limited by their bank, work place, etc.

And personally, I don't program sites with the idea of making it compliant with Firefox, Opera, etc. Granted I don't do any fancy PHP, MySQL, or similiar crap, so it wouldn't really matter anyways...it's old school HTML (with a little Javascript) which if those browsers couldn't render, they would be the total suckfest.
Unless you're designing these sites as a service for other people, it doesn't really matter. A site doesn't necessarily need to be coded to W3C standards, but it needs to be coded properly.

That's fact, but my opinion is that if you aren't conforming to at least HTML 4.01 or XHTML 1.0 you shouldn't be coding websites at all. Unfortunately, Microsoft has unleashed their ungodly spawn unto the internet, making it difficult to make a site look the same in other browsers. That's where W3C comes in so we don't all have one fucked up internet gangbang of messy, non-conforming pages. Getting a page to validate isn't fucking rocket surgery. =D

Most amazing jew boots
IdleChill
The IceGator


Member 60

Level 20.52

Mar 2006


Reply With Quote
Old Jul 6, 2006, 05:26 PM Local time: Jul 6, 2006, 05:26 PM #21 of 21
Originally Posted by galen
Now that you've fixed the height problems with your site, it's time to fix that color scheme.
Well, that's what he wants. :/

Also, lol in this thread.

How ya doing, buddy?
Reply


Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk > Website coding crap that I don't know.

Forum Jump


All times are GMT -5. The time now is 05:33 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.