A little html code bug <div style="300px;...

General Forum
pitu
Phoca Member
Phoca Member
Posts: 13
Joined: 01 Oct 2010, 21:29
Location: Slovakia

A little html code bug <div style="300px;...

Post by pitu »

Hi Jan,
a little html code bug

Code: Select all

<div style="300px;...
appears on backend's Control Panel of some your latest solutions:

com_phocadocumentation_v1.1.0
\views\phocadocumentationcp\tmpl\default.php (row 36)

com_phocadownload_v1.3.7
\views\phocadownloadcp\tmpl\default.php (row 43)

com_phocafont_v1.0.2, com_phocafont_v2.0.0_alpha1
\views\phocafontcp\tmpl\default.php (row 33)

com_phocaguestbook_v1.4.3
\views\phocaguestbookcp\tmpl\default.php (row 30)

com_phocamaps_v1.0.5, com_phocamaps_v1.1.1, com_phocamaps_v2.0.0_alpha1
\views\phocamapscp\tmpl\default.php (row 36)

com_phocapdf_v1.0.9
\views\phocapdfcp\tmpl\default.php (row 36)

com_phocasef_v1.0.0
\views\phocacp\tmpl\default.php (row 33)

Browsers ignores this mistake declaration well, but an error console shows warning when Control Panel is showing...
Yakult
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Nov 2010, 19:06

Re: A little html code bug <div style="300px;...

Post by Yakult »

<div style="300px;...

You're setting the width / height of something but you haven't declared what you want to be 300px. You should have something like <div style="height:300px;.... ;">.

Do you see what I'm saying?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: A little html code bug <div style="300px;...

Post by Jan »

Hi, thank you for this info, seems like it was deleted by some system deletation.

I will fix it for new versions.

Thank you, Jan
If you find Phoca extensions useful, please support the project
Post Reply