View Single Post
  #1 (permalink)  
Old 06-07-07, 03:24 PM
jcoxy4 jcoxy4 is offline
New Member
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
css help (very simple i think)

Ok, if you can help thanks very much.
At www.simple-wds.com/wordpress/ i want the left and right side columns which are a shade of grey to extend all the way down.Currently they stop where the content is.
Heres my css document
CSS Code:
  1. body, h1, h2, h3, h4, h5, h6, address, blockquote, dd, dl, hr, p, form{
  2.     margin: 0;
  3.     padding: 0;
  4. }
  5.  
  6. body{
  7.     font-family: Arial, Helvetica, Georgia, Sans-Serif;
  8.     font-size: 12px;
  9.     text-align: center;
  10.     vertical-align: top;
  11.     background: #666 url(images/bg_body.gif)repeat left bottom;
  12.         color: #fff;
  13. }
  14.  
  15. h1, h2, h3, h4, h5, h6{
  16.     font-family: Arial, Helvetica, Georgia, Sans-Serif;
  17.     font-size: 16px;
  18. }
  19.  
  20. a{
  21.     text-decoration: underline;
  22.     color: #105cb6;
  23. }
  24.  
  25. a:hover{ text-decoration: none; }
  26.  
  27. a img{ border: 0; }
  28.  
  29. abbr, acronym{ border: 0; }
  30.  
  31. address, dl, p{ padding: 10px 0 0; }
  32.  
  33. blockquote{
  34.     margin: 10px 10px 0;
  35.     background: #fffada url(images/bg_blockquote.gif) no-repeat 5px 7px;
  36.     color: #736926;
  37. }
  38.  
  39. blockquote p{
  40.     padding: 10px 10px 10px 20px;
  41. }
  42.  
  43. blockquote blockquote{
  44.     margin: 10px 20px;
  45.     background: #fff;
  46.     color: #333;
  47. }
  48.  
  49. blockquote blockquote p{ padding: 10px; }
  50.  
  51. code{
  52.     background: #f9f9f9;
  53. }
  54.  
  55. dt{
  56.     font-weight: bold;
  57. }
  58.  
  59. dd{
  60.     padding: 0 0 5px 15px;
  61. }
  62.  
  63. hr{
  64.     clear: both;
  65.     margin: 15px 0 5px;
  66.     width: 100%;
  67.     border: 0;
  68.     height: 1px;
  69.     text-align: left;
  70.     background: url(images/bg_comment_bottom.gif) no-repeat;
  71. }
  72.  
  73. small{
  74.     font-size: 10px;
  75. }
  76.  
  77. input, textarea{
  78.     font-family: Arial, Helvetica, Georgia, sans-serif;
  79.     font-size: 12px;
  80.     padding: 2px;
  81. }
  82.  
  83. input#author, input#email, input#url, textarea#comment{
  84.     border: 1px solid #cbb945;
  85.     background-color: #fffadb;
  86.     padding: 3px;
  87. }
  88.  
  89. input#author, input#email, input#url{
  90.     margin: 0 5px 0 0;
  91. }
  92.  
  93. #container, #header, #menu, #menu ul li, #menu ul li a, #pagetitle, h1, #syndication, .pagewrapper, .page, .wrapper, .narrowcolumnwrapper, .narrowcolumn, .content, .post, .entry, .browse, sidebar{
  94.     text-align: left;
  95.     vertical-align: top;
  96. }
  97.  
  98. #container{
  99.     margin: 0 auto;
  100.     width: 904px;
  101.     padding: 10px 0 0;
  102. }
  103.  
  104. #header{
  105.     margin: 0 0 10px;
  106.     float: left;
  107.     width: 904px;
  108.     height: 250px;
  109.     background: url(images/bg_header.gif) no-repeat left bottom;
  110.     color: #333;
  111. }
  112.  
  113. #menu ul{
  114.     margin: 0;
  115.     padding: 0 0 0 10px;
  116.     list-style: none;
  117. }
  118.  
  119. #menu ul li{
  120.     float: left;
  121.     margin: 0 5px 0 0;
  122.     font-size: 14px;
  123.     font-weight: bold;
  124.     background: url(images/bg_tab_right.gif) no-repeat right top;
  125.     color: #325b0a;
  126. }
  127.  
  128. #menu ul li a{
  129.     display: block;
  130.     padding: 14px 20px 10px;
  131.     text-decoration: none;
  132.     background: url(images/bg_tab_left.gif) no-repeat left top;
  133.     color: #325b0a;
  134. }
  135.  
  136. #menu ul li a:hover{
  137.     text-decoration: underline;
  138. }
  139.  
  140. #pagetitle{
  141.     clear: both;
  142.     width: 904px;
  143.     height: 155px;
  144. }
  145.  
  146. #pagetitle h1{
  147.     padding: 36px 28px 0;
  148.     font-size: 24px;
  149.     font-weight: bold;
  150.     letter-spacing: 1px;
  151.     text-transform: uppercase;
  152.     color: #fff;
  153. }
  154.  
  155. #pagetitle h1 a{
  156.     text-decoration: none;
  157.     color: #fff;
  158. }
  159.  
  160. #syndication{
  161.     float: left;
  162.     padding: 15px 31px 0;
  163.     color: #999;
  164. }
  165.  
  166. #syndication a{ color: #666; }
  167.  
  168. #syndication a.feed{
  169.     padding: 0 0 0 19px;
  170.     background: url(images/feed_icon.png) no-repeat 0 1px;
  171. }
  172.  
  173. #searchbox{
  174.     float: right;
  175.     padding: 10px 31px 0;
  176. }
  177.  
  178. #searchbox input#s{
  179.     border: 1px solid #ddd;
  180.     padding: 3px;
  181.     background: #fff;
  182. }
  183.  
  184. #searchbox input#searchsubmit{ height: 24px; }
  185.  
  186. .pagewrapper{
  187.     margin: 0 0 10px;
  188.     float: left;
  189.     width: 904px;
  190.     background: #fff url(images/bg_page_bottom.gif) no-repeat left bottom;
  191.     color: #333;
  192. }
  193.  
  194. .page{
  195.     float: left;
  196.     padding: 0 5px 5px;
  197.     background: url(images/bg_page_top.gif) no-repeat;
  198. }
  199.  
  200. .wrapper{ /* This wrapper class appears only on Page and Single Post pages. */
  201.     float: left;
  202.     width: 500px;
  203. }
  204.  
  205. .narrowcolumnwrapper{
  206.     margin: 5px 0 0;
  207.     float: left;
  208.     width: 500px;
  209.     background: #fff url(images/bg_narrowcol.gif) repeat-y;
  210. }
  211.  
  212. .narrowcolumn{
  213.     float: left;
  214.     width: 500px;
  215.     background: url(images/bg_narrowcol_bottom.gif) no-repeat left bottom;
  216. }
  217.  
  218. .content{
  219.     float: left;
  220.     width: 500px;
  221.     background: url(images/bg_narrowcol_top.gif) no-repeat left top;
  222. }
  223.  
  224. .post{
  225.     padding: 9px 16px 15px;
  226.     line-height: 18px;
  227. }
  228.  
  229. .post h2{
  230.     padding: 0 0 2px;
  231.     font-size: 16px;
  232.     font-weight: bold;
  233.     line-height: 27px;
  234. }
  235.  
  236. .post h2 a{
  237.     text-decoration: none;
  238.     color: #105cb6;
  239.     border-bottom: 1px solid #75abea;
  240. }
  241.  
  242. .post img{
  243.     padding: 4px;
  244.     border: 1px solid #ddd;
  245.     background: #fff;
  246. }
  247.  
  248. .post img.alignleft{
  249.     float: left;
  250.     margin: 5px 10px 0 0;
  251. }
  252.  
  253. .post img.alignright{
  254.     float: right;
  255.     margin: 5px 0 0 10px;
  256. }
  257.  
  258. .post img.wp-smiley{
  259.     padding: 0;
  260.     border: 0;
  261.     background: none;
  262. }
  263.  
  264. .entry{}
  265.  
  266. .entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6{
  267.     padding: 9px 0 0;
  268. }
  269.  
  270. .entry h1{
  271.     font-size: 20px;
  272.     line-height: 30px;
  273. }
  274.  
  275. .entry h2{ line-height: 18px; }
  276.  
  277. .entry h3{ font-size: 14px; }
  278.  
  279. .entry h4{ font-size: 12px; }
  280.  
  281. .entry h5{ font-size: 11px; }
  282.  
  283. .entry h6{ font-size: 10px; }
  284.  
  285. .postinfo{
  286.     font-size: 11px;
  287.     color: #999;
  288. }
  289.  
  290. .postinfo a{
  291.     color: #578cca;
  292. }
  293.  
  294. .postdate{ color: #a12a2a; }
  295.  
  296. .browse{
  297.     border-top: 1px solid #bdbdbd;
  298.     padding: 15px 16px;
  299.     line-height: 18px;
  300. }
  301.  
  302. .sidebar, .obar{
  303.     margin: 0 0 0 5px;
  304.     float: right;
  305.     width: 192px;
  306.     line-height: 18px;
  307.        
  308. }
  309.  
  310. .obar{
  311.     margin: 0 5px 0 0;
  312.     float: left;
  313. }
  314.  
  315. .sidebar ul, .obar ul{
  316.     margin: 0;
  317.     padding: 0;
  318.     list-style: none;
  319.        
  320. }
  321.  
  322. .sidebar ul li, .obar ul li{
  323.     margin: 5px 0 0;
  324.     padding: 9px 16px 15px;
  325.     background: #EFEFEF url(images/bg_ul_li.gif) no-repeat left top;
  326. }
  327.  
  328. .sidebar ul li.widget_search, .obar ul li{
  329.     padding: 15px 16px;
  330. }
  331.  
  332. .sidebar ul li h2, .obar ul li h2{
  333.     font-size: 16px;
  334.     font-weight: bold;
  335.     line-height: 27px;
  336.     color: #000000;
  337. }
  338.  
  339. .sidebar ul ul li, .obar ul ul li{
  340.     margin: 0;
  341.     padding: 6px 0 3px;
  342.     background: #EFEFEF;
  343.  
  344. .sidebar ul ul ul, .obar ul ul ul{ padding: 3px 0 0; }
  345.  
  346. .sidebar ul ul ul li, .obar ul ul ul li{
  347.     padding: 6px 0px 3px 15px;
  348.     background: url(images/bg_arrow_right.gif) no-repeat 0px 8px;
  349. }
  350.  
  351. .sidebar ul ul ul ul li, .obar ul ul ul li{
  352.     background: url(images/bg_arrow_right_2.gif) no-repeat 0px 8px;
  353. }
  354.  
  355. /* COMMENTS TEMPLATE */
  356.  
  357. .post h3#comments, .post h3#respond{
  358.     padding: 0 0 2px 19px;
  359.     line-height: 27px;
  360.     background: url(images/user_comment.gif) no-repeat 0 6px;
  361.     color: #e45b00;
  362. }
  363.  
  364. .post h3#respond{
  365.     background: url(images/add_comment.gif) no-repeat 0 6px;
  366.     color: #333;
  367. }
  368.  
  369. ol.commentlist{
  370.     margin: 0 0 11px;
  371.     padding:0;
  372.     list-style: none;
  373. }
  374.  
  375. ol.commentlist li{
  376.     padding: 13px 0;
  377.     background: url(images/bg_comment_bottom.gif) no-repeat left bottom;
  378. }
  379.  
  380. ol.commentlist li .commentmetadata{
  381.     font-size: 11px;
  382.     color: #546477;
  383. }
  384.  
  385. ol.commentlist li .commentmetadata a{
  386.     color: #546477;
  387. }
  388.  
  389. form#commentform small{
  390.     font-size: 11px;
  391. }

I think a little something extra is needed to be added in the sidebar section.Please help me.Thanks in advance

Last edited by UnrealEd; 06-07-07 at 03:43 PM. Reason: please use the [highlight=CSS] wrapper when posting css code
Reply With Quote