1
powadha
Codeblock width
  • 2007/4/12 19:15

  • powadha

  • Just popping in

  • Posts: 41

  • Since: 2005/2/27


On xoops.org a codeblock is limited to a certain width. How can I get this done?

Regards

2
JCDunnart
Re: Codeblock width
  • 2007/4/16 8:47

  • JCDunnart

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/7/1 5


style.css,
find the 'xoopsCode' style and add a width value.

At xoops.org I think they use:
div.xoopsCode {    font-size12px;
    
font-familyFixedSys"Courier New",Courier,monospace;
    
background#fffff8;
    
border1px solid #6C87B0;
    
color#385a72;
    
width95%;
    
height200px;
    
margin0.5em;
    
overflowauto;
    
padding3px 3px 3px 3px;
}


Tip - I found this by using the firefox Web Developer extension

Login

Who's Online

167 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 167


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits