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. ASP.NET
  4. How do I get rid of margins and borders!!

How do I get rid of margins and borders!!

Scheduled Pinned Locked Moved ASP.NET
helpquestioncsharp
2 Posts 1 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.
  • B Offline
    B Offline
    BenPage
    wrote on last edited by
    #1

    Hi there.. I have a webform on which I place a table. This is the code for the page.. <%@ Master Language="C#" AutoEventWireup="true" CodeFile="Main.master.cs" Inherits="MasterPages_Main" %> Main Master Page This is the side panel for the side menu The page is a master page. My problem is that I set the "margin" and "border" of the body of the page to 0pixels but still there is spacings between the cells of the table when the page is loaded..I have tried setting the "margin" and "border" settings of the table and the rows and the cells but it just wont work!!! Where is the ghost in this code or my machine??? Thanks for your help!! Ben

    B 1 Reply Last reply
    0
    • B BenPage

      Hi there.. I have a webform on which I place a table. This is the code for the page.. <%@ Master Language="C#" AutoEventWireup="true" CodeFile="Main.master.cs" Inherits="MasterPages_Main" %> Main Master Page This is the side panel for the side menu The page is a master page. My problem is that I set the "margin" and "border" of the body of the page to 0pixels but still there is spacings between the cells of the table when the page is loaded..I have tried setting the "margin" and "border" settings of the table and the rows and the cells but it just wont work!!! Where is the ghost in this code or my machine??? Thanks for your help!! Ben

      B Offline
      B Offline
      BenPage
      wrote on last edited by
      #2

      It was not the margins or the borders in the end that created the spaces...It was the cellspacing that was causing the problem Thanx Ben

      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