LOG_IN

LOG_OUT
[connected]

[RESOLVED] Need help with HTML 5 5 1

View previous topic View next topic Go down Message [Page 1 of 1]

#1 [RESOLVED] Need help with HTML

MotionM

Poster Mcposty
FFFFFF

Poster McpostyFFFFFF
||||||||||||||||
I'm JUST starting to learn some basic html but

I've run into a problem with adding background colors.



the code that I was told to use is
Code:
body {
   font-size: 0.8em;
   color: navy;
}

h1 {
   color: #ffc;
   background-color: #009;
}


It only shows the text of the code, not the actual code. I am doing this in notepad and the HTML view-thingy with Firefox.
MotionM's signature



^Want the above userbar in your profile? Here's the code.
Code:
 [img]http://img718.imageshack.us/img718/7481/gfuserbar.jpg[/img][/URL]



View my blog, http://motionmreview.blogspot.com/

Want a certain music album or game reviewed? Send me an Email at MotionM@hotmail.com!

: MShinigaki
Add me for some League of Legends fun!
http://motionmreview.blogspot.com/ http://www.twitter.com/MotionMatt http://www.facebook.com/MShinigakihttp://www.facebook.com/MShinigaki http://Youtube.com/kingdomheartsdirect
#2 Re: [RESOLVED] Need help with HTML

G@MeF@Ce

Administrator
CD3DF5

Administrator CD3DF5
||||||||||||||||
@M\'s trade mark - that looks like CSS code: I'll explain later... if you like

there's so many ways to do the same thing yet if you're just looking for html basics, place this code after the < body >tag

Code:
<body bgcolor="navy">
<font color="white">


is this a full on HTML page that your are working on?


G@MeF@Ce's signature


Hey Guest, check out my demos!
Super Mockup Project
Cool Puzzle Cave
Into the Nexas
Web_Plat
Getroid
G.A.S.




G101's theme colors






http://g4m3f4c3.deviantart.com http://twitter.com/#!/mr_gameface101 http://www.facebook.com/mrgameface101 http://soundcloud.com/mr_gameface101 http://www.youtube.com/user/MrGameface101?feature=watch
#3 Re: [RESOLVED] Need help with HTML

MotionM

Poster Mcposty
FFFFFF

Poster McpostyFFFFFF
||||||||||||||||
@GF: Yes, CSS I meant.

I guess the site I was using isn't the best with the colors then. Razz

I'm just trying to learn a bit, just using some of information and resources I already have to have some more of knowledge.
MotionM's signature



^Want the above userbar in your profile? Here's the code.
Code:
 [img]http://img718.imageshack.us/img718/7481/gfuserbar.jpg[/img][/URL]



View my blog, http://motionmreview.blogspot.com/

Want a certain music album or game reviewed? Send me an Email at MotionM@hotmail.com!

: MShinigaki
Add me for some League of Legends fun!
http://motionmreview.blogspot.com/ http://www.twitter.com/MotionMatt http://www.facebook.com/MShinigakihttp://www.facebook.com/MShinigaki http://Youtube.com/kingdomheartsdirect
#4 Re: [RESOLVED] Need help with HTML

G@MeF@Ce

Administrator
CD3DF5

Administrator CD3DF5
||||||||||||||||
ok so you are using a cascading style sheet?

then try adding this to your CSS

Code:
.body {
background-color: #000080;
}


lemme know if that works for you, then we can style other things ^,^
G@MeF@Ce's signature


Hey Guest, check out my demos!
Super Mockup Project
Cool Puzzle Cave
Into the Nexas
Web_Plat
Getroid
G.A.S.




G101's theme colors






http://g4m3f4c3.deviantart.com http://twitter.com/#!/mr_gameface101 http://www.facebook.com/mrgameface101 http://soundcloud.com/mr_gameface101 http://www.youtube.com/user/MrGameface101?feature=watch
#5 Re: [RESOLVED] Need help with HTML

MotionM

Poster Mcposty
FFFFFF

Poster McpostyFFFFFF
||||||||||||||||
Edit: Nevermind. Needed to make a whole new section after the HTML. I got it now. Cool

And yes, that worked (you added a . before body btw Wink )
MotionM's signature



^Want the above userbar in your profile? Here's the code.
Code:
 [img]http://img718.imageshack.us/img718/7481/gfuserbar.jpg[/img][/URL]



View my blog, http://motionmreview.blogspot.com/

Want a certain music album or game reviewed? Send me an Email at MotionM@hotmail.com!

: MShinigaki
Add me for some League of Legends fun!
http://motionmreview.blogspot.com/ http://www.twitter.com/MotionMatt http://www.facebook.com/MShinigakihttp://www.facebook.com/MShinigaki http://Youtube.com/kingdomheartsdirect

View previous topic View next topic Back to top Message [Page 1 of 1]

 

Chatbox system disabled
Personal messaging disabled