[IPython-dev] presentation mode css surgery

Satrajit Ghosh satra@mit....
Wed Jun 12 11:11:19 CDT 2013


thanks very much matthias.

cheers,

satra

On Wed, Jun 12, 2013 at 12:05 PM, Matthias BUSSONNIER <
bussonniermatthias@gmail.com> wrote:

> The most specific rule apply.
> As you have at least `.rendered_html table` rule you have to be at least
> as specific, or more.
>
> Prepending a .rendered_html to your example works for me.
>
> <style>
> .rendered_html table{border:0px}
> .rendered_html tr{border:0px}
> .rendered_html td{border:0px}
> </style>
>
> <table>
> <tr>
> <td>
> sth1
> </td>
> <td>
> sth2</td>
> </tr>
> </table>
>
>
> Le 12 juin 2013 à 17:52, Satrajit Ghosh a écrit :
>
> i did mean to write style.
>
> <style type="text/css">
> table tr td {border: 0px;}
> </style>
>
> btw, if i inspect element and change the border in matched css rules, i
> get the desired effect.
>
> cheers,
>
> satra
>
>
> On Wed, Jun 12, 2013 at 11:43 AM, Matthias Bussonnier <
> bussonniermatthias@gmail.com> wrote:
>
>> Do you really wrote script in your md cell whet you where meanin to write
>> style?
>> --
>> M
>>
>> Le mercredi 12 juin 2013, Satrajit Ghosh a écrit :
>>
>> hi all,
>>>
>>> i'm trying to turn the border=0px for just the following table in a
>>> given markdown cell. the rendered html seems to override it with a managed
>>> css from style.min.css. any thoughts on how i can apply a css setting to
>>> just a single element.
>>>
>>> ```
>>> #Software interfaces
>>>
>>> Currently supported (5-2-2013).
>>>
>>> <table>
>>> <tr>
>>> <td>
>>> sth1
>>> </td>
>>> <td>
>>> sth2</td>
>>> </tr>
>>> </table>
>>> ```
>>>
>>> here are the things that i have tried:
>>>
>>> 1. <table style="border:0px">
>>>
>>> 2. <script> table {border: 0px} </script> (this actually gets stripped
>>> out)
>>>
>>> cheers,
>>>
>>> satra
>>>
>>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20130612/7a5b2845/attachment-0001.html 


More information about the IPython-dev mailing list