Solved

How to place a background image relative?

Posted on 2013-05-14
5
233 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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 different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

627 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