Solved

How to place a background image relative?

Posted on 2013-05-14
5
217 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 500 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Problem to refer to value 8 62
Xslt: how to use use for each to loop through four iterations only 4 25
VBScript on Html 15 47
Search Item in Table 2 19
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

856 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