Page 1 of 1

Insert Horizontal Line Problem

Posted: Fri Dec 15, 2006 2:58 pm
by JetLi
Hi
if I click Insert Horizontal Line with Firefox/Internet Explorer, no line are added in edit Content.  ???

Re: Insert Horizontal Line Problem

Posted: Fri Dec 15, 2006 4:50 pm
by tsw
hmm, it might be that FCKeditor adds a tag which is hidden in default stylesheets for accessibility functions.

Re: Insert Horizontal Line Problem

Posted: Fri Dec 15, 2006 6:55 pm
by JetLi
Hi
thnx for reply, Is there fix to make horizonal line visible in view content?

Re: Insert Horizontal Line Problem

Posted: Fri Dec 15, 2006 8:09 pm
by tsw
you could take hr {display:none;} our from stylesheets

or add something like div#content hr { display:block; } so that only hr:s inside div with id content will be visible

hope this helps

Re: Insert Horizontal Line Problem

Posted: Sat Dec 16, 2006 9:37 am
by JetLi
Hi
sorry I dont understand exacly.  :-[ Can you make instruktion?

add this in Stylesheet?

{display:none;}

div#content hr { display:block; }

Re: Insert Horizontal Line Problem

Posted: Sat Dec 16, 2006 11:18 am
by tsw
in stylesheets there already is a rule

Code: Select all

hr { display:none }
if you take it out all hr:s will become visible, but it might not look too good as cmsms default temlates add some hr:s for accessibility in text browsers.

so you can add this to your stylesheets to only show hr:s inside div with id=content

Code: Select all

div#content hr { display:block; }
its basic css first part (div#content hr) means that this rule applies to all hr elements inside div with id=content and the part inside {} is the style to be applied.

hope this helps

Re: Insert Horizontal Line Problem

Posted: Sun Dec 17, 2006 9:51 am
by JetLi
thnx, but I cant get it work, it was display Navigation Text displayed outside the content.

Can you do it for me? Need which stylesheets?

Sorry about this.  :'(