result showing on small browser, but not phone.

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
VinceGledhill
New php-forum User
New php-forum User
Posts: 4
Joined: Sat Nov 04, 2017 8:56 am

Sat Nov 04, 2017 9:03 am

Hi People.

I've been coding my site http://www.airfieldcards.com/bootstrap_site/index.php in bootstrap using all the data from the DB to drive the site.

However, for some reason, when I view the site in a small browser window the telephone number for PPR (prior permission required) shows up. However, on a telephone screen, it doesn't.

This is the code that drives it...

Code: Select all

<?php  echo cr($rs["PPR_number"]); ?>
Any ideas?

User avatar
hyper
php-forum Fan User
php-forum Fan User
Posts: 526
Joined: Mon Feb 22, 2016 5:52 pm

Sat Nov 04, 2017 9:32 am

I suspect that it is off screen, try to determine when it disappears (by shrinking the browser size a bit at a time) and then check your css to find out why.

VinceGledhill
New php-forum User
New php-forum User
Posts: 4
Joined: Sat Nov 04, 2017 8:56 am

Sun Nov 05, 2017 8:58 am

Thanks for the reply mate.

I actually solved my problem. I had set the links in CSS to white to style my menu with a blue background, but this being a telephone number, when viewed on a phone, it became a link so white on white became invisible.

Changed the CSS and all now fixed.

Post Reply