Jump to content

help please school project


xcoderx

Recommended Posts

 

next time learn html.

<html>

<head>

<title>This is where the title of the page goes teacher.</title>

</head>

<table border="4" width="100%">
<tr>
<td align='center'>
my logo
</td>
<td align='center'>
<h1>This is the header of the page teacher!</h1>
</td>

<table>

<table border="4" width="100%">
<tr>
<td align="center">
link 1
<br>
link 2
<br>
link 3
<br>
link 4
<br>
link 5
</td>
<td valign="top" align="center">
content
</td>
</tr>
</table>

<table border="4" width="100%"><td align="center"> link 1 </td><td align="center"> link 2 </td><td> link 3 </td><td align="center"> link 4 </td><td align="center"> link 5</td></table>

</html>

Link to comment
Share on other sites

ps. there nothing wrong with good old tables....

 

unless you want to learn css and not use tables upto the user mate....

 

 

 

This might work better mate.......

 

not tested, but the idea is, when a link is pressed the saying off the array is shown in the content part of the page,

 

 

 

<html>

<head>

<title>This is where the title of the page goes teacher.</title>

</head>

<table border="4" width="100%">
<tr>
<td align='center'>
my logo
</td>
<td align='center'>
<h1>This is the header of the page teacher!</h1>
</td>
<table>

<table border="4" width="100%">
<tr>
<td align="center">
<?php
for($i=1; $i<6; $i++){
echo"<a href='{$_SEVER['PHP_SELF']}?link=$i'>link $i</a>
<br />";
}
?>
</td>
<td valign="top" align="center">
<?php
$content_info=array(1=>"Hi there teacher, teach the children correctly please!",
                    "Teacher you no that frames in html are no good behave!",
                    "Teacher i sugest you also read the html manual agin!",
                    "Teacher please show the children html properly",
                    "Html/css is the way foeward teacher!");

                    
               foreach($content_info as $key=>$val){

                    	
if($_GET['link']==$key){
                    		
               
	echo $val[$key];

}

}


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


<table border="4" width="100%">
<tr>
<?php for($i=1; $i<6; $i++){
echo"<td align='center'><a href='{$_SEVER['PHP_SELF']}?link=$i'>link $i</a>\n</td>";
}
?>
</td></tr></table>
</html>

 

Crayon Violent what you saying that a css div is better then a table ok grate....

Link to comment
Share on other sites

did it  ;D

 

<html>

<frameset rows="40%,40%,20%">

<frame src="frame_a.htm" noresize="noresize" scrolling="no">

<frameset cols="25%,75%">
<frame src="frame_b.htm" noresize="noresize" scrolling="no">
<frame src="frame_c.htm" noresize="noresize" scrolling="no">
</frameset>

<frame src="frame_d.htm" noresize="noresize" scrolling="no">
</frameset>

</frameset>

</html>

Link to comment
Share on other sites

Sorry but frames are no good.....

 

The only time i use frames are on a intranet setup.

 

Frames don't work properly for live web sites.(all the time your learning frames your be better learning tables and css)) and earn more money, in the world of web design.

 

 

Most meaning nearly all,Search engines got terrible problems indexing frames, in there search engine. 

 

please take my advice ok.

 

There a lot of study/work to be a web designer, then a programmer, there loads to learn but there's also short cuts if you lesion to those that no. and frames are a no no no to any web designer.

 

What you have just created in the world of web design, is a pile of problematic crap sorry.

 

Sorry for the late reply.

 

as your learning html/css also please learn the infrastructure of seo.

 

also please don't let a teacher tell you that xhtml is better then html another stupid assumption from most teachers.

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.