Jump to content
Sign in to follow this  
cnc_sage

sidebar menu

Recommended Posts

I want to improve my site by adding a sidebar menu. Here's what I came up with :

<TABLE>

<TR><TD><IMG SRC="C:Site materialsidetop.jpg"></TD><TD><center><IMG SRC="C:Site materialbanner1.jpg"></center></TD></TR>

<TR><TD><font face="Arial"

size=6

>Menu</font></TD><TD ROWSPAN=9>

(insert content here)

</TD></TR>

<TR><TD>Main Page/News</TD></TR>

<TR><TD>About Me</TD></TR>

<TR><TD>Tiberian Sun

<UL>

<LI>Features

<LI>Tiberium

<LI>GDI

<LI>Nod

</UL></TD></TR>

<TR><TD>Images</TD></TR>

<TR><TD>Downloads</TD></TR>

<TR><TD>Links</TD></TR>

</TABLE>

Please tell me what you think and if it's not good, plz provide better sollutions.

Share this post


Link to post

any chance of showing us what it looks like not just in code as its hard for me to visualise

Share this post


Link to post

Needs more CSS... the whole site does for that matter.

 

Needs a standard font like Verdana or Tahoma, but Arial works too. Anything but Times New Roman.

 

Don't have any gaps between your lines. It looks sloppy that way.

 

Here's some optimal code:

<table cellspacing="0" cellpadding="0" border="0">

<tr>

<td><img src="sidetop.jpg" height="" width="" alt="">

<br><img src="banner1.jpg" height="" width="" alt="">

<br><br>Menu (insert content here)

<br>Main Page/News

<br>About Me

<br>Tiberian Sun

<br><ul>

<li>Features

<li>Tiberium

<li>GDI

<li>Nod

</ul>

Images

<br>Downloads

<br>Links

</td>

</tr>

</table>

Yours is too broken and you have many unnecessary table definitions and rows. You can get the same effect using line breaks, spans and even DIVs. ;)

Share this post


Link to post

CSS is loads better than tables and such. Tables were meant for tabular data, not designing layouts. Use absolute position if possible. It's the most precise.

Share this post


Link to post

Never used DIVs to make my layouts. Mine are done in tables and they come out just as good as a DIV generated layout.

Share this post


Link to post
Here's some optimal code:

<table cellspacing="0" cellpadding="0" border="0">

<tr>

<td><img src="sidetop.jpg" height="" width="" alt="">

<br><img src="banner1.jpg" height="" width="" alt="">

<br><br>Menu (insert content here)

<br>Main Page/News

<br>About Me

<br>Tiberian Sun

<br><ul>

<li>Features

<li>Tiberium

<li>GDI

<li>Nod

</ul>

Images

<br>Downloads

<br>Links

</td>

</tr>

</table>

Thanks, I'll try it.

Share this post


Link to post

Oh, I forgot to mention that on your images, put in the image's height and width. That's a necessary bit of information that I forgot to post.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×