Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation – table layout in 'List of resource types' is broken #688

Open
JdeBud opened this issue Aug 26, 2022 · 1 comment
Open
Labels

Comments

@JdeBud
Copy link

JdeBud commented Aug 26, 2022

In the PHP manual, the table is not in its place in the "Layout Content" section of the HTML. It seems to be a simple problem with the styling of the CSS.

Take a look on List of Resource Types.

image

<!DOCTYPE html>
<!--[…]-->
<div id="layout" class="clearfix">
    <section id="layout-content">
        <!--[…]-->
        <div id="resource" class="appendix">
            <!--[…]-->
            <table class="doctable table"> <!-- This is outside the frame -->
            <!--[…]-->
@cmb69
Copy link
Member

cmb69 commented Aug 26, 2022

Yeah, the overflowing tables are a known issue. Basically, this could be solved by applying overflow-x:scroll, but I'm not convinced that would be the right solution (consider mobile devices). Instead, I suggest to reconsider the use of tables; in this case, a structured list might be more appropriate (in which case that wouldn't be a web-php issue, but rather a doc-en issue, or possibly a phd issue).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants