View Full Version : Ligth.css failing
05-21-2006, 03:33 PM
I 'm using the "simple" template in my photoblog
And I have found a problem: sometimes the page is shown with styles, sometimes no. By example, at he beginnig it doesn't happens, but then when I browse two or three photos, it happens. I' dont understand why it happens.
I think two possibles explications:
- The firewall of computer is blocking the stylesheet.
- The value of attribute "content" in meta "description" is too long and it has car line feeds. Can it be a reason of bad interpretation of html in browsers?
Please help me! I dont' understand
thanks a lot
05-21-2006, 05:13 PM
I am sure you are using Internet Explorer and I am also sure you did not search the forum here for this problem ;=)
as there is a problem with the styleswitcher in IE the solution was mostly either to ignore it or to take out the styleswitcher
05-23-2006, 09:30 AM
no, i don't mean about styleswitcher. I was talking about problem from the beginning, when the page is loaded. I search information about that problem in forum and I didn't find anything.
Anyhow, I think I 've reached a solution for this problem and I think is a important theme about pixelpost functionality.
The reason of problem was the value of attribute "content" in "description" tag meta. This "content" shows the description of photos and some descriptions of my photos contained Double quotes. It provoked a bad ending of tag meta and that one did the browser reads badly the next tag: <link>. This tag contained the reference of my stylesheet
I think it can be a problem which maybe deserve a correction in pixelpost system?
Well, i hope it is useful
ps: sorry for my poor english
05-23-2006, 09:36 AM
great point. hopefully i've fixed this by simply moving the stylesheet link above all the meta tags.
05-23-2006, 10:39 AM
yes this problem with the broken link to the stylesheet, caused by doublequotes in the description, will be avoided when moving the link above the other meta-tags
but it can break the other following directives as well
we must check why the PP-tags which are used in the header can break the code.
Ruben, gracias por la informacion! Esta muy valable para nosotros!
05-23-2006, 10:42 AM
it cant as i made the meta tags last in the head section - </head> should cancel out any broken areas. the only other way would be to strip quotes from image descriptions etc ... or to just simply remove the meta tags all together sacrificing search capability. for now i think it's good enough to just move the meta tags to the bottom of the head section - that way they can only break themselves - and this will only be a problem for search engines. unless you want to strip the quotes from descriptions but i think this will be more of an inconvenince for users.
p.s. i don't have access to cvs right now - it won't connect. sf doesn't say anything about server problems but i assume that's what it is.
05-23-2006, 12:01 PM
please tell us which version if PP you are using, because I fairly remember that this case should be fixed in 1.5
is it 1.42 or 1.4.3 ?
05-23-2006, 12:19 PM
FWIW http://www.instantaneas.eu/ works as expected for me in Light as well as Dark CSS from the begining....
I had this problem several months ago and wrote a small hack to fix it for 1.4.3
I did look at the code for 1.5b at the time and it was not fixed in that version.
From memory, what I did was to create some additional tags that get parsed for the headers and I made sure that the content contained no quotes.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.