Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to place a background image relative?

Posted on 2013-05-14
5
Medium Priority
?
241 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 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

704 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