Jump to content

Site size issues


johnh2009

Recommended Posts

not really a PHP thing but very annoying...

 

Ok so im making a sitre for my aikido club, im not very good when it comes to layouts but i try none the less...

 

Anyway the problem is this (any help you can give would be great):

 

My main index page loads up and its all fine and well etc etc etc then when i go to the about page i can see an obvious change in size etc but when i look in the coding on dreamweaver they seem to be exactly the same.  As i mentioned i am not very good when it comes to layout...i made this site in a table (probably a bad idea but i know nothing else)...ill post both pages:

 

About Page:

 

<!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>Billingham Aikido Club</title>

<link href="style.css" rel="stylesheet" type="text/css" />

</head>

<body bgcolor="#000000">

<p> </p>

<table width="1024" border="0" align="center">

  <tr>

    <td width="132"><img src="aikiinvert.jpg" width="71" height="142" /></td>

    <td width="746" align="center" id="fontti">Billingham Aikido Club</td>

    <td width="132" align="right"><img src="aikiinvert.jpg" width="71" height="142" /></td>

  </tr>

  <tr>

    <td colspan="3" id="font" align="center">Northfield Sportsdrome, Thames Road, Billingham, Stockton on Tees, TS22 5EG</td>

  </tr>

  <tr>

    <td colspan="3" id="font" align="center"> </td>

  </tr>

  <tr>

    <td colspan="3" id="fontt" align="center">About Aikido</td>

  </tr>

  <tr>

    <td valign="top" align="center"><div id="navigation">

<ul id="navlist">

<li><a href="index.php">Home</a></li>

<li><a href="about.php">Aikido</a></li>

            <li><a href="kogusoku.php">Kogusoku</a></li>

            <li><a href="phpbb3/index.php">Forum</a></li>

</ul></div></td>

    <td id="fontp" valign="top" align="justify"><p><strong>Aikido</strong> (<span xml:lang="ja" lang="ja">合気道</span>) is a <a href="http://en.wikipedia.org/wiki/Japanese_martial_art" title="Japanese martial art">Japanese martial art</a> developed by <a href="http://en.wikipedia.org/wiki/Morihei_Ueshiba" title="Morihei Ueshiba">Morihei Ueshiba</a> as a synthesis of his martial studies, philosophy, and religious  beliefs. Aikido is often translated as "the Way of unifying (with) <a href="http://en.wikipedia.org/wiki/Qi" title="Qi">life energy</a>"or as "the Way of harmonious spirit."Ueshiba's goal was to create an art that practitioners could use to  defend themselves while also protecting their attacker from injury.</p>

      <p>Aikido is performed by blending with the motion of the attacker and  redirecting the force of the attack rather than opposing it head-on.  This requires very little physical energy, as the <em><a href="http://en.wikipedia.org/wiki/List_of_aikidoka" title="List of aikidoka">aikidōka</a></em> (aikido practitioner) "leads" the attacker's <a href="http://en.wikipedia.org/wiki/Momentum" title="Momentum">momentum</a> using entering and turning movements. The techniques are completed with various <a href="http://en.wikipedia.org/wiki/Throw_%28grappling%29" title="Throw (grappling)">throws</a> or <a href="http://en.wikipedia.org/wiki/Joint_locks" title="Joint locks">joint locks</a>.Aikido can be categorized under the general umbrella of <a href="http://en.wikipedia.org/wiki/Grappling" title="Grappling">grappling</a> arts.</p>

    <p>Aikido derives mainly from the martial art of <a href="http://en.wikipedia.org/wiki/Dait%C5%8D-ry%C5%AB_Aiki-j%C5%ABjutsu" title="Daitō-ryū Aiki-jūjutsu">Daitō-ryū Aiki-jūjutsu</a>, but began to diverge from it in the late 1920s, partly due to Ueshiba's involvement with the <a href="http://en.wikipedia.org/wiki/Oomoto" title="Oomoto">Ōmoto-kyō</a> religion. Ueshiba's early students' documents bear the term <em>aiki-jūjutsu. </em>Many of Ueshiba's senior students have different approaches to aikido,  depending on when they studied with him. Today aikido is found all over  the world in a number of styles, with broad ranges of interpretation  and emphasis. However, they all share techniques learned from Ueshiba  and most have concern for the well-being of the attacker.</p></td>

    <td valign="top" id="fontpx" align="center"><p><strong><img src="225px-Morihei-Ueshiba.jpg" width="125" height="152"/>O'Sensei <br />

    </strong><strong>Morihei Ueshiba</strong></p>

    <p><img src="aikiinvert.jpg" alt="" width="71" height="142" /></p>

    <p> </p></td>

  </tr>

</table>

<br /><br />

<?php require 'newsbits.php'; ?>

<br /><br />

<table width="1024" border="0" align="center">

  <tr>

    <td><img src="kogusoku.jpg" width="1004" height="89" /></td>

  </tr>

</table>

 

<p> </p>

</body>

</html>

 

 

Index Page:

 

<!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>Billingham Aikido Club</title>

<link href="style.css" rel="stylesheet" type="text/css" />

</head>

 

<body bgcolor="#000000">

<p> </p>

