Accessibility

CSS Advisor

Menu question

by Morrile on March 1, 2009 Avg Rating 3.0 (2)   |   Log in to rate post.

Tagged with Explorer 6.0 , Explorer 7.0 , sidebar

Problem

2 column elastic, left sidebar. How can I control the sidebar with another style sheet?

Solution

I have no idea to a solution

Detailed description

Hello,

I am still learning CSS and wish to create a fictitious website; for learning purposes. My goal is to manage the sidebar with a second style sheet; how is this done?




Tagged with Explorer 6.0 , Explorer 7.0 , sidebar

Tag it on del.icio.us or Digg

Text ID: MENU_QUESTION



Comments (2)

To add a comment, please Log in.




To clarify

As MicahBurke had put rather briefly, all you need to do is create another CSS file and place all your styles for your sidebar in that file. Then all you need to do is reference this second stylesheet along with your main one.

One way would be to add another <link> element or "@import" rule, but I personally prefer creating a "master.css" file, and importing all my different styles in there.

Easy!

Add the call out for the other stylesheet in the header of the html file. Put all your sidebar code there.





CSS Advisor home
Submit a post

rss

CSS ADVISOR RSS FEEDS
Recent: POSTS | COMMENTS | EDITS


Browsers
Internet Explorer (45)
Mozilla/Firefox (16)
Opera (7)
Safari (13)
CSS Properties
Background (6)
Border (3)
Color (1)
Float (15)
Font (1)
Margin (6)
Padding (4)
Position (15)
Text (13)
Width/Height (9)