Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 15-12-2005, 01:55 PM   #1
punch999
The true Shadow President
 
punch999's Avatar

 
Join Date: Sep 2004
Location: Celebration, United States
Posts: 1,195
Default

Hey! I need to learn how to make menu's on the side of a page Kind of like this except just simple and just make it on the side of the screen. Can someone instruct me on it. I know that its just a table but can someone instruct me on how to do it.

Thank You this is quite important and The last time I really used HTML was in fifth grade. Thanks!!
punch999 is offline                         Send a private message to punch999
Reply With Quote
Old 15-12-2005, 03:50 PM   #2
Rogue
10 GOSUB Abandonia
20 GOTO 10
 
Rogue's Avatar

 
Join Date: Nov 2004
Location: Afrim, Albania
Posts: 2,113
Default

Use tables, and place links in it, just as Kosta did it here.

You can view source of this (and any other pages) and learn from there. (view >> page source in FireFox or Ctrl+U)
Rogue is offline                         Send a private message to Rogue
Reply With Quote
Old 15-12-2005, 09:02 PM   #3
punch999
The true Shadow President
 
punch999's Avatar

 
Join Date: Sep 2004
Location: Celebration, United States
Posts: 1,195
Default

So what do you mean like...



<left>
//insert table code here
</left>

?
punch999 is offline                         Send a private message to punch999
Reply With Quote
Old 16-12-2005, 02:58 AM   #4
Rogue
10 GOSUB Abandonia
20 GOTO 10
 
Rogue's Avatar

 
Join Date: Nov 2004
Location: Afrim, Albania
Posts: 2,113
Default

No,
what I meant is that you have to use this:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>

Using tables and tables inside those tables you have to format your page.

I don't have much time to write more about it.

Here is a code for menu you posted above:

Code:
<td><table width="100%" *border="0" cellpadding="0" cellspacing="1" bgcolor="#FDF6F5">
<tr>
<td bgcolor="#AD0000"><img src="scripts/image.php?text=Site&h=14&padding_top=10" height="14"></td>
</tr>
<tr>
<td bgcolor="#AD0000"><table width="100%" *border="0" cellpadding="0" cellspacing="1" bgcolor="#AD0000">
<tr>
<td bgcolor="#FFFFFF" style="padding-top:2px; padding-bottom:2px; ">

<div id="myMenu"><a href="/index.php">&curren; News</a></div>
<div id="myMenu"><a href="/main.php?nav=archive">&curren; Archives</a></div>
<div id="myMenu"><a href="/main.php?nav=mailinglist">&curren; Mailinglist</a></div>
<div id="myMenu"><a href="/main.php?nav=faq">&curren; FAQ</a></div>
<div id="myMenu"><a href="/main.php?nav=awlist">&curren; Oldwarez list</a></div>
<div id="myMenu"><a href="http://www.abandonia.com/forum/" target="_blank">&curren; Forum</a></div> * *

<div id="myMenu"><a href="/main.php?nav=rss">&curren; RSS Feed</a></div>
<div id="myMenu"><a href="/main.php?nav=gpp">&curren; V.I.P. Lounge</a></div>
<div id="myMenu"><a href="/main.php?nav=press">&curren; In the press</a></div>
<div id="myMenu"><a href="/main.php?nav=crew">&curren; Crew</a></div>
<div id="myMenu"><a href="/main.php?nav=contact">&curren; Contact us</a></div></td>
</tr>
</table></td>
Place this table inside the main table.
Rogue is offline                         Send a private message to Rogue
Reply With Quote
Old 16-12-2005, 07:52 AM   #5
Reup
10 GOSUB Abandonia
20 GOTO 10
 
Reup's Avatar

 
Join Date: Dec 2004
Location: Eindhoven, Netherlands
Posts: 1,508
Default

Keep in mind that using tables for layout is considered an ill design practice (yeah I know, it's very hard to without them, but it CAN be done). You could very well achieve the same effect by using a decent style-sheet. The menu-box can be a <div></div>, the menu list a simplewhere the list-items have a special bullet:

Code:
li {
 list-style-image: url(blueball.gif);
list-style-type: circle
}
You'd have to make a seperation between header and body part of the box as well, in order to change the font and background color. Invest in learing CSS2 k:
Reup is offline                         Send a private message to Reup
Reply With Quote
Old 16-12-2005, 10:13 AM   #6
Rogue
10 GOSUB Abandonia
20 GOTO 10
 
Rogue's Avatar

 
Join Date: Nov 2004
Location: Afrim, Albania
Posts: 2,113
Default

Quote:
Originally posted by Reup@Dec 16 2005, 03:52 AM
Keep in mind that using tables for layout is considered an ill design practice (yeah I know, it's very hard to without them, but it CAN be done).
I'm mostly using PHP, so the tables provide me with easy and well usable layout design. And most importantly, they work with any browser I've tried.
Rogue is offline                         Send a private message to Rogue
Reply With Quote
Old 16-12-2005, 09:07 PM   #7
plix
Game freak

 
Join Date: Oct 2005
Location: ,
Posts: 113
Default

Quote:
Originally posted by Anubis@Dec 16 2005, 06:13 AM
I'm mostly using PHP, so the tables provide me with easy and well usable layout design. And most importantly, they work with any browser I've tried.
PHP has nothing to do with it. Semantic markup (i.e. "not using tables for layout" among other things) is suggested because it degrades properly, which is good for things like screen readers, mobile browsers, etc. It's also a hell of a lot more bandwidth-friendly, it cleans up the markup a lot, and it's easier to restyle later without having to touch the markup. Things like CSS Zen Garden show the real capabilities of CSS and it's hard not to appreciate how much more elegant it is.
plix is offline                         Send a private message to plix
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Html Calendar Nick Programming 2 15-10-2006 07:54 AM
More Html Help Bobbin Threadbare Tech Corner 29 14-03-2006 02:33 PM
Html Scroll To: Bobbin Threadbare Tech Corner 2 28-02-2006 05:48 AM
Html Question Kon-Tiki Programming 21 19-02-2006 01:08 AM
Java/html - Two Questions ... swiss Programming 12 12-02-2006 10:57 AM


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 06:10 PM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.