Re: css (again)
[email protected] ("Steph Fox") Wed, 12 Jul 2006 20:05:23 +0200
| Newsgroups | php.gtk.webmaster |
|---|---|
| Message-ID | <0f0e01c6a5dd$bf58c860$6602a8c0@foxbox> |
> Steph Fox wrote:
>> Do you have somewhere to test this before you put it live? I'm a bit
>> concerned about it appearing a mess on the live server, since it can
>> take a couple of hours to see a server refresh... that particular cell
>> contains a lot of different things in a lot of different places, which
>> is why I didn't notice the manual wasn't looking too great until just
>> now.
>
> I don't have a way to display it publicly very easily. To just test it
> locally, I had to build the phpweb version of the manual, link it to my
> php-gtk-web checkout, update include/layout.php, update .htaccess,
> update the particular doc page I was looking at and then make the
> changes to the stylesheet and shared-manual. I don't really want to (or
> have time to) do all that again on a public server.
You didn't have the option to keep it there? That's a bummer.
> I can send the patches to style.css and shared-manual.inc if you want.
> Then you can test it on your local environment. In fact, here they are.
You're assuming I have a clean environment :) 1. I don't, I was testing
with the xhtml stuff so kept everything back from recent changes (because
xhtml 'just works') and 2. I don't anyway because I've never been able to
make include paths work properly with my setup (probably because I keep all
the PHP versions some distance from Apache, & I use cgi here cos it's
easiest if you're flicking between PHP versions).
If neither of us has time right now, I suggest we leave off making any
further changes it until one of us has time to do the job properly. Pity
though.
- Steph
>
> Scott
--------------------------------------------------------------------------------
> Index: include/shared-manual.inc
> ===================================================================
> RCS file: /repository/php-gtk-web/include/shared-manual.inc,v
> retrieving revision 1.74
> diff -u -r1.74 shared-manual.inc
> --- include/shared-manual.inc 11 Jul 2006 08:10:16 -0000 1.74
> +++ include/shared-manual.inc 12 Jul 2006 17:59:33 -0000
> @@ -61,7 +61,7 @@
> '<br /></td></tr>';
> }
>
> - $SIDEBAR_DATA.= '<tr valign="top"><td><small>';
> + $SIDEBAR_DATA.= '<tr valign="top"><td id="docnav">';
>
> for ($i = 0; $i < count($TOC); $i++) {
> list($url, $title, $type) = $TOC[$i];
> @@ -100,7 +100,7 @@
> make_link($url, make_image($img, $title) . $title ) .
> '<br />';
> }
> - $SIDEBAR_DATA.= '</small></td></tr>';
> + $SIDEBAR_DATA.= '</td></tr>';
> }
> $SIDEBAR_DATA.= '</table></form>';
> }
>
>
> __________ NOD32 1.1380 (20060125) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
--------------------------------------------------------------------------------
> Index: style.css
> ===================================================================
> RCS file: /repository/php-gtk-web/style.css,v
> retrieving revision 1.23
> diff -u -r1.23 style.css
> --- style.css 11 Jul 2006 12:45:46 -0000 1.23
> +++ style.css 12 Jul 2006 17:59:49 -0000
> @@ -52,6 +52,10 @@
> padding: 5px;
> }
>
> +#docnav {
> + font-size: 1em;
> +}
> +
> .sidebar p {
> text-align: left !important;
> }
>
>
> __________ NOD32 1.1380 (20060125) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>