vbGore Free Online RPG Engine

Revolutionizing Visual Basic ORPG Development
It is currently Sat May 18, 2013 6:33 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Arch Games new site layout
PostPosted: Thu May 14, 2009 1:29 pm 
Aleron Coder

Joined: Fri Jan 05, 2007 5:36 am
Posts: 2964
Location: Germany
all burn in hell.....
HTML....

*cries*

I get to do that crap too soon...
But first I'll code a server panel for Aleron (probably based on vbgoreSP)

I HATE PHP AND HTML
its all so primitive and b*tchy (php is a () addict -.-)


Top
 Profile  
 
 Post subject: Re: Arch Games new site layout
PostPosted: Thu May 14, 2009 1:35 pm 
Hungry Zombie

Joined: Sat Jun 05, 1976 10:06 pm
Posts: 3179
Location: Auckland, New Zealand
IT's best to make the sites html tag have the attributes in the css:

min-width Set this in pixels so that your site will always have a minimum width no matter what is in the content.
max-width Set this in EMS (EG. 80em ) this way when users resize the site it will resize nicely with text.

That's how I make sure my pages don't break on different resolutions etc, my sites are all made for a minimum resolution of 1024x768. :)

CSS:
Code:
html{
  min-width: 800px;
  max-width: 78em;
}


Top
 Profile  
 
 Post subject: Re: Arch Games new site layout
PostPosted: Thu May 21, 2009 11:20 pm 
Slave to the BB

Joined: Sat May 12, 2007 6:20 am
Posts: 3842
Location: Behind you!
Hm, well I tried to make it so I don't have to code the menubar on each page. But... IE is a retard and likes to put a crappy border and scrollbar in the window. I tried hiding them with css but to no avail.
Attachment:
IE.JPG

Attachment:
FF.JPG

Anyone know how to fix this? If not I guess I'll just code it in on each page.

Dreamweaver doesn't like me inserting pages this way either. :( It doesn't show it in the preview.


code:
index.html
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Arch Games</title>
<link href="extensions/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<object width="100%" type="text/html" data="header.html">
</object>
<br />
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>Working on it...</td>
  </tr>
</table>
</body>
</html>

header.html
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Arch Games</title>
<script src="extensions/MenuBar.js" type="text/javascript"></script>
<link href="extensions/MenuBar.css" rel="stylesheet" type="text/css" />
<link href="extensions/style.css" rel="stylesheet" type="text/css" />
</head>

<body style="overflow:hidden; border:hidden;">
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr align="center" valign="bottom">
    <td><img src="images/logo.png" alt="Logo" width="662" height="100" /></td>
  </tr>
  <tr align="center" valign="bottom">
    <td><ul id="mnubar" class="MenuBarHorizontal">
      <li><a href="#">Home</a>        </li>
      <li><a href="#">Wiki</a></li>
      <li><a href="#">Forum</a></li>
  </ul>     
  <ul id="mnubar2" class="MenuBarHorizontal">
        <li style="float:right"><a href="#">Login</a></li>
        <li style="float:right"><a href="#">Register</a></li>
    </ul></td>
  </tr>
</table>
<script type="text/javascript">
<!--
var MenuBar1 = new MenuBar("mnubar", {imgDown:"images/MenuBarDownHover.gif", imgRight:"images/MenuBarRightHover.gif"});
var MenuBar2 = new MenuBar("mnubar2", {imgDown:"images/MenuBarDownHover.gif", imgRight:"images/MenuBarRightHover.gif"});
//-->
</script>
</body>
</html>


Top
 Profile  
 
 Post subject: Re: Arch Games new site layout
PostPosted: Fri May 22, 2009 2:02 am 
baka

Joined: Tue Jul 08, 2008 12:17 am
Posts: 2304
Location: England, UK
You could try using:
Code:
<?php include("header.html"); ?>

instead. I'm not sure if that would make a difference though.


Top
 Profile  
 
 Post subject: Re: Arch Games new site layout
PostPosted: Fri May 22, 2009 6:00 am 
Slave to the BB

Joined: Tue Jul 31, 2007 8:45 am
Posts: 3273
Location: United Kingdom
As Kyori said, use PHP include.


Top
 Profile  
 
 Post subject: Re: Arch Games new site layout
PostPosted: Fri May 22, 2009 8:53 am 
Slave to the BB

Joined: Sat May 12, 2007 6:20 am
Posts: 3842
Location: Behind you!
Hm, php include makes it not show up at all. I tried it the way kyori typed it and the way it is used here. Both with the same result.


Top
 Profile  
 
 Post subject: Re: Arch Games new site layout
PostPosted: Fri May 22, 2009 8:56 am 
Slave to the BB

Joined: Tue Jul 31, 2007 8:45 am
Posts: 3273
Location: United Kingdom
This is gonna sound stupid, but you *DO* have PHP installed right?


Top
 Profile  
 
 Post subject: Re: Arch Games new site layout
PostPosted: Fri May 22, 2009 9:04 am 
Slave to the BB

Joined: Sat May 12, 2007 6:20 am
Posts: 3842
Location: Behind you!
Yes... on my machine no but I uploaded it to my webserver to check it because I knew that would happen.

EDIT: Well the problem was simply that I didn't save the page with a php extension but a html one. Thus it didn't work.


Top
 Profile  
 
 Post subject: Re: Arch Games new site layout
PostPosted: Fri May 22, 2009 12:21 pm 
Slave to the BB

Joined: Sat May 12, 2007 6:20 am
Posts: 3842
Location: Behind you!
Woo, almost finished the register page. :)

http://arch-games.com/register.php

Just trying to make the submit button have a red border and its done.

EDIT: I lied I added recaptcha.


Top
 Profile  
 
 Post subject: Re: Arch Games new site layout
PostPosted: Thu May 28, 2009 4:48 pm 
Slave to the BB

Joined: Sat May 12, 2007 6:20 am
Posts: 3842
Location: Behind you!
Lol I'm putting this off for a week because guess what my final in my dreamweaver class is?

TO MAKE A WEBSITE!

I know right who would have guessed so I stopped working on it and then I'll be allowed to work on it during school hours.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2

All times are UTC - 8 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group