Bug #2021
closed
  
tab display type set to div causes tab content to extend out of tab
 
        
        Added by krileon about 15 years ago.
        Updated almost 15 years ago.
        
Start date:
19 October 2010
 
  
  
  
  Description
  
  When using the profile tab display type of DIV the contents of the tabs extend outside of the tab it self. The following is the proposed culprit as divs without a display style are already the correct width (large as they can go). Forcing width of 100% will cause it to extend outside of the tabs content.
	IN: components/com_comprofiler/plugin/templates/default/template.css
ON: Line 103
	form.cb_form, .cb_tab_content {
 border-width: 0;
 margin: 0;
 padding: 0;
 width: 100%;
}
	Removing width: 100%; appears to resolve the issue, but may affect table usage.
   
 
  
  Files
  
 
  
  
    
    
    
    
    removed .cb_tab_content from being affected by the forms CSS
 
   
  
  
    
    
    
    
       - Status changed from New to Resolved
 
   
  
  
    
    
    
    
       - Status changed from Resolved to Closed
- % Done changed from 80 to 100
- Estimated time set to 0:30 h
As discussed in CB Team:
	r1273 makes tables the default also on new installations.
	This will give less support on forums, and still allow people that want divs to do it right, and not break existing CB templates.
	CB 2.0 with only divs is coming up, and requires different templates, so it's best to do the change at that time.
 
   
  
  
    
    
    
    
       - Status changed from Closed to New
- % Done changed from 100 to 50
 
   
  
  
    
    
    
    
       - Status changed from New to Closed
- % Done changed from 50 to 100
CB r1200 and coolness/mycommunity r1504 fixes this bug and the related bug #2083 .
 
   
  
 
  
  
 
Also available in:  Atom
  PDF