CSS problem

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Manolo
Posts: 7
Joined: Wed 3. Mar 2004, 00:17

CSS problem

Post by Manolo »

Hello, I have little experience with making websites. I've downloaded phpwcms last week and I've created a nice looking layout by now. (in my opinion anyway)

Now I have 2 questions about the CSS file. First, when I change the font and size of: td, tr, th, p
Then the font and size of some text I used in the footer changes. That seems ok to me. However, the font of the article summary also changes, but not the size. Why is this?

Second question, When I change the size of the article_summary (in the CSS file), then it seems that not the size changes, but it seems that something like line distance or so is changing.

I really don't understand how this file works. I hope someone wants to explain it to me.

Thanks in advance,
Manolo
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

hi manolo,
you have to view the page source in your editor. copy a word at the beginnig of the text you want to formate and drag it in the editors search function, search after it in the page-source and read out which class is formating it, our if there's no class declared.

regards
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
Manolo
Posts: 7
Joined: Wed 3. Mar 2004, 00:17

Post by Manolo »

Ok, I did what you said:

<div class="articleText"><span lang="NL" style="FONT-SIZE: 11pt; FONT-FAMILY: ">De stichting is

I can see here that the class would be articleText, but after that it seems to me that the fontsize is redeclared. I can't find how to change this. It seems to be generated by the WYSIWYG editor, because when I look in the phpwcms system in the content summary, you can see the same declaration of font size.
Manolo
Posts: 7
Joined: Wed 3. Mar 2004, 00:17

Post by Manolo »

Can somebody explain to me that redeclaration of the font size?
And what I can do about that?

Manolo
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

You are right that the font size is declared in your example by the rich text editor. You can turn styles off in spaw (the rich text editor) but I don't really know what that will do. If you know you want to edit the text using the style sheet then just do the article in plain text and use the css to format it. You can then add your own classes/ids as well. I hope this answers your question.

By the way, you might want to look at the inheritance properities of css. That might help you out as well with finding a nice balance between using the css file and rich text editor.
Manolo
Posts: 7
Joined: Wed 3. Mar 2004, 00:17

Post by Manolo »

Thank you guys for your help.
I think I accidently inserted the tags myself in spaw. Maybe it happened with some copy-pasting from other editors.
With the html edit option I was able to delete the tags.
Post Reply