How do I put a vertical line down the middle of a div? Maybe I should put two divs inside the div and put a left border on one and a right border on the other? I have a DIV tag and I need to put one ascx on the left (that will get swapped out from time to time with another ascx) and then a static ascx on the left. Any ideas on how I should do this? Maybe I answered my own question.
Any pointers would be great
Three divs?
Here's a more modern way to draw a line down a div. Just takes a little css:
Works in all modern browsers. http://caniuse.com/#search=linear-gradient
This is my version, a gradient middle line using
linear-gradient
I think your multiple DIV approach is going to be the sanest way to approach this:
Just tested this; works:
Maybe this can help you
Here's is a JSFiddle demo.