This is a discussion on "Aligning background image hard right?" within the Web Page Design section. This forum, and the thread "Aligning background image hard right? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Aligning background image hard right?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Aligning background image hard right?
I have a background image on my website http://www.helioslune.co.uk which is set on a black background. However, about half way down the page it is not a true black which means an edge is visible. I want to align the background image to the right to eliminate this problem. Is this possible? I've tried several variations in my css to try and obtain this but it either has no affect or makes my image just vanish.
My Body Code: body { background:url(images/backgroundpic.jpg) no-repeat; background-color:black; font-size:11pt; font-family:Sans Serif, Arial; color:#FFFFFF; } Can anyone help or offer any suggestions as to what I might do? |
|
|
|
||||
|
Re: Aligning background image hard right?
Correct, with shorthand:
|
|
|||
|
Re: Aligning background image hard right?
Oh brilliant that's it! Thank you very, very much! It seems to have made a couple of my images elsewhere go a bit loopy but I should be able to fix that.
Thank you again! |
![]() |
| Tags |
| align, background, images |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fix background image in IE6 | tenderfoot | Web Page Design | 1 | Jan 30th, 2008 11:02 |
| background image not big enough | mykl | Web Page Design | 7 | Oct 11th, 2007 19:08 |
| Background image overlaping footer image at bottom of div | lw_d | Web Page Design | 4 | Mar 21st, 2006 00:27 |
| Background Image | jwalker80 | Web Page Design | 2 | Dec 22nd, 2005 14:52 |
| Need help with my background image!!! | courtjester | Web Page Design | 3 | Sep 30th, 2003 15:25 |