[Qt-interest] Qt CSS help

Joshua Grauman jnfo-c at grauman.com
Wed Jan 27 01:14:22 CET 2010


FYI,

Here's how to do it. Sorry for the bother...

<style> p { text-indent: 0px; margin-left: 0px; margin-right: 0px; 
margin-top: 0px; margin-bottom: 0px; } </style>

Josh

> Hello all,
>
> I was wondering if someone could help me with Qt's CSS support. I've been
> trying to set margins for the whole document and haven't gotten it to
> work. I know I can add it to each individual paragraph in the <p> tag, but
> I'd like to set the margins document wide. I've tried various things, all
> along the lines of the following, and nothing has worked. Does anyone have
> any ideas? Thanks.
>
> <body
> style="text-indent:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">
>
> Josh
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



More information about the Qt-interest-old mailing list