Insert Horizontal Line Problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
JetLi
Forum Members
Forum Members
Posts: 15
Joined: Thu Mar 16, 2006 2:00 pm

Insert Horizontal Line Problem

Post by JetLi »

Hi
if I click Insert Horizontal Line with Firefox/Internet Explorer, no line are added in edit Content.  ???
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Insert Horizontal Line Problem

Post by tsw »

hmm, it might be that FCKeditor adds a tag which is hidden in default stylesheets for accessibility functions.
JetLi
Forum Members
Forum Members
Posts: 15
Joined: Thu Mar 16, 2006 2:00 pm

Re: Insert Horizontal Line Problem

Post by JetLi »

Hi
thnx for reply, Is there fix to make horizonal line visible in view content?
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Insert Horizontal Line Problem

Post 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
JetLi
Forum Members
Forum Members
Posts: 15
Joined: Thu Mar 16, 2006 2:00 pm

Re: Insert Horizontal Line Problem

Post by JetLi »

Hi
sorry I dont understand exacly.  :-[ Can you make instruktion?

add this in Stylesheet?

{display:none;}

div#content hr { display:block; }
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Insert Horizontal Line Problem

Post 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
JetLi
Forum Members
Forum Members
Posts: 15
Joined: Thu Mar 16, 2006 2:00 pm

Re: Insert Horizontal Line Problem

Post 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.  :'(
Post Reply

Return to “CMSMS Core”