Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Add vertical line to home page sidebar

Posted on 2013-02-05
4
Medium Priority
?
619 Views
Last Modified: 2013-02-05
I have a site here, http://www.kitchensofdenver.com/ and want to add a vertical line on the home page to the left of the home page form like you see on the internal pages.  How would I adjust the css to accommodate that so that it repeats?
0
Comment
Question by:COwebmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 30

Expert Comment

by:LZ1
ID: 38855835
Line 651 of your style.css sheet has this:

#content-area {
    background: url("images/sidebar-bg.png") repeat-y scroll 660px 0 transparent;
}

Open in new window


On your home page you could give the #top container the same background.
#top {
    background: url("images/sidebar-bg.png") repeat-y scroll 300px 0 transparent;
    border-bottom: 0 solid #FFFFFF;
    padding-top: 20px;
}

Open in new window


Then remove the background from #home-top
0
 

Author Comment

by:COwebmaster
ID: 38855971
Okay I tried that but it placed the vertical line on the far left from top to bottom.

I would like a vertical line to the left of the contact form on the home page only. Any suggestions for that?
0
 
LVL 30

Accepted Solution

by:
LZ1 earned 2000 total points
ID: 38856167
Add the background to the #home_table and you should be good.

 #home_table{background: url("images/sidebar-bg.png") repeat-y scroll 660px 0 transparent;}

Open in new window


But please try to remove all the tables in your layout. It's very bad practice, horrible markup and non-semantic.
0
 

Author Closing Comment

by:COwebmaster
ID: 38856328
That worked, thanks!
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question