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 03-08-2009
Member
 
Join Date: Jul 2009
Posts: 36
CSS limit border

Hi friends,

I am working on a web project where i want to set the limit of the border of a web page. At the same time i need to specify the white space within a border which would be above, below and besides the words enclosed in the border? I have try a lot to to find out it's code but was not able to get it.
Reply With Quote
  #2  
Old 03-08-2009
Member
 
Join Date: Dec 2008
Posts: 128
CSS limit border

I was also having similar type of issue and i try to find a lot over internet and asked many people about the same and finally i imitated the border with background images and it was somewhat to my expectations. Try to follow the same thing hope it works for you.
Reply With Quote
  #3  
Old 03-08-2009
Member
 
Join Date: Jan 2009
Posts: 91
CSS limit border issue

I guess Vibha is correct , as per my knowledge CSS border element is a border and therefore you are able to have side but it's length would be always 100%. By using <div> you can get the effect for it. Always remember margin and backgrounds are used for test display purposes only.


HTML Code:
#border-div {position: relative; width: 250px; height: 160px; border-right: 2px #f00 solid; border-left: 2px #f00 solid; margin: 20% 0 0 20%;
}
#content-div {position: absolute; top: 0; left: 0; width: 100%; height: 200px; background: #ff0;
}
Reply With Quote
  #4  
Old 03-08-2009
Member
 
Join Date: May 2008
Posts: 2,383
CSS limit border problem

Try to use the following code hope it works for you, because i was able to have
CSS limit border by using the following code.

Code:
table
{
border-collapse:separate;
border-spacing:10px 50px;
}
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "CSS limit border"
Thread Thread Starter Forum Replies Last Post
What is Border Gateway Protocol? sRIPRIYA Networking & Security 4 27-12-2010 08:44 AM
How to limit upload limit for each torrent Asclepius Technology & Internet 6 18-06-2010 05:05 AM
CSS border length and spacing Visala Software Development 3 27-07-2009 05:08 PM
How to fix MAC black border dan-dan Operating Systems 3 20-06-2009 07:57 PM
No Border In iframe QUINEISHA Software Development 2 16-05-2009 01:04 PM


All times are GMT +5.5. The time now is 03:52 AM.