binkyboo
04-01-2004, 04:22 PM
Alrighty, here's my CSS script:
#interactive {
color: #5500AA;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 14px;
font-style: italic;
}
Here's my html code:
<p>Here is some text talking about the activity! <div id="interactive">It's
Interactive!</div> Just click the button to begin.</p>
Unfortunately when I test the page is looks like this:
Here is some text talking about the activity!
It's Interactive!
Just click the button to begin.
Why does it put paragraph breaks in where I applied the div tags? I want this all to be one sentence with the text formatting applied to "It's Interactive!".
#interactive {
color: #5500AA;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 14px;
font-style: italic;
}
Here's my html code:
<p>Here is some text talking about the activity! <div id="interactive">It's
Interactive!</div> Just click the button to begin.</p>
Unfortunately when I test the page is looks like this:
Here is some text talking about the activity!
It's Interactive!
Just click the button to begin.
Why does it put paragraph breaks in where I applied the div tags? I want this all to be one sentence with the text formatting applied to "It's Interactive!".