Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Junior Mechanic
Posted
Is there a way to indent text in a box? I know I can draw a rectangle/square around the txt box to leave some room between the text and the background, but that doesn't work well when I use the auto-scroll box. Also, if I put a large outline on the text box it cuts off the text characters around the edges.
 
Posts: 8 | Registered: December 21, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
You cannot indent a text object, but using CSS code you can adjust the padding and/or margins around a text object. This will give the same effect as indenting.

If you can be a bit more specific, someone can give you the exact code you need. Or you can check out the w3school CSS tutorial pages (CSS Margin and CSS Padding).
 
Posts: 5150 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
Try this as a Code Object on your pages (change the padding from 6 pixels (px) each side to whatever other value you want):
<style type="text/css">
.dfltt{padding-left:6px; padding-right:6px}
</style>
 
Posts: 9269 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior Mechanic
Posted Hide Post
Bruceee - works great ... thanks very much!
 
Posts: 8 | Registered: December 21, 2007Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.