Ask Experts Questions for FREE Help !
Ask
    phil_stl's Avatar
    phil_stl Posts: 30, Reputation: 4
    Junior Member
     
    #1

    Mar 26, 2008, 07:16 AM
    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.
    robertva's Avatar
    robertva Posts: 249, Reputation: 30
    Full Member
     
    #2

    Mar 26, 2008, 11:38 PM
    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

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Toronto Hotel - Near Downtown Bars [ 5 Answers ]

All right between Google local and expedia I have not been able to nail down a good hotel within walking distance of downtown Toronto. I am assuming that downtown is the place to be because of the bars and nightclubs.. Please tell me if this is an incorrect assumption. Anyway a hotel within...

Kashi bars [ 4 Answers ]

Are the kashi bars good for you. On commercials they say they are but I don't completely believe that. I have tried it before and they are not bad but they just have about 200 calories in one "roll". That's what they call it but its like a bar. Anyone whose tried it or know about it help/

Service Panel, Neutral and Ground bars tied? [ 2 Answers ]

In the service panel, both the Neutral bar and Ground bar tied together. Neutral wires tied to the Neutral bar, Ground wires tied to the ground bar in the service panel. Isn't the ground wire than becomes the same as the Neutral wire, or maybe taking part of the current load off from the Neutral...

Why don't panels come with ground bars? [ 8 Answers ]

I bought a sub panel last summer. I had to buy and install a ground bar kit. Time after time I read careful instructions here to buy and install a ground bar, mount it with machine screws, and if a main panel, bond it to the neutral. Where would you use a panel that doesn't need an equipment...

Black bars on side of monitor [ 3 Answers ]

I've switched to a larger monitor but now I have a black bar on either side of the screen which is where the old monitor came to. Is there any way to fix this so that the screen fits the desktop? Without any black bars?


View more questions Search