Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Let's say I have a CSS file with following styles defines
h1.home { color: #333; font-family: Arial, Helvetica, sans-serif; font-size: 32px; font-weight: bold; line-height: normal; text-shadow:1px 1px 1px #999999; text-align:center; margin: 10px 0 30px 0;}h2.home { color: #68144b; font-family: Arial, Helvetica, sans-serif; font-size: 30px; font-weight: bold; line-height: normal; text-shadow:1px 1px 1px #999999; text-align:center;}h3.home { color: #588a9e; font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; line-height: normal; text-shadow:1px 1px 1px #999999; text-align:center;}
And in HTML I have
<h1 class="home">....</h1>
<h2 class="home">....</h2>
<h3 class="home">....</h3>
In order to show the styles in rich text editor, I need to create a "home" style to show in the style dropdown, but from rich editor how can a user tells the difference among "home" for h1, h2 or h3?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How shall I create styles in this situation
Let's say I have a CSS file with following styles defines
h1.home {
color: #333;
font-family: Arial, Helvetica, sans-serif;
font-size: 32px;
font-weight: bold;
line-height: normal;
text-shadow:1px 1px 1px #999999;
text-align:center;
margin: 10px 0 30px 0;
}
h2.home {
color: #68144b;
font-family: Arial, Helvetica, sans-serif;
font-size: 30px;
font-weight: bold;
line-height: normal;
text-shadow:1px 1px 1px #999999;
text-align:center;
}
h3.home {
color: #588a9e;
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
font-weight: bold;
line-height: normal;
text-shadow:1px 1px 1px #999999;
text-align:center;
}
And in HTML I have
<h1 class="home">....</h1>
<h2 class="home">....</h2>
<h3 class="home">....</h3>
In order to show the styles in rich text editor, I need to create a "home" style to show in the style dropdown, but from rich editor how can a user tells the difference among "home" for h1, h2 or h3?
is working on a reply...