Thread: div css
View Single Post
  #2 (permalink)  
Old 09-12-08, 02:42 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
1: you need to explain a little more what you're trying to do. Are you trying to make a gradient border?

2: this is the solution:
CSS Code:
  1. .myDiv {
  2.   position:relative;
  3.   margin:0 auto;
  4.   width:500px;
  5. }

3: this will do the trick:
CSS Code:
  1. .myDiv {
  2.   overflow:auto;
  3. }
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote