Solved

How to place a background image relative?

Posted on 2013-05-14
5
191 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
This article discusses four methods for overlaying images in a container on a web page
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 receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now