Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to place a background image relative?

Posted on 2013-05-14
5
Medium Priority
?
245 Views
Last Modified: 2013-05-14
Dear Experts,

I'm currently updating some websites, one of them has a special issue:

A picture that is defined as background is clipping with some other elements. Also the content on this page is automatically generated.

This problem would be solved if it was possible to set the picture position at
right bottom but with bottom=bottom-10px

Is this possible to define something like this?
0
Comment
Question by:goldwynexe
  • 3
  • 2
5 Comments
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 39164590
You can't o that with just background-position, but there are lots of ways to achieve the result you are looking for. If you provide a link to your page someone will be able to find a solution for you.
0
 

Author Comment

by:goldwynexe
ID: 39164639
http://www.goldwyncareers.com/index.php?option=com_careers&view=alljobs&lang=en&Itemid=55

The problem picture is the one right bottom. Currently I use the "background position" attribute to position the picture. However if the user clicks on the 2nd etc page the picture will wander up...

We use Joomla! for our website.
0
 
LVL 25

Accepted Solution

by:
Kyle Hamilton earned 2000 total points
ID: 39164685
The quickest and easiest way to fix this is to add the white space to the image itself and use
background-position: bottom right;
0
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 39164702
the other way is to change the markup so the footer is outside and under the image container:
markup
0
 

Author Closing Comment

by:goldwynexe
ID: 39164821
Dang so easy that it never crossed my mind!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question