Please be gentile, this is my first website in CMSMC.
The link is http://www.toonkunstalmelo.com/cms
my first
-
- Forum Members
- Posts: 63
- Joined: Tue Nov 28, 2006 9:33 pm
my first
Last edited by Oscar Luijben on Wed Jul 25, 2007 11:41 am, edited 1 time in total.
Re: my first
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
{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
-
- Forum Members
- Posts: 63
- Joined: Tue Nov 28, 2006 9:33 pm
Re: my first
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.
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.
Re: my first
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
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
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
Ronny
-
- Forum Members
- Posts: 63
- Joined: Tue Nov 28, 2006 9:33 pm
Re: my first
My knowing is to less to understand what you mean.
can you make the mutations in the stylesheet for me?
can you make the mutations in the stylesheet for me?