- The large images on the top of the page are terrible. (a) They aren't good for Dial-up / some DSL users; (b) You can get the same effect by using <h1></h1> tags. See note (a).
- Again on the images: You ought to actually /write/ the text out, as opposed to showing it in images (again, not good for dial-up / some DSL users; also, if you want to minimise your bandwith use, then an all-images site is not a good option). See note (b).
- Java Chat (well, Java in general) is extremely disgusting. Enough said.
- The "random image" isn't really random. See note (c).
Note a)-
Put this in the <head> </head> section of all your pages:
<link href="style.css" type="text/css" rel="stylesheet" />
|
And create a file named "style.css", and put the following in it:
/* CSS Document */ /* Style.css */ h1#navlink { color: #000000; }
|
(You can replace #000000 with the HEX equivilant of whatever colour you desire.)
And when 'coding' your navigation bar, use this format:
<h1 id="navlink"><a href="./default.html">Default Page</a></h1>
|
Note b)-
You can use CSS (Cascading Style Sheets) to style your page. Like so:
/* CSS Document */ /* Style.css */ #sometext { /* Attributes here */ color: #FFF; }
|
And for the text you desire to be styled, one would use the following format:
<p id="sometext"> (This text will appear as red) </p>
|
Note c) -
If you compiled Apache with the PHP Module, then you can use the following script:
<?php $num = mt_rand(1,2); switch($num) { case '1': $img = "<img =\"image1.png\" alt=\"This is a random image!\" />"; break; case '2': $img = "<img =\"image1.png\" alt=\"This is a random image!\" />"; break; } ?>
|