no horisontal ruler displayed on page

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
hhm
Forum Members
Forum Members
Posts: 40
Joined: Tue Dec 27, 2005 4:28 pm

no horisontal ruler displayed on page

Post by hhm »

Hi

Got a problem with the HR-tag in CMSMS and especially in the FCKeditorX.

When pressing the hr-button i get: but nothing shows in the page.

If I go into source-mode and alter it to: , still nothing happens... It's still not rendered.

Also, I've neatly modified the appearance of the hr-tag via my css. It works smoothly in plain XHTML files.

Any idea about how to solve the problem?

Check the site at: www.tinktank.dk
And a screenshot of the basic XHTML version here: http://tinktank.dk/uploads/tinktank-dk-xhtml.jpg

/Henrik
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: no horisontal ruler displayed on page

Post by RonnyK »

/Henrik,

In the default templates, with the corresponding stylesheets, is the put out of order through CSS. The templates use a container , or something like that to put a CSS-styled to the page.

If you check the stylesheet and template, you'll see what I mean.....

Ronny
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: no horisontal ruler displayed on page

Post by KO »

That's right. You have 2 stylesheet attached to your template and "accessibility" one has

.accessibility, hr {
  position: absolute;
  top: -999em;
  left: -999em;
}

Which throws to outer space and makes it invisible.  :P

br, Keijo
hhm
Forum Members
Forum Members
Posts: 40
Joined: Tue Dec 27, 2005 4:28 pm

Re: no horisontal ruler displayed on page

Post by hhm »

KO wrote: That's right. You have 2 stylesheet attached to your template and "accessibility" one has

.accessibility, hr {
  position: absolute;
  top: -999em;
  left: -999em;
}

Which throws to outer space and makes it invisible.  :P

br, Keijo
ah, cool.. thx! That one I understood :D
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: no horisontal ruler displayed on page

Post by KO »

;D
ozbob
Forum Members
Forum Members
Posts: 10
Joined: Fri Apr 20, 2007 3:19 am

Re: no horisontal ruler displayed on page

Post by ozbob »

I have noticed the same issue.  No horizontal lines showing when using the FCKeditor, is it ok to remove the style sheet hr divs?

8)
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: no horisontal ruler displayed on page

Post by KO »

If you remove the hr {styles} from stylesheet but not from your templates it might not look what you want. You might test it by changing hr to something like kr so its misspelled and check how your page looks then.
Post Reply

Return to “CMSMS Core”