Does the css class for a sidebar always need to be named sidebar?
-
ive currently created a template for my homepage and ive named the divs that are side by side:
<div class=”home-left” ></div>
<div class=”sidebar-right”></div>the css for both is:
.home-left { width:630px; background-color:#F90; float:left; } .sidebar-right { width:300px; background-color:#666666; height:500px; float:left; }
but if i change the name of the sidebar div to ‘home-right’ and change the css to:
.home-right { width:300px; background-color:#666666; height:500px; float:left; }
it completely disappears…. does the css class for the div need to have sidebar in the name??
im total confused
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Does the css class for a sidebar always need to be named sidebar?’ is closed to new replies.