Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP and CSS

Featured Replies

Hi,

 

I'm facing quite a challenge with PHP these days. I've been asked to turn all the websites I've built so far into CMS run sites. And I've chosen Joomla! as my CMS to experiment with.

 

I've dabbled a bit with the PHP and read through as much of the PHP files that come standard with the Joomla! package. So I'm slowly but surely getting the hang of it.

 

But, I've suddenly come to an obstacle with displaying images.

 

How do I display an image in a php through a CSS file?

 

eg. My navigation area at the top has a repeat-x background that gives it a 3d look, and when you hover over the link the background of that link changes.

 

If anyone can help I will be deeply grateful.

 

Keep sane,

 

Cari.

You would do it the same way as you would on a static HTML page with CSS.

  • Author
You would do it the same way as you would on a static HTML page with CSS.

 

Cool, shall mess around with the CSS file then. There's probably just a line missing somewhere that I've overlooked.

 

Any clue how to show a flash video in a php file? I've tried using <?php echo'... ...'; ?> but it's not working too great...

 

Thanks for the help,

 

C.

The same as HTML. All 'on page coding' (eg. the stuff that appears in the browser) is the same, the php stuff interacts with server-side scripts, eg. Joomla, Wordpress, etc and acts behind the scenes.

 

Here's a good page about embedding things onto a web page - http://joliclic.free.fr/html/object-tag/en/index.php

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.