This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#51 2012-10-08 11:45:31

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: CSS Discussion

transparent wrote:

Oh, RedRocker, thanks. Yeah, PHP is very good to learn as well.
And no, that is pretty much an epitome of html.

You're welcome even though I'm not quite sure what you're thanking me for


Why

Offline

 

#52 2012-10-08 11:50:03

transparent
Scratcher
Registered: 2011-04-19
Posts: 1000+

Re: CSS Discussion

I had forgotten to mention php.


yes, yes i do.

Offline

 

#53 2012-10-08 12:06:32

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: CSS Discussion

Gravitation wrote:

soupoftomato wrote:

transparent wrote:

Html is for the structure of the page.
Css is for the layout and design of the page.
Javascript is for extra dynamic functioning.

You should learn at least basic html and then css or javascript.

You mean this isn't the epitome of web-designing?

Code:

<html>
<body>

<h1>Website</h1>

<a href="http://scratch.mit.edu">Scratch</a>
</body>
</html>

You forgot a doctype, encoding type, and indentation. Yeesh, clean up your code, soup!  tongue

self teaching wasn't the best idea was it

In my defense w3school's thing /stunk/

Last edited by soupoftomato (2012-10-08 12:06:47)


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#54 2012-10-08 12:15:14

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: CSS Discussion

transparent wrote:

I had forgotten to mention php.

Oh okay :p


Why

Offline

 

#55 2012-10-08 12:18:32

transparent
Scratcher
Registered: 2011-04-19
Posts: 1000+

Re: CSS Discussion

soupoftomato wrote:

Gravitation wrote:

soupoftomato wrote:

You mean this isn't the epitome of web-designing?

Code:

<html>
<body>

<h1>Website</h1>

<a href="http://scratch.mit.edu">Scratch</a>
</body>
</html>

You forgot a doctype, encoding type, and indentation. Yeesh, clean up your code, soup!  tongue

self teaching wasn't the best idea was it

In my defense w3school's thing /stunk/

Self teaching is fine. I think Gravitation was just kidding with those unimportant elements.  wink


yes, yes i do.

Offline

 

#56 2012-10-08 12:23:07

Gravitation
New Scratcher
Registered: 2012-09-26
Posts: 500+

Re: CSS Discussion

transparent wrote:

soupoftomato wrote:

Gravitation wrote:


You forgot a doctype, encoding type, and indentation. Yeesh, clean up your code, soup!  tongue

self teaching wasn't the best idea was it

In my defense w3school's thing /stunk/

Self teaching is fine. I think Gravitation was just kidding with those unimportant elements.  wink

Hence the  tongue
But seriously, you need a head.

Offline

 

#57 2012-10-08 12:23:59

transparent
Scratcher
Registered: 2011-04-19
Posts: 1000+

Re: CSS Discussion

I have one thank you.


yes, yes i do.

Offline

 

#58 2012-10-08 12:26:18

Gravitation
New Scratcher
Registered: 2012-09-26
Posts: 500+

Re: CSS Discussion

transparent wrote:

I have one thank you.

Haha, I meant the element, but you probably knew that, so...
[/offtopic]

Offline

 

#59 2012-10-08 13:56:31

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: CSS Discussion

I love the "class" feature.


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#60 2012-10-08 13:58:20

Gravitation
New Scratcher
Registered: 2012-09-26
Posts: 500+

Re: CSS Discussion

mythbusteranimator wrote:

I love the "class" feature.

I love it too, it's like, so convenient.

Offline

 

#61 2012-10-08 14:15:20

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: CSS Discussion

Gravitation wrote:

mythbusteranimator wrote:

I love the "class" feature.

I love it too, it's like, so convenient.

Yeah, really.

Code:

.superwhateveryouwanthere {
blahblahblah
}

<span class="superblahblah">sjoaisjfdoiajdwxoaimj</span>

IS EPIC.


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#62 2012-10-08 14:23:19

