I having a bit problem on vertical dotted line. This displays the dotted line but that line goes far down… I am not being able to manage this… I have added margin and height since I did not see long vertical line.
To: kohoutek, I have tried your code as shown below. Thank you so much.
#my_dotted_column {
border-right:2px dotted #000;
margin-bottom: -398px; /* just fit the content */
color: #434F29;
height: 400px; /* until I specify height, I could not see the vertical dotted line.*/
margin-right: 200px;
}
Your help is appreciated. Thank you for your time and kind help.
Sheru
the right border will expand depending on the height of your first column. If you know your right column will always be the longest, then set the border for that column. If your left content will always be longer, then see example below.
div.content {
width:800px;
}
div.main-column {
width:478px;
padding-right:20px;
/*
This is a 500px wide box.
Need to remove 2 pixels from
total width to account for the
2 pixel border + 20px right margin
*/
float:left;
border-right:2px dotted #000;
}
div.side-column {
width:280px;
/*
This is a 300px wide box
container (280px width + 20px padding)
*/
padding-left:20px;
float:left;
}
h3 {
border-bottom:2px dotted #000;
padding-bottom:10px;
}
Dear kohoutek,
Thank you so much for your precious time and kind help.
Your suggested CSS code worked wonderfully. You have wonderful knowledge in CSS.
Thank you once again from bottom of my heart. Hope to be in touch.
Sheru