Results 1 to 4 of 4

Thread: CSS border length and spacing

  1. #1
    Join Date
    May 2009
    Posts
    37

    CSS border length and spacing

    Hi friends,

    I am making a web based project of my college and over here i am facing some issues with it's border length and spacing everything is working fine but the "length" or "spacing" property does not take. The length of the border persists in being 100% of the side of the div.this properties it's not working. Can anyone help me out with this issue.

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    CSS border length and spacing

    IF you want to set border length and spacing for that try to use the below code.

    HTML Code:
    <div id="border-div"> 
    <div id="content-div"> 
    Data goes here 
    </div>
    </div>

  3. #3
    Join Date
    May 2009
    Posts
    37

    CSS border length and spacing

    I have try to use the above code it's not working for me can anyone give tell me some another alternative for the same. Thanks for giving me reply.

  4. #4
    Join Date
    May 2008
    Posts
    2,012

    CSS border length and spacing

    If you are talking about border length and spacing then it's not the borders, it's the size of the box which you need to specify and for giving spacing between the boxes is being given by padding property which you would be knowing it. If you are having any horizontal rules in that case you need to set the width as hr { width: 90%; margin-top: 2em; margin-bottom: 2em }.

Similar Threads

  1. Microsoft Excel 2007 Character Spacing
    By Sachi Trivedi in forum MS Office Support
    Replies: 4
    Last Post: 24-01-2012, 02:21 PM
  2. How to change spacing between icons on the taskbar
    By Qamar in forum Operating Systems
    Replies: 4
    Last Post: 23-04-2011, 06:54 AM
  3. Problems in Excel for No Return Spacing
    By HAMSINI in forum Windows Software
    Replies: 4
    Last Post: 04-11-2010, 04:37 AM
  4. CSS Line Spacing
    By Krish07 in forum Software Development
    Replies: 5
    Last Post: 21-09-2009, 01:56 PM
  5. digital spacing
    By puk284 in forum Software Development
    Replies: 1
    Last Post: 09-06-2009, 08:12 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,709,541.08145 seconds with 16 queries