Elxis CMS Forum
Support => General => Topic started by: ahmet on April 07, 2011, 18:51:34
-
This is my second side pronlem i am having after changing linkable titles to unlinkable,
h1 tags appears above the content??
any need appreciated..
http://www.gurdesan.com.tr/marine-products-services/repair-and-maintanance/propulsion-manoeuvring-services.html
-
Visual issues are handled from your template's css.
Modify the css for this part:
<h1 class="contentheading">Propulsion Manoeuvring Services</h1>
Note: It seems that you copy-paste content from microsoft word or an other editor. There are many "suspicious" tags in your html. Dont do that. If you want to copy-paste text from an other location paste it first to notepad and then copy it from notepad and paste it in Elxis editor. That way you will paste clear text without bad formatting.
-
Thanks datahell,
you are right i am copyin them from word..
but i didnt understand how to modify it? h1 tag seems proper??
what if i clean al starnge tags from tinymce??
-
Yes h1 tag seems proper, why not?
-
i have cleaned htmls but this time patway appears on the content even i selected show no item title...
on okto template theres no problem..
ıi have uninstalled ios clean..and upload it again..i have still problem..
-
What exactly do you mean by saying... "cleaned html" - tell us the steps plz.
Create a new content item, insert text, with the way datahell told you (notepad first)... and see if the problem exists.
-
Copy the text from microsoft's Word and paste it in pspad, notepad, or any other text editor you wish.
Now copy it again from pspad and paste it in Elxis editor.
This way all word's tags will be removed and you will get a clean text in Elxis' editor.
You can afterwards format that text with the Elxis editor buttons if you wish.
-
in customize.css
div.buttonheading { margin: -26px 5px 7px 0; }
99.99% here is the problem!
i wondering why since you have not published the email/print/pdf buttons you still have in you code the "buttonheading div container" ??? DO
<h1 class="contentheading">Propulsion Manoeuvring Services</h1>
<div class="buttonheading" align="right">
</div>
<div id="elxisarticle19" class="contentpaneopen_text">
<p>Repair and Maintenance Work
you can try this also(not tested) :
div.buttonheading { margin: -26px 5px 7px 0;height:26px; }
as for the copy-paste from word or htmlpages john is right...
you must avoid it, not only for relative to the code issues but for various other reasons too!
TIP:
TinyMce has already a very good plugin that is quick and safe..
GOTO mambots>>tinymce and enable the COPY-PASTE PLugin...
this plugin will add 2 buttons in the tinymce that will let you to paste(and keep format) from word
or to past as text(keep only newlines)
In every case converts the code to an acceptable format ...
Personally i use always the paste-as-text button that will clean everything from the code and will keep only newlines.... very handy since i don't have to open every time a text editor etc....
this plugin is very handy when have to work with many word documents ...
-
thanks datahell,
it solved the problem...
I was really thinking of reinstalling the site entirely..
-
/* email, print, rtf, pdf buttons */
div.buttonheading { margin: -26px 5px 7px 0;height:26px; }
i see you did what i posted above.... ok..
but this actually a hack.. quick fix.... etc...
the question still remains:
i wondering why since you have not published the email/print/pdf buttons you still have in you code the "buttonheading div container" Huh DO
Code:
<h1 class="contentheading">Propulsion Manoeuvring Services</h1>
<div class="buttonheading" align="right">
</div>
<div id="elxisarticle19" class="contentpaneopen_text">
<p>Repair and Maintenance Work
is this: <div class="buttonheading" align="right"></div> pasted by you in tiny? if so then must be removed!
the problem is that since this div does not containing any image it does not provide a height(thats why i added in the css i give) that will push down the text below
if you can delete that code then it will be ok.....no css fix needed
this div will be printed by elxis IF you have the button images published else no...
-
When i add print e-mail. etc.. no icons are shown..
for now i leave it as you did..
you can check..
-
When i add print e-mail. etc.. no icons are shown..
In global-config>>content>> option Icons: Hide/Show to display only icons or only text... this works as expected
****
my problem is that the div.buttonheading container of those icons/buttons or text-buttons still
exists in the code even if you disable all buttons.... i will check this in the code...
here is a problem.... because if div.buttonheading has inside enabled images will maintain(expand to) a height of what the actual image's or text height is
if div exists but nothing inside and has no height value then actual height will be only 1px
this is what caused this appearance in your case....in companion-always with the negative-top-margin value
the correct way is not print in code the empty container ...
PS. people might wondering why i write down all this staff since problem resolved-or-fixed etc....
simply, by explaining and expanding more can help other users too... especially inexperienced user(known as dummies)
EDIT: i check elxis code and i see that code is correct in elxis 2009.2... what is your version?
have you touched the code there?
-
I am very sorry that i have forget to show icons.... as i am a dummy....
for other users if u want icons u have click on show icons..now everything is fine...you can check..
RTF Icon: Hide Show
PDF Icon: Hide Show
Print Icon: Hide Show
Email Icon: Hide Show
Icons: Hide Show