williamrouse Posted March 6, 2009 Report 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
falkencreative Posted March 6, 2009 Report 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.
williamrouse Posted March 6, 2009 Author Report 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?
wasso Posted March 6, 2009 Report 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; )
falkencreative Posted March 6, 2009 Report 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.
williamrouse Posted March 6, 2009 Author Report Posted March 6, 2009 Thank you! Just what I was looking for.
LSW Posted March 6, 2009 Report 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.}
williamrouse Posted March 6, 2009 Author Report Posted March 6, 2009 Dear LSW: All is well in a world with patient helpful people. Thanks! WBR
newseed Posted March 7, 2009 Report Posted March 7, 2009 LOL... tell that to my boss! Your boss? I thought you were the boss!!??
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now