HTML question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MrCockTale
    Confirmed User
    • Jan 2001
    • 669

    #1

    HTML question

    I use topmargin="0" leftmargin="0" oin the body

    In IE it looks all good with no space on the
    left and top side, but with Netscape and
    Opera there still is about 1cm white space..

    How can I fix this?

    ------------------
    Life's a bitch
    =========================
    www.pink-post.com
  • RedShoe
    赤い靴 call me 202-456-1111
    • Feb 2001
    • 14831

    #2
    Is it possible to set your BGCOLOR in your body to match the BG color of the graphic, or table that your trying to set to topmargin="0" leftmargin="0"

    I've also had trouble with this.

    Go here http://htmlgoodies.earthweb.com/
    and notice that even in Netscape he doesn't have that white space.
    Maybe try learn it from his source, I looked but didn't see anything out of the ordinary.

    Maybe his BG image is what helps to eliminate the white space.

    ------------------
    ...:::End Of Line:::...
    ------------------
    * uSexFan.com
    * ICQ : 114683191

    SPECIALTY COSTUMES • PROPS • FX
    Superheroes • Monsters • Robots
    PM for details


    For any manufacturing needs. Adult or otherwise.

    aka BonsHigh on Insta
    Bonsai weed plants


    Comment

    • RedShoe
      赤い靴 call me 202-456-1111
      • Feb 2001
      • 14831

      #3
      Here's something interesting. I actually have the exact opposite problem http://LeeannOnline.com

      In Netscape, it works fine.
      In IE, I get that 1cm gap.

      This may help to know,
      My body tag has this in it,
      leftmargin=0 topmargin=0 marginwidth=0 marginheight=0

      According to "html for dummies - The quick reference 2nd Edition" (my one and only html book) the marginwidth, and marginheight tags are only used for Frames in IE.

      Maybe that explains why @ LeeannOnline it works in netscape and not IE.


      ------------------
      ...:::End Of Line:::...
      ------------------
      * uSexFan.com
      * ICQ : 114683191

      [This message has been edited by RedShoe (edited 06-03-2001).]

      SPECIALTY COSTUMES • PROPS • FX
      Superheroes • Monsters • Robots
      PM for details


      For any manufacturing needs. Adult or otherwise.

      aka BonsHigh on Insta
      Bonsai weed plants


      Comment

      • MrCockTale
        Confirmed User
        • Jan 2001
        • 669

        #4
        I use that code in the body tag so the
        whole page including all tables will be shown
        without white space..



        ------------------
        Life's a bitch
        =========================
        www.pink-post.com

        Comment

        • MrCockTale
          Confirmed User
          • Jan 2001
          • 669

          #5
          *posted html code here, but html is enabled*

          [This message has been edited by MrCockTale (edited 06-03-2001).]
          =========================
          www.pink-post.com

          Comment

          • MrCockTale
            Confirmed User
            • Jan 2001
            • 669

            #6
            ahh thanks RedShoe, I added
            marginwidth=0 marginheight=0 and it works
            now.. in IE AND Netscape..


            So I guess this is the solutions, add

            body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0

            to the body tag (WITHOUT "")


            ------------------
            Life's a bitch

            [This message has been edited by MrCockTale (edited 06-03-2001).]

            [This message has been edited by MrCockTale (edited 06-03-2001).]

            [This message has been edited by MrCockTale (edited 06-03-2001).]
            =========================
            www.pink-post.com

            Comment

            • Lord Assmore
              Confirmed User
              • Mar 2001
              • 588

              #7
              It doesn't work with Opera, because those attributes are NS/IE proprietary stuff. Opera only recognizes the correct W3 HTML standard. So you have to use CSS to set the document margins to zero width.

              Add this

              style="margin: 0px"

              to your BODY tag, or

              <style type="text/css">
              <!--
              BODY {margin: 0px}
              -->
              </style>

              to your HEAD tag.

              Comment

              • Lord Assmore
                Confirmed User
                • Mar 2001
                • 588

                #8
                MrCockTale, when attribute values are pure numbers, it doesn't matter if you sorround them with quotation marks or not. It works both ways, and has exactly the same meaning to a browser.

                Comment

                • MrCockTale
                  Confirmed User
                  • Jan 2001
                  • 669

                  #9
                  If I remove the "" it works with Opera,
                  Netscape en IE and if I don't remove them
                  it only works with IE.

                  ------------------
                  Life's a bitch
                  =========================
                  www.pink-post.com

                  Comment

                  • Rilose
                    Confirmed User
                    • Feb 2001
                    • 565

                    #10
                    use a background image ....we used one for this site here at the office....
                    GFX/WEB/PRINT
                    r i l o s e @ h o t m a i l . d o t c o m

                    Comment

                    Working...