funelephant
Scratcher
Registered: 2010-07-02
Posts: 1000+

Re: CSS Discussion

What exactly does it do?


nicki begs to differ
http://24.media.tumblr.com/ab0e6e8fd347c5e39c2821bcab9d16e6/tumblr_mgu35sui1L1rfb7aqo2_500.gif

Offline

 

#63 2012-10-08 14:29:30

transparent
Scratcher
Registered: 2011-04-19
Posts: 1000+

Re: CSS Discussion

His code actually does nothing. He was just giving an example.


yes, yes i do.

Offline

 

#64 2012-10-08 14:31:41

funelephant
Scratcher
Registered: 2010-07-02
Posts: 1000+

Re: CSS Discussion

I know.

I meant what do classes do.


nicki begs to differ
http://24.media.tumblr.com/ab0e6e8fd347c5e39c2821bcab9d16e6/tumblr_mgu35sui1L1rfb7aqo2_500.gif

Offline

 

#65 2012-10-08 14:34:46

Gravitation
New Scratcher
Registered: 2012-09-26
Posts: 500+

Re: CSS Discussion

funelephant wrote:

I know.

I meant what do classes do.

Classes define a style for all elements of that class.

You define a class in CSS using

Code:

.CLASSNAME {
 CSS
}

and add an element to that class by setting the class attribute to the name of the class, for example:

Code:

<div class="CLASSNAME">Stuff</div>

Offline

 

#66 2012-10-08 14:37:03

transparent
Scratcher
Registered: 2011-04-19
Posts: 1000+

Re: CSS Discussion

Well, they are pretty much ids that you can give to multiple elements. So then you can style/get a large amount of elements by calling them with one name.


yes, yes i do.

Offline

 

#67 2012-10-08 14:38:08

Gravitation
New Scratcher
Registered: 2012-09-26
Posts: 500+

Re: CSS Discussion

transparent wrote:

Well, they are pretty much ids that you can give to multiple elements. So then you can style/get a large amount of elements by calling them with one name.

Yup. It's really useful for navigation bars.  wink

Offline

 

#68 2012-10-08 14:38:22

funelephant
Scratcher
Registered: 2010-07-02
Posts: 1000+

Re: CSS Discussion

ohhh


nicki begs to differ
http://24.media.tumblr.com/ab0e6e8fd347c5e39c2821bcab9d16e6/tumblr_mgu35sui1L1rfb7aqo2_500.gif

Offline

 

#69 2012-10-08 14:41:42

transparent
Scratcher
Registered: 2011-04-19
Posts: 1000+

Re: CSS Discussion

Understand?


yes, yes i do.

Offline

 

#70 2012-10-08 18:13:22

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: CSS Discussion

I'm really bad at CSS. I'm just bad at designing things in the first place. But when I do get a design I can never make it work.

Offline

 

#71 2012-10-08 18:15:18

transparent
Scratcher
Registered: 2011-04-19
Posts: 1000+

Re: CSS Discussion

I know many amazing websites that just don't look good.


yes, yes i do.

Offline

 

#72 2012-10-08 18:48:47

luiysia
Scratcher
Registered: 2011-07-05
Posts: 1000+

Re: CSS Discussion

I like that it works

I don't like semicolons because I always forget them and then I look at it and wonder why the carp it's not working and it's several hours before i realize "oh darn I forgot 6 semicolons"


http://i50.tinypic.com/dx00pd.gif

Offline

 

#73 2012-10-08 19:04:09

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: CSS Discussion

I like that.


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#74 2012-10-08 19:13:02

transparent
Scratcher
Registered: 2011-04-19
Posts: 1000+

Re: CSS Discussion

Semicolons? ;_;


yes, yes i do.

Offline

 

#75 2012-10-08 19:28:41

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: CSS Discussion

Semicolons need getting used to, but they're not too bad;

They're used in many languages including JS, PHP etc;


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

Board footer