Oops I think I may have posted this twice. When I posted the first
(this time) it didn't appear immediately. Anyway i've found the answer
with regards to handling the background elements though I still don't
understand why 100% does not work.

The way I resolved the background issue was to specify the background
I was using in the <body> tag rather than a <div>.

I couldn't specify absolute values for width and height because the
auto-margins on the divs inside the background div would not centre
correctly on the web page, rather they would centre in the middle of
wherever the background div happened to be according to its size.

Anyway, if anyone does happen to know how to get div's to display at
100% without containing anything other than more divs' that would be
great! :)

Thanks

Phill

On 31 Dec 2008, 19:11, Phill <[email protected]> wrote:
> Hi all,
>
> I have been scouring the internet to find out whether a solution
> exists to a problem i've been having regarding my background <div>
> element not displaying. It displays as I would like in IE however
> firefox and Safari will not display the background element unless
> there is something in it.
>
> I have read various posts which suggest that I simply need to specify
> width and height attributes but this only seems to work when I specify
> absolute values (i.e 1000px rather than 100%). This is how I have
> resolved the problem for now however I was wondering why it did not
> like the 100% values I passed? Has anyone been able to resolve this?
>
> Thanks for your help guys :)
>
> Phill
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to