Jump to content

Question about HTML? or maybe CSS


Grandpa

Recommended Posts

Ok, so I'm looking to put links along the left side of my website Jswano.com under the navigation, but since all my pages have the same set up, every time i add a link, ill have to run through all the pages and add it to each html page on my domain. There must be a simpler way to do this so I can have the list of links in an external file or something? I looked it up, but couldnt really find much (or much that i understood). Anyway, my lack of experience brings me here. Any help?

Link to comment
Share on other sites

This forum is supported by the 12ozProphet Shop, so go buy a shirt and help support!
This forum is brought to you by the 12ozProphet Shop.
This forum is brought to you by the 12oz Shop.

it has to be a php file or it wont get parsed. rename your main document so it's .php instead of .html and rename your include file as myfile.php

 

keep in mind that the code in myfile.php will need the correct syntax or it'll get parsed incorrectly and most likely show up blank on the main page.

 

post it here and i'll write the code for you if i'm around.

Link to comment
Share on other sites

Here's my template style for my site, i saved this as a php file specifically templateshit.php

 

 

 

<html>

<head>

<title>J-Swano Dot Com</title>

<meta name="description" content="J-swano Dot Com">

<meta name="keywords"

content="Hilariousness">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

 

 

<style>

BODY {SCROLLBAR-FACE-COLOR: #000000; SCROLLBAR-HIGHLIGHT-COLOR: #000000; SCROLLBAR-SHADOW-COLOR: #333333; SCROLLBAR-3DLIGHT-COLOR: #FFFFFFF; SCROLLBAR-ARROW-COLOR: #CCCCCC; SCROLLBAR-TRACK-COLOR: #7D7773; SCROLLBAR-DARKSHADOW-COLOR: #999999; }

</style>

 

</head>

 

 

<body bgcolor="#000000" text="#CCCCCC" link="#ffffff" vlink="#FFFFFF" alink="#990000" topmargin=0 leftmargin=0 MARGINHEIGHT=0 MARGINWIDTH=0>

 

<center>

<table width="770" border="1" cellspacing="0" cellpadding="0" bordercolor=#242424>

<tr>

<td colspan="3">topbar.jpg</td>

</tr>

 

 

<tr>

<td width="130" valign="top">

 

<table border=0 width=100% cellpadding=10 cellspacing=0><tr><td valign=top>

<font color="#A4A4A4"><h3>Menu</h3></font>

<font size="2" face="Verdana, Arial, Helvetica, sans-serif">

Home

 

 

 

 

Who Are You?

 

 

 

The Crew

 

 

 

The Chronicles

 

 

 

Infamous TFFC

 

</font>

</td></tr></table> </td>

 

 

<td width="500" valign="top">

<center><font color="#A4A4A4"><h2>Template</h2></font>

 

 

</center>

<table border=0 width=100% cellpadding=20 cellspacing=0><tr><td valign=top>

 

 

 

<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Template

 

 

</P></FONT></FONT></FONT></FONT>

</td></tr></table>

</td>

 

 

<td width="140" valign="top">

<table border=0 width=100% cellpadding=10 cellspacing=0><tr><td valign=top>

 

<font color="#A4A4A4"><H3>Latest News</H3></FONT></center>

 

 

 

<center>Click Here for the Most Recent Updates</center>

 

 

<font size="1" face="Verdana, Arial, Helvetica, sans-serif"></p>

 

 

 

 

 

ipod.jpg

Anyone who wants a CHEAP iPod, with no shipping or tax, Email Jdoobz@jswano.com His father works for Apple Computers, and he'll get back to you with details.</center>

 

</td></tr></table>

</td>

</tr>

<tr>

<td colspan="3" height=25 valign=middle>

<center>

<font face="Arial, Helvetica, sans-serif" size="1">Questions? Comments? Shut the fuck up. Or you can

 

 

Contact Me: J-Swano

</a></font></td>

</tr>

</table>

 

</body>

</html>

 

 

 

 

 

Now I'm looking to add a changable lisk of link trades UNDER the navigation menu. I just made a php template with a black background and put some random links in it to serve as a template for that too...its saves as external.php :

 

 

 

<?php

 

<html>

<head>

<title>J-Swano Dot Com</title>

<meta name="description" content="J-swano Dot Com">

<meta name="keywords"

content="whatever">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

 

 

<style>

BODY {SCROLLBAR-FACE-COLOR: #000000; SCROLLBAR-HIGHLIGHT-COLOR: #000000; SCROLLBAR-SHADOW-COLOR: #333333; SCROLLBAR-3DLIGHT-COLOR: #FFFFFFF; SCROLLBAR-ARROW-COLOR: #CCCCCC; SCROLLBAR-TRACK-COLOR: #7D7773; SCROLLBAR-DARKSHADOW-COLOR: #999999; }

</style>

 

</head>

 

 

<body bgcolor="#000000" text="#CCCCCC" link="#ffffff" vlink="#FFFFFF" alink="#990000" topmargin=0 leftmargin=0 MARGINHEIGHT=0 MARGINWIDTH=0>

<font size="2" face="Verdana, Arial, Helvetica, sans-serif">

aol

 

 

 

 

12ozprophet

 

 

 

</body>

</html>

 

 

?>

Link to comment
Share on other sites

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.   Paste as plain text instead

  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...