Kreative Flow Designs
Thanks for visiting Kreative Flow. You'll recieve the best tutorials, resources and graphic information here.

Do register if you are a guest for exclusive content only for members!


Keeping the style type on a single line?

View previous topic View next topic Go down

Keeping the style type on a single line?

Post by erione on Mon 18 May 2009, 12:52 pm

So guys,

Instead of this:

1. h2{ color: #dfdfdf;
2. font-size: 80%;
3. margin: 5px;
4. padding: 10px;
5. }

How can I make it a single line? Would this be right:

h5{color: #dfdfdf; fo nt-size: 80%: margin: 5px; padding: 10px;}

?
avatar
erione
Global Moderator
Global Moderator

Number of posts : 1285
Flow Points : 2110
Reputation : 21
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: Keeping the style type on a single line?

Post by Keitho on Mon 18 May 2009, 4:21 pm

hmmm. that looks just about right but you put a space in between the fo and the nt in "font"

you could check at www.w3schools.com that would help thats hat I do because i usually forget some CSS codes...

Keitho
Banned

Number of posts : 254
Flow Points : 519
Reputation : 4
Warnings :
0 / 1000 / 100

Mood :

View user profile http://www.keiths-webpage.comuv.com

Back to top Go down

Re: Keeping the style type on a single line?

Post by erione on Mon 18 May 2009, 8:48 pm

I've done that but it still doesn't work. I'm confused whether I should use ";" or ":"

Thanks for the link.

_________________
| Universal.Rules |
A motto never lives up to it's principle when your not guided enough in life.
Yet, a simple smile is destructive enough to change ones view.



avatar
erione
Global Moderator
Global Moderator

Number of posts : 1285
Flow Points : 2110
Reputation : 21
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: Keeping the style type on a single line?

Post by Adil on Tue 19 May 2009, 9:33 am

I dont think it works on one line?

_________________
Three R's. Read all forum rules. Respect all members, Report all problems!



avatar
Adil
Founder
Founder

Number of posts : 2488
Flow Points : 3875
Reputation : 43
Warnings :
0 / 1000 / 100

Mood :

View user profile http://www.kreativeflow.net

Back to top Go down

Re: Keeping the style type on a single line?

Post by Bekki on Tue 19 May 2009, 1:30 pm

It is right but there is no space in fo nt. The rest of it is ok.
avatar
Bekki
Gold Member
Gold Member

Number of posts : 124
Flow Points : 240
Reputation : 4
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: Keeping the style type on a single line?

Post by Keitho on Tue 19 May 2009, 2:08 pm

I think it is this....

h5{color: #dfdfdf; font-size: 80%; margin: 5px; padding: 10px;}

this is what you did ...

h5{color: #dfdfdf; fo nt-size: 80%: margin: 5px; padding: 10px;}

The difference is that you didint put ; after the 80% for the font size...


Please +Rep????

Keitho
Banned

Number of posts : 254
Flow Points : 519
Reputation : 4
Warnings :
0 / 1000 / 100

Mood :

View user profile http://www.keiths-webpage.comuv.com

Back to top Go down

Re: Keeping the style type on a single line?

Post by erione on Wed 20 May 2009, 3:10 am

Thanks to everyone who replied especially Keitho.

Locked Smile

_________________
| Universal.Rules |
A motto never lives up to it's principle when your not guided enough in life.
Yet, a simple smile is destructive enough to change ones view.



avatar
erione
Global Moderator
Global Moderator

Number of posts : 1285
Flow Points : 2110
Reputation : 21
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: Keeping the style type on a single line?

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum