Jump to content

DIV Class disappearance under Firefox


vinnier

Recommended Posts

Hello,

 

I need some help with my new project that's running on Wordpress. (let me just say that I've tried wp forum but it doesn't look like I will get any help there anytime soon)

 

I never thought I would say that; but I've got a problem with a template under Firefox(!)

 

The theme is family by TopWPThemes.com

 

I have tested it under Opera, Chrome, IE, Safari and it's all fine there but when tested under Firefox some bits of the website are not visible.

 

Those bits are: Releases and Recommended

 

If you go to the website which is http://www.worecords.com you will see which bits I'm talking about.

 

In the theme the files responsible for those bits look like this:

recommended.php

<div class="125ads">
<a href="#"><img src="<?php bloginfo('stylesheet_directory');?>/recommended/note1.jpg" alt="Recommended #1" width="125" height="125" /></a>
<a href="#"><img src="<?php bloginfo('stylesheet_directory');?>//recommended/notes.jpg" alt="Recommended #2" width="125" height="125" /></a>
<a href="#"><img src="<?php bloginfo('stylesheet_directory');?>/recommended/note1.jpg" alt="Recommended #3" width="125" height="125" /></a>
</div>

 

and

 

releases.php

<div class="125ads">

<a href="#"><img src="<?php bloginfo('stylesheet_directory');?>/releases/record.jpg" alt="RELEASE #1" width="125" height="125" /></a>

<a href="#"><img src="<?php bloginfo('stylesheet_directory');?>/releases/record2.jpg" alt="RELEASE #2" width="125" height="125" /></a>

<a href="#"><img src="<?php bloginfo('stylesheet_directory');?>/releases/record.jpg" alt="RELEASE #3" width="125" height="125" /></a>

<a href="#"><img src="<?php bloginfo('stylesheet_directory');?>/releases/record2.jpg" alt="RELEASE #4" width="125" height="125" /></a>

<a href="#"><img src="<?php bloginfo('stylesheet_directory');?>/releases/record.jpg" alt="RELEASE #5" width="125" height="125" /></a>

</div>

 

Guess this is the bit in the css that determines those:

.ads{
float: right;
margin-right: 28px;
        margin-top: 8px;
        margin-bottom: 0px;
}

.ads.125ads {
padding:3px 0 0 0;
text-align:left;
}

.ads h2 {
color: #181818;
font: bold 16px Arial, Helvetica, sans-serif;
margin: 0 0 0px 0;
        padding: 2px 0px 3px 0px;
text-align: center;
        text-transform: uppercase;
}

.ads img {
      padding: 4px;
      border: #bebebe 1px solid;
      background: #bebebe;
      }

.ads a:link img  {
      padding: 4px;
      border: #bebebe 1px solid;
      background: #bebebe;
      }

.ads a:hover img  {
      padding: 4px;
      border: #ffc04e 1px solid;
      background: #ffc04e;
      }

 

 

As the items don't appear at all under Firefox I can't examine them with Firebug so I am completely stuck.

 

I would appreciate any help.

Link to comment
Share on other sites

Now I'm totally confused. I've saved the page using Safari and then opened the saved file using Firefox and suddenly it all looks as it should under FF.

What in the world is going on?  :confused:

 

 

 

EDIT:

 

No help from W3C either, well not on that matter at least... :/ http://validator.w3.org/check?uri=www.worecords.com&charset=%28detect+automatically%29&doctype=Inline&group=0

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.