Scrollable PHP Table [closed] - php

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I am currently working on a website for a client, and the client specifically wants all PHP tables to be scrollable. Is there any way that this can be done? I have tried wrapping in a div and I tried adding it into the php stylesheet, but I am still not getting anything. So any help would be greatly appreciated thanks. It's a data table for live feed data.

I assume you get some data from a database through php and generates a html table through php with the data in it?
Wrap a div around the table with the following css
div{
height: 300px, // or another height
overflow: scroll
}

Related

XCRUD : how to insert html? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I use an old library xcrud (php) from https://codecanyon.net/item/xcrud-data-management-system-php-crud
And I fo try to insert some HTML tags, but they are all stripped.
Any idea on how to avoid stripping html tags ?
Regards
There is a new Version of Xcrud that could work better for your need. You can find it here www.xcrud.net and they still offer support.
To also avoid the tags from being stripped, you can use tinyMCE by specifying a column to be text.

What could be affecting on my code to got a huge-change font-size? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I have a code like this :
<p><span><span>text</span></span></p>
When I say the font-size in anywhere of this elements, visibility on mobile does a big change between 23px and 24px, using em and pt too.
When I use 23px, it looks well... When I update to 24px: seems like 48px or more changed.
I don't use font-size in NO element before in all document, except the base css where 1.1em is updated.
I think is anoying but I don't have another way to explain it...
https://i.stack.imgur.com/JsITN.png (I cannot post images yet :/ )
see if you have og::content and you determinate width header
HTML syntax only values 1-7 possible:
<font size="6">This is some text!</font>
CSS syntax:
<p style="font-size:20px">This is some text!</p>
You sure you writing it properly?

CSS bug. A line appeared and I can't make it dissapear [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I am coding up a page and I have placed a form in a container-fluid div. And it made a line to appear and I can't make it dissapear.
This is the page : http://sacim-design.esy.es/contact.php
This is a screenshot with the border : screenshot
Remove html tag <legend>or restyle it
CSS
legend{
border:none;
}
Beware, you are using bootstrap styles..to make your custom styles you
need to overwrtite them
Your problem is an empty <legend></legend> tag inside your form. It has a border-bottom rule. Just remove this element.

CSS disable horizontaly scrolling - Wordpress [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Hi im working on a wordpress blog and have the following problem:
http://www.catlovers.co/17-cat-reactions-that-sum-up-your-love-life/
If i resize the browser (X-Axies) to a minimum like surfing on a mobile device i am able to scroll to the right in the Contend section (hold down middle mouse button).
How can i change my CSS to disable this kind of scrolling?
I think my problem has something to do with the "post-container" class. Is the "overflow:auto" a possible problem?
Try This: in your css
#media only screen and (max-width: 479px){
.post-container{overflow: hidden;}
}

Very long horizontal scroll to the left in my page [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
In my Wordpress page, there is a scroll bar at the bottom, which takes the page to an empty region to the left. I tried to inspect the element causing this but I couldn't.
Why does this happen? And how can I investigate the cause of this?
Thank you.
I've noticed you have left: -999em and some other declarations that pull your items way to the left. Usually this is done so the items are hidden from the viewport, which is fine.
To fix this issue, simply add overflow: hidden to your body {} in your stylesheet file, for example:
body { overflow: hidden; }

Categories