Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Monastery Gates page is too wide

by jonnybe (Scribe)
on Sep 30, 2004 at 21:18 UTC ( #395485=note: print w/ replies, xml ) Need Help??


in reply to Monastery Gates page is too wide

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; )


Comment on Re: Monastery Gates page is too wide
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://395485]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-09-22 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (185 votes), past polls