|
|
 |
Re: FN-FORUM: Two background-images
date posted 30th April 2007 14:27
Hi
you can have as many background images as you like on one web page using css
and divs, just asign your div an id and then place the relevant background
info into css for each of the divs:
------css begin-----
#divone
{
background-image: url('bgimageone.jpg');
background-repeat: no-repeat;
background-position: top left;
}
#divtwo
{
background-image: url('bgimagetwo.jpg');
background-repeat: no-repeat;
background-position: top left;
}
#divthree
{
background-image: url('bgimagethree.jpg');
background-repeat: no-repeat;
background-position: top left;
}
-----html begin----
You can also use the positioning elements in css to position your div's
(background images) to where ever you want them on the page. If you need any
more help just ask! I'll be more than happy to help.
This may be a good resource for you too:
http://www.w3schools.com/css/default.asp
HTH
Martin
www.atdc.co.uk
----- Original Message -----
From: "Muhammad Haris Ali" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Monday, April 30, 2007 12:53 PM
Subject: Re: FN-FORUM: Two background-images
>
> u can handle it using css style in HTML. If you still
> facing problem you are free to contact me at my email
> [EMAIL REMOVED]
>
>
> Regards,
> Muhammad Haris
>
>
> --- Leon stacey [EMAIL REMOVED] wrote:
>
>>
>> When you say "document" is that like a word or pdf
>> document? If it
>> something like that then using different layers fir
>> each should do it
>> shouldn't it? If it is a web page then css can
>> handle that no problem
>> by just giving content one div and nav another then
>> suitable
>> background attachments after that
>> Hope this helps
>>
>> On 30 Apr 2007, at 10:50,
>> [EMAIL REMOVED] wrote:
>>
>> >
>> > Hi,
>> >
>> > I'm trying to place two background-images in the
>> same document.
>> >
>> > one in the content element, and one in the nav
>> element. I only get
>> > the first
>> > one displaying no matter what I do.
>> >
>> > Have googled and what I've found seems to say
>> can't be done, but
>> > like to
>> > make sure, hence this request.
>> >
>> > There was one site which implied they may have
>> done something, but
>> > couldn't
>> > get it to open in my browser.
>> >
>> >
>> > TIA for any help
>> >
>> > David G)
>> > ----------
>> >
>> >
>> > --
>> > Freelancers, contractors earn more with
>> Prosperity4
>> > Call 0870 870 4414 or visit www.prosperity4.com
>> > and benefit from Inland Revenue approved expenses
>> today.
>> >
>> > To advertise here:
>> http://www.freelancers.net/advertising.html
>> >
>> >
>> --
>> Freelancers, contractors earn more with Prosperity4
>> Call 0870 870 4414 or visit www.prosperity4.com
>> and benefit from Inland Revenue approved expenses
>> today.
>>
>> To advertise here:
>> http://www.freelancers.net/advertising.html
>>
>> Unsubscribe:
>> http://www.freelancers.net/rm/11170397202816425
>>
>> To Post a New Message: [EMAIL REMOVED]
>> Forum Homepage: http://www.freelancers.net/forum.php
>>
>> http://www.freelancers.net - freelancers and
>> freelance jobs
>>
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|