Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newbie question - site navigator 1

Status
Not open for further replies.

solmyr72

Programmer
Aug 8, 2004
20
IL
Hi,
Newbie question:
I'm trying to create a site with a "site navigator" to the left (namely, a thin vertical panel with links such as "home", "members", "downloads", etc).
Html tutorials appear to suggest one of the following methods:
[ul]
[li] A table (the navigator is one cell, the main site content is another cell) [/li]
[li] A style sheet (css): the navigator is one "< div >" with an "absolute position" that makes it stick to the left. The main site content is another "< div >" with absolute position that makes it reside in the middle of the page.[/li]
[li] Frames (navigator is in one frame, main site content is in another frame ) [/li]
[/ul]

Which is the preferred method ? Which would be more portable (viewed by more browsers) ? Most sites I've visited went for a table - is that really the best option ?

Thanks very much :)
 

Personally, I would say that:

a) The DIVs are the best option, and

b) This is best left to the HTML and CSS forum, unless you want to talk about JavaScript specifics.

Hope this helps,
Dan
 
the css option is by far the best bet as you can control the entire look of the site in one file, most browsers will see the same, code is kept nice and clean etc etc

Tables are the easiest option and were the method of choice by pretty much everyone but more and more are moving over to css.
 
Hey, thanks for the star, it`s usually me giving them out on this forum!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top