How to create left and right sidebar using html?

  Mark_Brown11 11 Jun 12
Locked

I can not create sidebar page. How I can create sidebar and How can I integrate it with main page? Only html code. Please give me some sample page or link from where I can see sample. Thanks.

  LastChip 01 Jul 12

I don't know about writing it from scratch taking a long time, this code took about 5 minutes to write - probably faster than firing up a web creation tool.

It took longer creating an image (as you can't post code here) and working out how I could upload it somewhere to give it to you. click here

You can manipulate that code to your hearts content, adjusting the % will alter the width of each column. The backgrounds are only there to demonstrate the concept.

  LastChip 01 Jul 12

Whoops!

Just noticed an error in the spelling of the code in .cont1

backgrond-color should of course be background-color

It doesn't matter much as it's set to white anyway, but for anyone reading and puzzling why, it's simply my typing error. At least you can see I did actually manually code it!

Advertisement

This thread is now locked and can not be replied to.

Windows 10 Home vs Windows 10 Pro comparison: Here are the extra features you get in the Pro version

Behind the scenes at Silverstone, the 70th British Grand Prix: Hisense starts UK push with Red…

How Found created this skateboard, bike and parkour stunts-laden, single-take car ad

Apple Pay UK launch date, UK user guide and participating UK banks | Apple Pay to launch in UK on 1?…

We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message