Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. HTML layout

HTML layout

Scheduled Pinned Locked Moved Web Development
htmlhelpquestion
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raj_marthy
    wrote on last edited by
    #1

    I have a webpage which looks like some thing like this

    ----HTML INSIDE---- DIV> I want to make this webpage look real tight. How can I make the border of the div tag start right at the frame begininng. i mean it is giving me some white space between the frame and the contents of the div tag. i want to make it real tight. if i put a table between the frame and div i get this tight but i cant do that. can any body help me please! Thanks, Raj

    R F 3 Replies Last reply
    0
    • R raj_marthy

      I have a webpage which looks like some thing like this

      ----HTML INSIDE---- DIV> I want to make this webpage look real tight. How can I make the border of the div tag start right at the frame begininng. i mean it is giving me some white space between the frame and the contents of the div tag. i want to make it real tight. if i put a table between the frame and div i get this tight but i cant do that. can any body help me please! Thanks, Raj

      R Offline
      R Offline
      raj_marthy
      wrote on last edited by
      #2

      sorry for the typo it looks like

      ----HTML INSIDE----

      1 Reply Last reply
      0
      • R raj_marthy

        I have a webpage which looks like some thing like this

        ----HTML INSIDE---- DIV> I want to make this webpage look real tight. How can I make the border of the div tag start right at the frame begininng. i mean it is giving me some white space between the frame and the contents of the div tag. i want to make it real tight. if i put a table between the frame and div i get this tight but i cant do that. can any body help me please! Thanks, Raj

        R Offline
        R Offline
        raj_marthy
        wrote on last edited by
        #3

        ITS NOT TAKING THE DIV TAG WHEN I TYPE HERE FOR SOME REASON it looks like .ok now i got it i didnt check do not treat as html tags before

        html inside

        1 Reply Last reply
        0
        • R raj_marthy

          I have a webpage which looks like some thing like this

          ----HTML INSIDE---- DIV> I want to make this webpage look real tight. How can I make the border of the div tag start right at the frame begininng. i mean it is giving me some white space between the frame and the contents of the div tag. i want to make it real tight. if i put a table between the frame and div i get this tight but i cant do that. can any body help me please! Thanks, Raj

          F Offline
          F Offline
          fakefur
          wrote on last edited by
          #4

          Make sure you set framemargin=0 and all that stuff

          R 1 Reply Last reply
          0
          • F fakefur

            Make sure you set framemargin=0 and all that stuff

            R Offline
            R Offline
            raj_marthy
            wrote on last edited by
            #5

            yes i did the main thing is what will be the difference between to have a div tag and a table tag inside a frame. if I put a div tag directly inside a frame it gives some white space between, but when I wrap this div tags within a table then it doesnt give me white space. what is the difference? can you please let me know? the problem is i cant put it inside a table.

            F 1 Reply Last reply
            0
            • R raj_marthy

              yes i did the main thing is what will be the difference between to have a div tag and a table tag inside a frame. if I put a div tag directly inside a frame it gives some white space between, but when I wrap this div tags within a table then it doesnt give me white space. what is the difference? can you please let me know? the problem is i cant put it inside a table.

              F Offline
              F Offline
              fakefur
              wrote on last edited by
              #6

              I would imagine its a rendering "feature" of the browser. Have you tried it on all browsers with the same result?

              V R 2 Replies Last reply
              0
              • F fakefur

                I would imagine its a rendering "feature" of the browser. Have you tried it on all browsers with the same result?

                V Offline
                V Offline
                Vecta
                wrote on last edited by
                #7

                Make sure that body and div have margin: 0 and padding: 0 in your style sheet.

                1 Reply Last reply
                0
                • F fakefur

                  I would imagine its a rendering "feature" of the browser. Have you tried it on all browsers with the same result?

                  R Offline
                  R Offline
                  raj_marthy
                  wrote on last edited by
                  #8

                  yes I only need that in IE and its not working on that. I made all the margins and div tags to 0. The thing is if I put a table in a frame its fine but not when i put a div tag in a frame. i dont know the reason

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups