williamrouse Posted March 6, 2009 Report Share Posted March 6, 2009 I am researching with out success, to find a CSS text attribute that produces a border, a single straight line, at the end of each line that I can prescribe a color. I don?t see an attribute that allows this at the W3 site. Does anyone know if this is possible? Thanks! WBR Quote Link to comment Share on other sites More sharing options...
falkencreative Posted March 6, 2009 Report Share Posted March 6, 2009 I'm not totally sure what you are looking for... You could add a border-right using CSS to your tags... I'm not sure that would give you the effect you are looking for. Quote Link to comment Share on other sites More sharing options...
williamrouse Posted March 6, 2009 Author Report Share Posted March 6, 2009 In my test definition of tag, I placed the following code, to exagerate the effect, but nothing was visible. border-left: 5px; border-left-color: rgb(255,0,0); border-right: 5px; border-right-color: rgb(0,0,255); Should this not place a border on both sides of the text? Quote Link to comment Share on other sites More sharing options...
wasso Posted March 6, 2009 Report Share Posted March 6, 2009 i don't know if my answer is correct but you can see what i did to my design: LOOK it the bold and underline part maybe this is what you a looking for. #sidebar2 h2 { background: url('') no-repeat left 50%; background-color: #FFFFFF; height: 41px; width: 230px; border-bottom: 4px solid #B8B8B8; font-size: 15px; ) Quote Link to comment Share on other sites More sharing options...
falkencreative Posted March 6, 2009 Report Share Posted March 6, 2009 In my test definition of tag, I placed the following code, to exagerate the effect, but nothing was visible. border-left: 5px; border-left-color: rgb(255,0,0); border-right: 5px; border-right-color: rgb(0,0,255); Should this not place a border on both sides of the text? I think for this to work, you would need to add "border-style: solid;" I usually use the shorthand for it: border-left: 5px solid #000000; which means: border-left: width style color. Quote Link to comment Share on other sites More sharing options...
williamrouse Posted March 6, 2009 Author Report Share Posted March 6, 2009 Thank you! Just what I was looking for. Quote Link to comment Share on other sites More sharing options...
LSW Posted March 6, 2009 Report Share Posted March 6, 2009 Not directly. But if you place the text is a span you can make the span have a border... But the problem is if you want a border on every line... can't see it happening as the line length would be different depending on browser size and resolution so what is the end of the line on one machine, could be the middle of a sentence on another. {See! Got distracted by real work and now that I answer it is taken care of... figures. Looks like I misunderstood anyways.} Quote Link to comment Share on other sites More sharing options...
williamrouse Posted March 6, 2009 Author Report Share Posted March 6, 2009 Dear LSW: All is well in a world with patient helpful people. Thanks! WBR Quote Link to comment Share on other sites More sharing options...
LSW Posted March 7, 2009 Report Share Posted March 7, 2009 LOL... tell that to my boss! Quote Link to comment Share on other sites More sharing options...
newseed Posted March 7, 2009 Report Share Posted March 7, 2009 LOL... tell that to my boss! Your boss? I thought you were the boss!!?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.