Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 08:04:59 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155442 Posts in 21702 Topics by 7734 Members
Latest Member: zvaigzdzius
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Problem in firefox  (Read 1518 times)
Jan de Ronde

Offline Offline

Posts: 13


« on: October 12, 2008, 02: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
Logged
albatros

Offline Offline

Posts: 674


WWW
« Reply #1 on: October 12, 2008, 03: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:
<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
Logged
Jan de Ronde

Offline Offline

Posts: 13


« Reply #2 on: October 12, 2008, 03: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?
Logged
erpe

Offline Offline

Posts: 2077


WWW
« Reply #3 on: October 12, 2008, 03: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:
<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
« Last Edit: October 12, 2008, 03:53:32 PM by erpe » Logged

Jan de Ronde

Offline Offline

Posts: 13


« Reply #4 on: October 12, 2008, 04: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

Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!