Message 1171 of 1761

Code Party 03 Starts Now!

Code Party 03 Time
Click on This Thread to Join In


We're going to start out playing with styling a few paragraphs or divs and concentrating on styling the font (text). Then we'll see pull in a few other things, like Espirit's code. Here are a few links that you can refer to as we play if you want. I usually have more than one window open in my browser so I can flip back and forth:

CSS 
font and text styles:
view link
ccs.110mb.com/eons/CSSFontStyles.html

HTML tags
view link www.htmlquick.com/reference/tags.html
Full list of HTML tags from w3schools - view link www.w3schools.com/tags/default.asp

Previous code parties:
view link www.eons.com/groups/topic/1539484-Code- Party-2-Mar-2-2-9

Feel free to play with the code from any of the Code parties or other posts or introduce some code of your own!

Eons wasn't playing nice with my links earlier. Hope they work now!
Mimi58's profile
144 Replies
1 2 ... 15 Next »
We've played with border around text, marquees and such. We're going to start out tonight learning more about how to style the text itself. Here is some code to start with.

This div is only styling the text. You could put the same thing in a paragraph or a span
<div style="font: normal small Arial, Helvetica, sans-serif; color: #000099;"> This div is only styling the text. You could put the same thing in a paragraph or a span</div>

This div is only styling the text. You could put the same thing in a paragraph or a span

<p style="font: normal small Arial, Helvetica, sans-serif; color: #000099;"> This div is only styling the text. You could put the same thing in a paragraph or a span</p> This div is only styling the text. You could put the same thing in a paragraph or a span <span style="font: normal small Arial, Helvetica, sans-serif; color: #000099;"> This div is only styling the text. You could put the same thing in a paragraph or a span</span>

It doesn't matter which one you play with right now, but let's see what we can change. We're using CSS shorthand to style the font.

The word "font" tells the browser to "Pay attention. This is how I want the font to look.

You can look at the font and text styles:
view link file to see things that you can change.

For instance:
The first word after font in the code is the word "normal". That is the font-style. Look under font style on that page and you see your choices are normal, italic and oblique. Replace "normal" in the code and see what happens.

More in a minute!
Mimi58's profile

over 2 years ago
This div is only styling the text. You could put the same thing in a paragraph or a span
<div style="font: normal small Arial, Helvetica, sans-serif; color: #000099;"> This div is only styling the text. You could put the same thing in a paragraph or a span</div>

The next item after the word font is the word "small". There are different ways that you can style the text. One of the ways is using these choices:

xx-small
x-small
small
medium
large
x-large
xx-large

Try replacing the word "small" with one of these and see what happens! You can also look in the CSS Font Styles and see other choices.
Mimi58's profile

over 2 years ago
Here is on where I changed the word "normal" to the word oblique and the word "small" with "x-large"
Mimi58's profile

over 2 years ago
My sister called this am and said she's flying in from KY. So if you don't see much of me for a few days that's why! Will miss you guys! Rose
Roseartlefty's profile

over 2 years ago
This div is only styling the text. You could put the same thing in a paragraph or a span

over 2 years ago
Of course, we've played with changing color: In the code below, I changed - color: #000099; to color: green; I also changed the font size to large

<span style="font: normal small Arial, Helvetica, sans-serif; color: #000099;"> This div is only styling the text. You could put the same thing in a paragraph or a span</span>

And here is the result:

I changed - color: #000099; to color: green; I also changed the font size to large
Mimi58's profile

over 2 years ago
We'll miss you for sure Rose! Hope you have loads of fun with your sister. Will you be able to stay and play a little?
Mimi58's profile

over 2 years ago
Have fun with your sister Rose!

over 2 years ago
I change the font to bold large and the color to yellow green....

over 2 years ago
This is fun, the chart relly helps know the options. How do we get cursive?
trish0653's profile

over 2 years ago
144 Replies
1 2 ... 15 Next »

Eons Picks

Visit Eons-Only Specials
For a limited time, get FREE SmartSound Earbuds on purchases of $100+! Use the code “EONSBUDS” at checkout.

Eons Rewards Club
Great shopping deals & savings for Eons Members!

Save on Eons Games
Eons Downloadable Games. Now just $6.99!

Read Member Blogs
Eons has great blogs—read the latest from members or start yours!