Exploding Garrmondo Weiner Interactive Swiss Army Penis

Exploding Garrmondo Weiner Interactive Swiss Army Penis (http://www.gamingforce.org/forums/index.php)
-   Help Desk (http://www.gamingforce.org/forums/forumdisplay.php?f=36)
-   -   Website coding crap that I don't know. (http://www.gamingforce.org/forums/showthread.php?t=8581)

IdleChill Jul 3, 2006 05:25 PM

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?

http://img118.imageshack.us/img118/9784/ugh5he.jpg

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>


Sir VG Jul 3, 2006 05:47 PM

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)

Lee-chan Jul 3, 2006 06:10 PM

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.

IdleChill Jul 3, 2006 06:22 PM

Quote:

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?

Lee-chan Jul 3, 2006 06:46 PM

Quote:

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>


Sir VG Jul 3, 2006 06:47 PM

Quote:

Originally Posted by IdleChill
Also, VG, what resolution are you running?

1024x768

IdleChill Jul 3, 2006 06:53 PM

Quote:

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.

Lee-chan Jul 3, 2006 06:58 PM

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>


IdleChill Jul 3, 2006 07:02 PM

Hurrrray. Lee-chan, you won the internet!

Stealth Jul 3, 2006 07:25 PM

Firstly, GET RID OF THOSE <PHP> </PHP> tags at the top and bottom. They should be <HTML> and </HTML> respectively.

IdleChill Jul 3, 2006 07:29 PM

what difference does that make, stealth?

Sir VG Jul 3, 2006 08:55 PM

Quote:

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.

Magic Jul 3, 2006 11:28 PM

Quote:

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.

Little Shithead Jul 3, 2006 11:34 PM

Quote:

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.

Sir VG Jul 4, 2006 12:00 AM

Quote:

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.

Little Shithead Jul 4, 2006 12:38 AM

Quote:

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:
http://imagesocket.com/images/rant2079b.gif

Arainach Jul 4, 2006 02:03 AM

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.

Sir VG Jul 4, 2006 02:24 AM

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.

galen Jul 4, 2006 03:15 AM

Now that you've fixed the height problems with your site, it's time to fix that color scheme.

Render Jul 4, 2006 03:36 AM

Quote:

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

IdleChill Jul 6, 2006 05:26 PM

Quote:

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.


All times are GMT -5. The time now is 07:24 AM.

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