Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hi all, Disclaimer...this is my first attempt at playing with style sheets. Any pointers would be welcome. Also, this was only tested on Firefox 0.9.

On main pages such as The Gates, there are no class or ID definitions in the table tags so I can't figure out how to narrow the "reply to" column.

Lines that don't wrap, will continue on past the margins and won't be completely visible.

Jon

/*** Force all tables to use hard dimensions. Exceptions will have to be handled individually due to lack of class and id declarations on certain tables. ***/ table { table-layout: fixed; } /*** For some reason the monkbar is too long. This may need to change depending on your setup. ***/ table#monkbar { width: 85%; } /*** The section links were cut off. ***/ td.titlechooser { width: 40%; } /*** My prefered width for the main area. ***/ td.main_content { width: 85%; } /*** Big text editing box for replies. ***/ textarea { width: 100%; height: 25em; } /*** When viewing a node with replies, the replies table needs to be set back to auto ***/ table#replies_table { table-layout: auto; )

In reply to Re: Monastery Gates page is too wide by jonnybe
in thread Monastery Gates page is too wide by dmmiller2k

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-24 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found