- Thank you received: 0
CSS Margin
-
max@flexsystem.com
-
Topic Author
- New Member
-
Less
More
11 years 3 months ago #36431
by max@flexsystem.com
CSS Margin was created by max@flexsystem.com
How to apply CSS Margin (set left and right margin) instead of using table?
Follow page I use table to config left and right margin.
www.fesaconsol.com/index.php/component/c...ivation-of-avesta-11
Follow page I use table to config left and right margin.
www.fesaconsol.com/index.php/component/c...ivation-of-avesta-11
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 3 months ago #36442
by ivan.milic
Replied by ivan.milic on topic CSS Margin
So you have for example:
<p style="margin: 0cm 0cm 7.5pt 13.5pt; text-indent: -13.5pt; line-height: 15pt;">
margin: <top> <right> <bottom> <left>
so set margin value there.
you can alos use:
margin-right: <X>px;
<p style="margin: 0cm 0cm 7.5pt 13.5pt; text-indent: -13.5pt; line-height: 15pt;">
margin: <top> <right> <bottom> <left>
so set margin value there.
you can alos use:
margin-right: <X>px;
The following user(s) said Thank You: max@flexsystem.com
Please Log in to join the conversation.
-
max@flexsystem.com
-
Topic Author
- New Member
-
Less
More
- Thank you received: 0
11 years 1 month ago #37380
by max@flexsystem.com
Replied by max@flexsystem.com on topic CSS Margin
Hi Want to use CSS setting to configure paragraph margin (see homepage of
www.fesaconsol.com
) globally for some similar pages rather than to define it on individual page (
).
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 1 month ago #37390
by ivan.milic
Replied by ivan.milic on topic CSS Margin
In layout.css
add:
p{
margin:...
padding:...
}
check maybe p{.. rule is there already. After that don't set margin and padding for p in editor.
add:
p{
margin:...
padding:...
}
check maybe p{.. rule is there already. After that don't set margin and padding for p in editor.
Please Log in to join the conversation.
Time to create page: 0.157 seconds