<table width="1024" border="0" align="center">

  <tr>

    <td width="132"><img src="aikiinvert.jpg" width="71" height="142" /></td>

    <td width="746" align="center" id="fontti">Billingham Aikido Club</td>

    <td width="132" align="right"><img src="aikiinvert.jpg" alt="" width="71" height="142" /></td>

  </tr>

  <tr>

    <td colspan="3" id="font" align="center">Northfield Sportsdrome, Thames Road, Billingham, Stockton on Tees, TS22 5EG</td>

  </tr>

  <tr>

    <td colspan="3" id="fontp" align="center"> </td>

  </tr>

  <tr>

    <td colspan="3" id="fontt" align="center">About Billingham Aikido Club</td>

  </tr>

  <tr>

    <td valign="top" align="center"><div id="navigation">

<ul id="navlist">

<li><a href="#">Home</a></li>

<li><a href="about.php">Aikido</a></li>

<li><a href="kogusoku.php">Kogusoku</a></li>

<li><a href="phpbb3/index.php">Forum</a></li>

</ul></div></td>

    <td id="fontp" align="justify"><p>Billingham Aikido Club, is part of the Kogusoku Aikido Association and is ran by Sensei Rob Dowson and Sensei John Harland. </p>

      <p>The Club takes place every friday night at Northfield school, Billingham (full address above). The club is more known for being held at the Billingham Forum where we have ran for over 15years, until August 2008 when we moved due to impending redevelopment.      </p>

      <p>The home of the Kogusoku Aikido Association lies within Sunderland (North East England) and has several smaller branches throughout the region such as our club in Billingham. </p>

      <p>The Billingham Aikido Club has been part of the Kogusoku Aikido Association since it formed in April 2007.    </p>

    <p>For more information please look throughout this website, or come along to watch or join in and start training for yourself. </p>

    <p>We are currently looking for new starters and everyone is welcome and as an added bonus First Lesson is Free!</p></td>

    <td valign="top" align="center"><p><img src="aikipinv.jpg" width="122" height="121" /></p>

      <br /> <br />

    <p><img src="aiki1.jpg" width="105" height="142" /></p></td>

  </tr>

</table>

 

<br /><br />

<?php require 'newsbits.php'; ?>

<br /><br />

<table width="1024" border="0" align="center">

  <tr>

    <td><img src="kogusoku.jpg" width="1004" height="89" /></td>

  </tr>

</table>

 

 

<p> </p>

</body>

</html>

 

 

Link to comment
Share on other sites

Hi johnh2009,

 

You haven't posted your CSS code but these are the two differences I can see in the HTML code, but neither would affect the sizing of the text on the page as a whole.

 

- On line 14 on the index page you have an alt attribute (alt="") but none on the about page.

 

- On line 20 on the index page the id of the td is "fontp" but on the about page it's just "font"

 

Post the contents of your CSS for further assistance.

 

Hope this helps.

Link to comment
Share on other sites

thanks for the quick reply:)

 

here is CSS

 

@charset "utf-8";

/* CSS Document */

 

#navigation ul {

margin-left: 0;

padding-left: 0;

list-style-type: none;

float: left;

list-style-type: none;

}

#navigation a {

font-family: Tahoma;

display: block;

padding: 5px;

width: 100px;

border-bottom: 1px solid #00F;

 

}

#fontti {

font-family: Tahoma;

font-size:42px;

color:#FFF

}

#font {

font-family: Tahoma;

font-size:22px;

color:#C00

}

#fontt {

font-family: Tahoma;

font-size:22px;

color:#00F

}

#fontp {

font-family: Tahoma;

font-size:16px;

color:#FFF

}

 

#navigation a:link, #navlist a:visited {

color:#C00;

text-decoration: none;

}

 

#navigation a:hover {

background: #000 url(arrow.gif) 96% 50% no-repeat;

background-color: #000;

color:#C00;

}

-->

</style>

 

NOTE: i didnt make this just butchered something i found on the net :(

Link to comment
Share on other sites

great stuff :) any suggestions on how to fix it before i start playing with them

 

EDIT: tried changing the size of them, stil not working :(

 

That is the code for the pics btw: 

 

<td valign="top" id="fontpx" align="center"><p><strong><img src="225px-Morihei-Ueshiba.jpg" width="94" height="114"/>O'Sensei <br />

    </strong><strong>Morihei Ueshiba</strong>

    <img src="aikiinvert.jpg" alt="" width="71" height="142" />

    </td>

Link to comment
Share on other sites

indeed on the long way to go, still trying to find my feet which is not going well at all.

 

Its all very daunting and i feel very inferior in the design part...struggling plenty id have to say, i wanted this to be a very user friendly site but finding it hard to write the code from memory

Link to comment
Share on other sites

Don't bother looking at the site in Dreamweaver - dreamweaver is not a browser, and does not use the same rendering engine as any browser, so however it looks in dreamweaver is pretty much irrelevant to the real world. Do your code in Dreameweaver, then look at it in a browser - thats the only method that works properly.

Link to comment
Share on other sites

Don't bother looking at the site in Dreamweaver - dreamweaver is not a browser, and does not use the same rendering engine as any browser, so however it looks in dreamweaver is pretty much irrelevant to the real world. Do your code in Dreameweaver, then look at it in a browser - thats the only method that works properly.

 

this is something i never knew :) ill certainly do this for here on.  Is there any preference between IE and firefox? i have the ability to use both but is there one i should more target for than another

Link to comment
Share on other sites

You should make your site work in both.

 

The problem is that IE renders code different than any other browser. All the other browsers render their code according to standards - IE doesn't follow their standards. Its a big headache. So the best thing to do is code your site in firefox, then adjust it to work in IE as well. This is easier said than done for a beginner, but it's pretty much essential.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.