Output text from database search is much larger than specified in css file

I am developing a website using PHP and displaying results form a search of MySQL database
in a table. i am using css file and previously it has worked well even when displaying results. It has previously displayed results in a table to the correct size as specified in the css file loginmodule.css
as in the following code:

.............................. .............................. .............................. ..............................

however now the text in the output table is much larger than it was specified in the loginmodule.css file
even thopugh I still have included the the above in the section of the file.

Anybody got any ideas on this. Thanks, Brian.

Brian,
We would love to help. But, since you did not post any code, it is hard to “guess” what you need
help with…

So, first, you should log into your database manager system and look at the live data inside the
table you are trying to display. Sometimes the data is corrupted due to hackers, bad input validation
or just someone typing too much garbage. But, that is the first step. Make sure the data is correct.

Next, if your two files, the one displaying the data and the CSS file are documented correctly, then there
should be a changelist in them that shows changes made. Check them if the exists to see what has been
changed.

Lastly, you can place debug code into your display to see what is being pulled from the database and
help you in viewing the real data instead of the CSS styled versions. As an example, if the data is pulled
to be displayed as text, you can look at the variable that hold the text and see if it is correct.

My guess without seeing code, is that it is a data issue not a CSS issue.

Good luck. If you need further help, show some code inside the PHP tags…

Sponsor our Newsletter | Privacy Policy | Terms of Service