Web Design Help
It's free to register, to post a question or to start / join a discussion
How to create left and right sidebar using html?
Likes # 0
Posted June 11, 2012 at 12:28PM
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.
- Tags:
- sidebar
Likes # 0
Posted July 1, 2012 at 1:17PM
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.
Likes # 0
Posted July 1, 2012 at 8:44PM
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!
Reply to this topic
This thread has been locked.
Check out PC Advisor's other tech forums
Top 5 Most Popular
-
Samsung Galaxy S4 vs iPhone 5 vs HTC One comparison review
-
New iPhone 5S, iPhone 6 release date UK: When will the new iPhone arrive?
-
Apple iPad 4 review: is this the best tablet money can buy?
-
Galaxy S4 vs BlackBerry Z10 comparison review - which is best, the Samsung or the BlackBerry?
-
Samsung Galaxy S4 vs Apple iPhone 5 comparison review



