Page 1 of 1

my first

Posted: Thu Jul 12, 2007 1:52 pm
by Oscar Luijben
Please be gentile, this is my first website in CMSMC.

The link is http://www.toonkunstalmelo.com/cms

Re: my first

Posted: Thu Jul 12, 2007 2:02 pm
by RonnyK
Oscar,

{content} is being called from within the DIV "main", so you could give margin-left or padding-left in the CSS for that element.

Ronny

Re: my first

Posted: Thu Jul 12, 2007 2:05 pm
by Oscar Luijben
when I do that.

I get my margin in the title block as well and that I do not want.

and what is the diverent between margin-left or padding-left?

the context as to look like the news block.

Re: my first

Posted: Thu Jul 12, 2007 2:11 pm
by RonnyK
Oscar,

margin is for the entire box, where padding is for the content within the box.

So if you want the box to shift right, you can give margin-left. If you want all the text to go right within the box, you can use padding.

Check this example...

http://www.w3.org/TR/REC-CSS2/box.html

Ronny

Re: my first

Posted: Thu Jul 12, 2007 2:16 pm
by RonnyK
You might also try giving a margin-left to the "p" element and wrap all content within the "paragraph". Then only paragraphs are indented and not the title.

Ronny

Re: my first

Posted: Thu Jul 12, 2007 2:21 pm
by Oscar Luijben
My knowing is to less to understand what you mean.

can you make the mutations in the stylesheet for me?