Edit report at https://bugs.php.net/bug.php?id=65109&edit=1

 ID:                 65109
 Comment by:         [email protected]
 Reported by:        pet dot draexler at gmail dot com
 Summary:            Formatting of docs
 Status:             Verified
 Type:               Bug
 Package:            Website problem
 Operating System:   Windows 7
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

I have fixed this using JS and took out the CSS hack that didn't work and 
caused  
problematic formatting issues for all types of users.

Now users with JS (most of them) will not experience this layout problem. Users 
without JS will see a little extra spacing but if they don't have JS turned 
on then this isn't their worst problem.

Once PHD is fixed to remove this random empty paragraph tag then this JS can be 
removed.

https://github.com/php/web-php/commit/3042ff3b32f71c4b6b76329c128e56c8de22870e

Thanks,
Paul


Previous Comments:
------------------------------------------------------------------------
[2013-06-27 18:09:32] [email protected]

I should have already posted that I know why this is an issue. Unfortunately it 
will most likely require a change in the PhD system. Short-term we can remove 
the 
style which will cause large spacing issues on the majority of pages but will 
fix 
the formatting for these cases.

------------------------------------------------------------------------
[2013-06-27 15:15:40] gabri dot ns at gmail dot com

When look into the doc.css,
I see some thing like this

.docs .refentry .parameters .title + p.para + dl,
.docs .refsect1.examples .title + p.para + *,
.docs .refsect1.seealso .title + p.para + * {
    margin-top:-1.5em;
    /* there's a p tag that has whitespace (not :empty).
       This simply covers it up */
}

The comment was explaining that this entry is used
to cover up other element. However, there is p.para
element that actually didn't empty. When i disable
this entry, it fix the problem.

------------------------------------------------------------------------
[2013-06-25 07:01:22] [email protected]

Ah, verified, this bug is specific to the beta site. Marking this as a web 
problem.

Thank you for the bug report! :)

------------------------------------------------------------------------
[2013-06-25 05:18:47] gabri dot ns at gmail dot com

Related To: Bug #65107

------------------------------------------------------------------------
[2013-06-25 05:03:08] gabri dot ns at gmail dot com

from the screenshot, what i think is that it lack of stylesheet since there is 
no 
bounding box at all. i'm using the same browser and the same version, that is 
the 
latest, and its fine here.

try refreshing your browser.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=65109


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=65109&edit=1

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to