Results 1 to 3 of 3

Thread: how can I put text box on a photo

  1. #1
    Senior Member TheeDragon's Avatar
    Join Date
    Mar 2013
    Posts
    195

    Default how can I put text box on a photo

    to date, I make a layout region then fill the background with a photo
    but if I need to scale the region, the photo tiles (not know how to scale the photo in the background)
    so, I want to put text box on a photo
    (and not use the built in photo text )

    how ??

    thanks

  2. #2
    Administrator Adam's Avatar
    Join Date
    Jan 2010
    Location
    Pennsylvania
    Posts
    357

    Default

    Quote Originally Posted by TheeDragon View Post
    to date, I make a layout region then fill the background with a photo
    but if I need to scale the region, the photo tiles (not know how to scale the photo in the background)
    so, I want to put text box on a photo
    (and not use the built in photo text )

    how ??

    thanks
    Hi TheeDragon,

    You can use the CSS Property Sheet or Code Editor to do this. It will scale on Preview or Publish. I'll provide the code below for use in the Code Editor. Select the Layout region and paste the following in the Code Editor on it's own line:

    Code:
    background-size: 100% 100%;
    Now your background image will scale to the box size.
    Last edited by Adam; 06-05-2013 at 08:54 PM. Reason: Clarified a step
    Adam
    NetObjects Technical Support

  3. #3
    Senior Member TheeDragon's Avatar
    Join Date
    Mar 2013
    Posts
    195

    Default

    sweet

    thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •