5 Replies Latest reply on Aug 8, 2008 1:02 AM by Newsgroup_User

    W3C and  'hspace'

    Karlhevera Level 1
      To position an image, I have used hspace=10". But when I validated it through W3C, it came up as an error, despite the fact that on their website 'hspace' is listed as accepable in W3C? What is the alternative, please?
        • 1. Re: W3C and  'hspace'
          Level 7
          Karlhevera wrote:
          > To position an image, I have used hspace=10". But when I validated it through
          > W3C, it came up as an error, despite the fact that on their website 'hspace' is
          > listed as accepable in W3C? What is the alternative, please?

          CSS, create a class with

          padding-top:10px;
          padding-bottom:10px;

          Steve
          • 2. Re: W3C and  'hspace'
            Level 7
            What is the doctype on the page? You learn slowly, right? 8)

            --
            Murray --- ICQ 71997575
            Adobe Community Expert
            (If you *MUST* email me, don't LAUGH when you do so!)
            ==================
            http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
            http://www.dwfaq.com - DW FAQs, Tutorials & Resources
            ==================


            "Karlhevera" <webforumsuser@macromedia.com> wrote in message
            news:g7ek5v$943$1@forums.macromedia.com...
            > To position an image, I have used hspace=10". But when I validated it
            > through
            > W3C, it came up as an error, despite the fact that on their website
            > 'hspace' is
            > listed as accepable in W3C? What is the alternative, please?
            >
            >

            • 3. Re: W3C and  'hspace'
              Karlhevera Level 1
              quote:

              Originally posted by: Newsgroup User
              What is the doctype on the page? You learn slowly, right? 8)

              --
              The page is STRICT. Will use the padding suggestion. Learn slowly? Yeah, very true.... but had a very fast life... :-))

              "Karlhevera" <webforumsuser@macromedia.com> wrote in message
              news:g7ek5v$943$1@forums.macromedia.com...
              > To position an image, I have used hspace=10". But when I validated it
              > through
              > W3C, it came up as an error, despite the fact that on their website
              > 'hspace' is
              > listed as accepable in W3C? What is the alternative, please?
              >
              >




              • 4. Re: W3C and  'hspace'
                Level 7
                .oO(Dooza)

                >Karlhevera wrote:
                >> To position an image, I have used hspace=10". But when I validated it through
                >> W3C, it came up as an error, despite the fact that on their website 'hspace' is
                >> listed as accepable in W3C? What is the alternative, please?
                >
                >CSS, create a class with
                >
                >padding-top:10px;
                >padding-bottom:10px;

                That would be the replacement for 'vspace'. ;)

                Micha
                • 5. Re: W3C and  'hspace'
                  Level 7
                  Michael Fesser wrote:
                  > ..oO(Dooza)
                  >
                  >> Karlhevera wrote:
                  >>> To position an image, I have used hspace=10". But when I validated it through
                  >>> W3C, it came up as an error, despite the fact that on their website 'hspace' is
                  >>> listed as accepable in W3C? What is the alternative, please?
                  >> CSS, create a class with
                  >>
                  >> padding-top:10px;
                  >> padding-bottom:10px;
                  >
                  > That would be the replacement for 'vspace'. ;)
                  >
                  > Micha

                  I always get them the wrong way around...

                  so it should be

                  padding-left:10px;
                  padding-right:10px;

                  Thank you Micha :)

                  Steve