NS 4.x CSS bug on PRE (was Re: [gst-devel] flow network terminology)

David I. Lehn dlehn at vt.edu
Sat Apr 14 20:43:35 CEST 2001


* Tim 'Tool-Man' Taylor <tim at tool-man.org> [20010330 18:37]:
> One quick workaround would be to change wiki-support/default.css to have:
> 
> @media all { /* XXX: NS4.x ignores @media */
>      pre.code { margin-top: 8pt; } /* XXX: dummy selector for IE4 */
>      pre.code {
>          margin-top: 8pt;
>          margin-bottom: 8pt;
>          background-color: #E0E0E0;
>          white-space: pre;
>          border-style: none;
>          border-width: thin;
>          width: 100%;
>      }
> }
> 
> This will cause NS4.x to do the default rendering of PRE while less 
> broken browsers render it with the appropriate styling.
> 

Well... i did a different fix.  i commented out border-width.  that
makes it look kinda dumb cause background isn't stretched to the right.
but it looks ok in mozilla and its monospace in ns 4.7 it seems.  good
enough for me.

-dave
-- 
David I. Lehn <dlehn at vt.edu>  | http://www.lehn.org/~dlehn/
Computer Engineering Graduate @ Virginia Tech in sunny Blacksburg, VA




More information about the gstreamer-devel mailing list