Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 14 of 14

Thread: Position of Background Images/HTML

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2008
    Posts
    8
    The problem was spontaneously solved. I don't know what is different from before.

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Thanks for the update--please let us know if the problem recurrs.

  3. #3
    Instead of setting up margins and padding around each image in a style tag (which causes a lot of code bloat) you can instead set up classes for the margins and padding along with floats that you use the most in CSS and then add that to a div tag that surrounds the image, i.e., like this:
    .mar12 {margin:12px; }
    .mar12l {margin-left:12px; }
    .mar12r {margin-right:12px; }
    .mar12b {margin-bottom:12px; }
    .mar12t {margin-top:12px; }
    .pad12 {padding:12px; }
    .pad12l {padding-left:12px; }
    .pad12r {padding-right:12px; }
    .pad12t {padding-top:12px; }
    .pad12b {padding-bottom:12px; }
    .floatleft {float:left;}
    .floatright {float:right;}
    Repeat these for whatever margin and padding sizes you use the most.
    Then put the image in a div and list the padding and margin like this (divs don’t add extra spacing where P tags do):
    <div class=”floatright Mar12l”>
    <img src=”images/name-of-image.jpg” alt=”describe image”>
    </div>
    This will float the image to the right with 12pixels of margin on the left (to separate the text from the image). Then add a class for padding if needed.


    You will need at least CSS for sure for this.
    I think you expect not only by using HTML. So either you can use position absolute and adjust with different top, right, bottom, left values.
    Or use flexbox.

    Removing background of a picture is a tough job. We usually use Photoshop to remove the background of a picture but think is it possible to have your laptop or computer with yourself everytime. So, then we take out our android phone from our pocket.

Similar Threads

  1. Continous mouse position
    By rkreager in forum Hardware: How Do I...
    Replies: 3
    Last Post: 03-25-2021, 04:50 AM
  2. Mouse position
    By rothers27 in forum MediaLab Older Versions: How Do I...
    Replies: 2
    Last Post: 07-08-2008, 04:09 PM
  3. displaying images very fast
    By duindain in forum DirectRT Older Versions: How Do I...
    Replies: 4
    Last Post: 04-25-2008, 02:55 AM
  4. Cycling through images over and over again
    By jarvis24 in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 01-24-2006, 12:45 PM
  5. Resizing Images?
    By jarvis24 in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 12-07-2005, 03:32 PM

Posting Permissions

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