1
macmend
resolving firefox issue
  • 2008/11/29 10:29

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


I am using a version of the medical theme but images do not show in firefox, as they are bg

this is dealt with here:
https://xoops.org/modules/smartfaq/faq.php?faqid=293

in this faq a user mentions:

"Firefox has issues loading cell bg code, so in your XOOPS theme when you have your block header and footer cells filled with a graphic using a bg variable instead of an img src tag in the block html, you will not see them load in firefox. to get around this, have a table in your theme block html files that have the block header/footer/content background coded in as img tags."

what does this mean how do i do it, and is there a way round the firefox problem for me or should I just use a different theme?
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

2
ghia
Re: resolving firefox issue
  • 2008/11/29 11:04

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I'm not sure these comments have still value, because FF has had a lot of versions in the mean time.

Is there a link for the theme or did you made it yourself?
Is there a link, where we can see this problem? I assume the difference is clear when using FF and IE?

Basic what is said, is that when you have a table driven theme, your block is placed in eg. a 3x3 table. The middle cell is the content and the surrounding cells are the decoration. Each cell <td></td> is named and has in the CSS file an image specified for background.

The solution is to delete the CSS definition for the backgroung and to place the image in an image tag <img ... between the cell tags. So, the image is moved from CSS to HTML.

I saw somewhere a solution for the center left and right cells by specifying
&nbsp;<div style="margin-left: 23px;"><br /></div>
as the content for the cell. The margin width has to be trimmed to the wigth of the background image used.

3
macmend
Re: resolving firefox issue
  • 2008/11/29 13:05

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


my problem is the header image is called as bg

the site is the www.southstreetbonfiresociety.co.uk I have been working on, medical theme is one ported by xoops-theme and their site is down at present.

I think I might just change the theme
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

4
ghia
Re: resolving firefox issue
  • 2008/11/29 14:49

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


So, it is not to see then?

Login

Who's Online

183 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 183


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits