my first

Post links to sites running CMS in all its glory.
Post Reply
Oscar Luijben
Forum Members
Forum Members
Posts: 63
Joined: Tue Nov 28, 2006 9:33 pm

my first

Post by Oscar Luijben »

Please be gentile, this is my first website in CMSMC.

The link is http://www.toonkunstalmelo.com/cms
Last edited by Oscar Luijben on Wed Jul 25, 2007 11:41 am, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: my first

Post 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
Oscar Luijben
Forum Members
Forum Members
Posts: 63
Joined: Tue Nov 28, 2006 9:33 pm

Re: my first

Post 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.
Last edited by Oscar Luijben on Thu Jul 12, 2007 2:07 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: my first

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: my first

Post 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
Oscar Luijben
Forum Members
Forum Members
Posts: 63
Joined: Tue Nov 28, 2006 9:33 pm

Re: my first

Post by Oscar Luijben »

My knowing is to less to understand what you mean.

can you make the mutations in the stylesheet for me?
Post Reply

Return to “CMS Show Off”