WebsiteBaker Community Forum

General Community => Off-Topic => Topic started by: Jan de Ronde on October 12, 2008, 03:33:35 PM

Title: Problem in firefox
Post by: Jan de Ronde on October 12, 2008, 03:33:35 PM
Hello

I test a template and it looks oke in IE. You can see it on this link:

http://www.helpchat.nl/pages/444.php

The red test photo comes nice under the orange header.

when you look it with firefox you see the red test photo is not nice under the orange header?

I ask in another forum what is the problem and how fix this problem. The answhere whas:

Change <p><a id="wb_section_5" name="wb_section_5"></a></p>

to <p style="display:inline;"><a id="wb_section_5" name="wb_section_5"></a></p>

But it dont work.

I chance this in framework/frontend.functions.php line 217

Any idea how to fix the problem??

Jan
Title: Re: Problem in firefox
Post by: albatros on October 12, 2008, 04:23:57 PM
Hi Jan,

to me ist seems not to be a problem of FF.

In line 92 of the sourcecode of that page I find
Code: [Select]
<p><a id="wb_section_5" name="wb_section_5"></a><p><img height="303" width="470" align="top" alt="" src="http://www.helpchat.nl/media/test/testfoto01.jpg" /></p></p>And your JPG is indeed 470*303px big. So I think, Firefox is correct, IE not.

hth

Uwe
Title: Re: Problem in firefox
Post by: Jan de Ronde on October 12, 2008, 04:32:54 PM
Albatros,

Thanks for your answer.

If the problem is FF or IE it dosend mather to me.

My question is how to make the template so its looks the same in IE and FF?

I want the red test photo is nice direct under the orange header zo it is now in IE.

Any idea?
Title: Re: Problem in firefox
Post by: erpe0812 on October 12, 2008, 04:47:29 PM
So the problem is, that you have a double <p> tag in this line (direct after the closing </a> .
Threw it out and it will be done.
The outcoming html code must be:
Code: [Select]
<p><a id="wb_section_5" name="wb_section_5"></a><img height="303" width="470" align="top" alt="" src="http://www.helpchat.nl/media/test/testfoto01.jpg" /></p>
rgds

erpe

see atached file

[gelöscht durch Administrator]
Title: Re: Problem in firefox
Post by: Jan de Ronde on October 12, 2008, 05:11:47 PM
Problem is fixed!

Thank you verry much Erpe!

i trow away the <p> tag and it works how i want

Have a nice day

Jan