7 Replies Latest reply on May 6, 2006 7:25 PM by Excavatorak

    1st site and .png

    Mr_postman Level 1
      Hi,
      My first website in now live this is the site and i've tried to add the IE for .png hack as a link to the .js doc but it doesn't seem to work. I don' t know if the .js code is wrong or my link to it is wrong so it's not being picked up. I don't have easy access to a pc which make trial and error difficult. Any help, advice or constructive criticism on my 1st site would be appreciated.
      Thanks
        • 1. Re: 1st site and .png
          Excavatorak Level 1
          Hello Mr postman,

          I've never used a .png so I'm not familiar with the hack. Have you tried changing that to a .jpg with a transparent background? I've used them before.

          The background is not repeated. I know it doesn't repeat very well but the transitions would be a lot less noticable than the white edges I get on a large monitor. In other words, a browser window bigger than the 1050x900 mainbackground.jpg needs to have the background repeated.

          I love that menu "tablist" ! Very cool. The hover effect is a little different from FF to IE but it works in both. I have done similar with "span" but I've never seen "onmouseover="expandcontent" before.
          Something else I've never seen is the "first-child" tag you use on your li in the footer.

          Validates HTML but CSS validator says there is a missing />

          Very impressive for a first page!
          • 2. Re: 1st site and .png
            Level 7
            On Sat, 6 May 2006 13:10:30 +0000 (UTC), "Mr postman"
            <webforumsuser@macromedia.com> wrote:

            > My first website in now live http://sherburnfootclinic.co.uk and i've tried to
            >add the IE for .png hack as a link to the .js doc but it doesn't seem to work.
            >I don' t know if the .js code is wrong or my link to it is wrong so it's not
            >being picked up. I don't have easy access to a pc which make trial and error
            >difficult. Any help, advice or constructive criticism on my 1st site would be
            >appreciated.

            Did you upload the pngfix.js file? It's not where the browser would be
            looking for it: http://sherburnfootclinic.co.uk/pngfix.js

            Gary
            • 3. Re: 1st site and .png
              Mr_postman Level 1
              Hi,
              Thanks. I think i had my path set incorrectly so it wasn't picking up the .js file. Could someone check it out on PC IE please and let me know if the top image has rounded corners, i.e. transparency is working, or it has sqaure corners i.e. hack not working. Also Is there anyway I can simplify my CSS? I'm still getting my head around this inheritance thing so I think I may have more code than I need?

              Thanks
              • 4. Re: 1st site and .png
                Excavatorak Level 1
                Yup, rounded corners look good in IE here.
                • 5. Re: 1st site and .png
                  Level 7
                  On Sat, 6 May 2006 13:46:37 +0000 (UTC), "Excavatorak"
                  <stewart@nopeople.com> wrote:

                  > I've never used a .png so I'm not familiar with the hack. Have you tried
                  >changing that to a .jpg with a transparent background? I've used them before.


                  The jpg file format does not support tranparency. Perhaps you were
                  thinking of gif.

                  Gary
                  • 6. Re: 1st site and .png
                    Level 7
                    Regardless, I'd love to see one of them.... 8)

                    --
                    Murray --- ICQ 71997575
                    Adobe Community Expert
                    (If you *MUST* email me, don't LAUGH when you do so!)
                    ==================
                    http://www.dreamweavermx-templates.com - Template Triage!
                    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                    ==================


                    "Gary White" <reply@newsgroup.please> wrote in message
                    news:4u7q52dq7iqs8gm4od2j2fksu8ft2m22h6@4ax.com...
                    > On Sat, 6 May 2006 13:46:37 +0000 (UTC), "Excavatorak"
                    > <stewart@nopeople.com> wrote:
                    >
                    >> I've never used a .png so I'm not familiar with the hack. Have you tried
                    >>changing that to a .jpg with a transparent background? I've used them
                    >>before.
                    >
                    >
                    > The jpg file format does not support tranparency. Perhaps you were
                    > thinking of gif.
                    >
                    > Gary


                    • 7. Re: 1st site and .png
                      Excavatorak Level 1
                      Oops, sorry about that Mr postman. Gary is right, I meant .gif.