Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Programming > Markup Languages > CSS   »   Creating sidebars and overhead bars

 
Question Tools Search this Question Display Modes
Question
 
 
#1  
Old Mar 26, 2008, 06:16 AM
phil_stl
New Member
phil_stl is offline
 
Join Date: Dec 2007
Posts: 27
phil_stl See this member's comment history on his/her Profile page.
Creating sidebars and overhead bars

I'm building the homepage part of the website and I need to make a sidebar and an overhead (upper) bar. How do I do it?

**I only want to write a declarion for the whole website so these bars should stay on every page.

Reply With Quote
 
     

Answers
 
 
Old Mar 26, 2008, 10:38 PM   #2  
robertva
Junior Member
robertva is offline
 
Join Date: May 2007
Posts: 96
robertva See this member's comment history on his/her Profile page.
See Cascading Style Cheatsheet

Under Box properties look for the CSS "float" property. this property can be used for objects like "div" to create side bars. Test the page in various browsers though, because the wrapping behavior around the sidebar can vary. Look for the "clear" property when something needs to be below the sidebars.

Many people code headers, sidebars and footers as HTML tables. Sometimes using the HTML colspan property (for headers and footers), sometimes nesting a table (for the contents) inside table(s) used for a header and footer. Please set width properties with the colgroup tag so the page doesn't shift around while it is rendering! See the various "table" "tr" "td" , "col" and "colgroup" links at EchoEcho.Com - HTML tag Reference

A convenient method for using a single header and footer for a large number of pages (or an entire site) is to use frames. Separate files for the content, common header, common footer and comon sidebar (usually a navigation menu) are stored on the server. Javascript code attached to the links changes the "location" of the frames using the "name" property to control which frame is changed. Look for "frame" and "frameset" links at EchoEcho.Com - HTML tag Reference
  Reply With Quote
 
     


Question Tools Search this Question
Search this Question:

Advanced Search
Display Modes

 
Similar Sponsors

Similar Questions
Question Asker Topic Answers Last Post
kashi bars happy711 Nutrition 4 Feb 6, 2008 02:13 PM
Service Panel, Neutral and Ground bars tied? timur Electrical & Lighting 2 Dec 12, 2007 12:34 PM
Why don't panels come with ground bars? labman Electrical & Lighting 8 Dec 3, 2007 02:33 PM
black bars on side of monitor Lady Liberty Windows 3 Sep 19, 2007 02:14 PM
Toronto Hotel - Near Downtown Bars jc105 Accomodations 4 Apr 6, 2006 02:29 PM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 01:53 PM.

Content Relevant URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc.