- Posts: 6
COMMUNITY FORUM
Strange formatting bug ... i think
- Andrew Rogers
-
Topic Author
- Offline
- New Member
Less
More
14 years 8 months ago #87738
by Andrew Rogers
Strange formatting bug ... i think was created by Andrew Rogers
Hi. I am real new to K2. All has been good except for this problem. When i click on *some* tags, the page formatting goes all weird.This page shows the tags that are supposed to appear in the left nav bar position imposed over the top of the content text: awv.tenoutoften.org/index.php?option=com_k2&view=itemlist&task=tag&tag=LawHowever, other tags work fine: awv.tenoutoften.org/index.php?option=com_k2&view=itemlist&task=tag&tag=Windows%20ServerAnd the home page works fine too: awv.tenoutoften.org/Is this a problem with my template (www.yootheme.com)? Or something else?ThanksAndrew
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
14 years 8 months ago #87739
by Yiota
Replied by Yiota on topic Strange formatting bug ... i think
It seems that some tag (a div tag), probably inside the content, doesn't close correctly or is missing. Could you try enabling the Cleanup parameter through the general K2 parameters to see if it corrects the problem?
Please Log in or Create an account to join the conversation.
- Andrew Rogers
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
14 years 8 months ago #87740
by Andrew Rogers
Replied by Andrew Rogers on topic Strange formatting bug ... i think
Ah, yes, you are quite right. I have a problem though. The tag that is causing the problem is thetag. When i remove it all is well. However it is thetag that I am using for the formatting of the text. So removing that means i just get fairly plain looking text.
I am not sure how to get around this one...
Many thanks for your reply too!
Andrew
I am not sure how to get around this one...
Many thanks for your reply too!
Andrew
Please Log in or Create an account to join the conversation.
- Andrew Rogers
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
14 years 8 months ago #87741
by Andrew Rogers
Replied by Andrew Rogers on topic Strange formatting bug ... i think
Hmm, perhaps i should usetags or perhaps the problem pages are due to
tag not being closed properly in my document. I am auto generating those documents via a script in MS Word. Might check there.
tag not being closed properly in my document. I am auto generating those documents via a script in MS Word. Might check there.
Please Log in or Create an account to join the conversation.
- Matt Medley
-
- Offline
- Junior Member
Less
More
- Posts: 37
14 years 3 months ago #87742
by Matt Medley
Replied by Matt Medley on topic Strange formatting bug ... i think
I'm having the same problem. But it happens with all my tags. When you click on them the formatting is completely removed. No template, just plain text and pictures. I've tried turning Introtext HTML cleanup (tag strip) andon but it just removes all the pictures from my posts and still has the issue with the tags. Lil help?
Please Log in or Create an account to join the conversation.
- Andrew Rogers
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
14 years 2 months ago #87743
by Andrew Rogers
Replied by Andrew Rogers on topic Strange formatting bug ... i think
It turned out that my problem was that the <div> tags in my page (which was generated by a MS Word maco i wrote) were not always quite right. I am guessing some were not closed correctly. Changing the <div> tag to <p> tag and applying the class to the paragraph solved the problem. But fixing the <div>s would have worked too I think.
Please Log in or Create an account to join the conversation.
- Matt Medley
-
- Offline
- Junior Member
Less
More
- Posts: 37
13 years 10 months ago #87744
by Matt Medley
Replied by Matt Medley on topic Strange formatting bug ... i think
I gave up on this problem a while ago, but am determined to conquer in now. So, is the in <p> and <div> tags in the postings that weren't closed, or in the template? I have over a thousand postings, don't want to go through all of them....
Thanks for your help!
Thanks for your help!
Please Log in or Create an account to join the conversation.
- Andrew Rogers
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
13 years 10 months ago #87745
by Andrew Rogers
Replied by Andrew Rogers on topic Strange formatting bug ... i think
Yes, unclosed DIV tags were the problem. Changing it to <p> tags worked (even though they werent closed properly either) because a P tag doesnt effect the layout of the template DIV tags.
Please Log in or Create an account to join the conversation.
- Matt Medley
-
- Offline
- Junior Member
Less
More
- Posts: 37
13 years 10 months ago #87746
by Matt Medley
Replied by Matt Medley on topic Strange formatting bug ... i think
Was it in the postings or in the template that the DIV tag wasn't closed in? I'm really dreading going through 1000+ postings for something that might work. Thanks for your response!
Please Log in or Create an account to join the conversation.
- Andrew Rogers
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
13 years 10 months ago #87747
by Andrew Rogers
Replied by Andrew Rogers on topic Strange formatting bug ... i think
It was in my posting.
Please Log in or Create an account to join the conversation.