|
#1
|
|||
|
|||
|
Ligth.css failing
Hi guys
I 'm using the "simple" template in my photoblog http://www.instantaneas.eu/ 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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
hi connie
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 Bye ps: sorry for my poor english |
|
#4
|
||||
|
||||
|
great point. hopefully i've fixed this by simply moving the stylesheet link above all the meta tags.
__________________
Affordable Website Design in North Wales |
|
#5
|
|||
|
|||
|
Joey,
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! |
|
#6
|
||||
|
||||
|
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.
__________________
Affordable Website Design in North Wales |
|
#7
|
|||
|
|||
|
Ruben,
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 ? |
|
#8
|
|||
|
|||
|
FWIW http://www.instantaneas.eu/ works as expected for me in Light as well as Dark CSS from the begining....
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some] My Pixelpost Addons, Cheesecake-Photoblog Software |
|
#9
|
|||
|
|||
|
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.
__________________
My Pixelpost Blog |
| Post Reply |
| Thread Tools | |
|
|