Charlie

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromCharlie
ToMe
Subjecthow do I add a sidebar to my webpage?
Date17 October 2005 00:45
I have a webpage going, and I'd like to ask how to add a sidebar. I did not
see it in any of your html tutorials, and you have one on your page. What is
the html tag, and where do I put it? I have searched other websites, and
none have worked. How did you get your sidebar?
Sorry if this is a stupid question, I would be much obliged if you could
help.
    Thanks.
FromMe
ToCharlie
SubjectRe: how do I add a sidebar to my webpage?
Date17 October 2005 09:31
Charlie,

> I have a webpage going, and I'd like to ask how to add a sidebar. I
> did not see it in any of your html tutorials, and you have one on
> your page. What is the html tag, and where do I put it?

There are several ways to add content that is beside the main content. The
most popular ones (aside from ugly tables) are floats and positioning. I use
a positioning version, and this is usually the easiest to understand.

The HTML tags are not important (since HTML cannot do this stuff on its
own), but most people use <div> tags. These are then styled with CSS to
produce the sidebar. I have a demonstration of this on:
http://www.howtocreate.co.uk/tutorials/positionExample.php


Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.