Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 27-07-2009
Members
 
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.
Reply With Quote
  #2  
Old 27-07-2009
Member
 
Join Date: Feb 2008
Posts: 1,848
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>
Reply With Quote
  #3  
Old 27-07-2009
Members
 
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.
Reply With Quote
  #4  
Old 27-07-2009
Member
 
Join Date: May 2008
Posts: 2,008
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 }.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 01:23 AM.