T O P I C R E V I E W |
T00N |
Posted - 12 Jul 2007 : 12:54:22 I like to make a text label with a 1 pt border. No problem now there's no space between the txt and the border. Something like: |here starts the text. I want it to be like: | here starts the text
So I changed the margin but that doesn't help because then the margin is applied to the border as well.
I know I can make a empty grapcial rectangle and use it as a border but that's not what I want.
Anybode any idea if it's possible with just a text label?
|
6 L A T E S T R E P L I E S (Newest First) |
s.dav |
Posted - 13 Jul 2007 : 14:10:48 The explanation is quite simple; in order to make the border I used a table because it was the most compatible method, a table with a background color equal to the border color with cellspacing 1 and with the cell/s background color equal to the background color of the object. Using a style "border:1px color solid" was not compatible and actually doesn't work in the same manner with every browser. So there aren't other methods except this :-(
|
T00N |
Posted - 13 Jul 2007 : 11:34:26 I got it...
When I make a text label the border option is greyed out. Only when I give the label a background colour the border option is active and the it works like you said.
Why is the border option not available when the label has a transparent background?
thanks anyway |
s.dav |
Posted - 13 Jul 2007 : 08:58:07 Finally I understood your problem... You aren't using a text label (as you wrote in the picture above) but a graphical label... Try to use a text label instead. |
T00N |
Posted - 12 Jul 2007 : 16:55:24 Here's the screenshot:
[img]http://www.madebytoon.nl/border.jpg[/img] |
T00N |
Posted - 12 Jul 2007 : 16:43:13 Hmm,
it doesn't work for me. I can the margin for a text label and then the text area is smaller than the label size. So far so good.
Now when I apply a border I want it to be at the outside of the original text label. So there's a margin between border and text. That doesn't work because it sets the margin to the border as well so theborder is still next to the text.
I'll make a screenshot to show what I mean. |
s.dav |
Posted - 12 Jul 2007 : 15:43:52 Just tested and for me it works ok, I set the border to 1 and the margin to 15. It works exactly as you want |