LOGIN
SEARCH
PROFILE
keys: ↑ ↓
LOGOUT
INDEX
MEMBERS
keys: ↑ ↓
HOME
PORTAL
PLAY ALONG
PLAY with WORDS
PLAY with GRAPHICS
PLAY with SOUNDS
PLAY with CODES
PLAY with PROJECTS
keys: ← →
Guest Access
Register:
Members:



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

Poster Mcposty
Poster Mcposty
#1 [RESOLVED] Need help with HTML Empty [RESOLVED] Need help with HTML
Loading

MotionM

MotionM
Poster Mcposty
Poster Mcposty
Poster Mcposty
profile
I'm JUST starting to learn some basic html but

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

[RESOLVED] Need help with HTML Html10

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.
Poster Mcposty
Show Signature
Poster Mcposty
https://www.dropbox.com/sh/l3s9sn0nmkaxmy7/Lrut_zZyWd http://motionmreview.blogspot.com/ https://twitter.com/_motionm
Administrator
Administrator
#2 [RESOLVED] Need help with HTML Empty Re: [RESOLVED] Need help with HTML
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
@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?


Administrator
Show Signature
Administrator
https://www.dropbox.com/sh/i47rig99qhrvn8s/4m5HvsM2fD http://g4m3f4c3.deviantart.com https://www.facebook.com//pages/Gameface101/332331300127008 https://twitter.com//mr_gameface101 https://soundcloud.com/schurr https://www.youtube.com/user/MrGameface101?feature=watch
Poster Mcposty
Poster Mcposty
#3 [RESOLVED] Need help with HTML Empty Re: [RESOLVED] Need help with HTML
Loading

MotionM

MotionM
Poster Mcposty
Poster Mcposty
Poster Mcposty
profile
@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.
Poster Mcposty
Show Signature
Poster Mcposty
https://www.dropbox.com/sh/l3s9sn0nmkaxmy7/Lrut_zZyWd http://motionmreview.blogspot.com/ https://twitter.com/_motionm
Administrator
Administrator
#4 [RESOLVED] Need help with HTML Empty Re: [RESOLVED] Need help with HTML
Loading

G@MeF@Ce

G@MeF@Ce
Administrator
Administrator
Administrator
profile
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 ^,^
Administrator
Show Signature
Administrator
https://www.dropbox.com/sh/i47rig99qhrvn8s/4m5HvsM2fD http://g4m3f4c3.deviantart.com https://www.facebook.com//pages/Gameface101/332331300127008 https://twitter.com//mr_gameface101 https://soundcloud.com/schurr https://www.youtube.com/user/MrGameface101?feature=watch
Poster Mcposty
Poster Mcposty
#5 [RESOLVED] Need help with HTML Empty Re: [RESOLVED] Need help with HTML
Loading

MotionM

MotionM
Poster Mcposty
Poster Mcposty
Poster Mcposty
profile
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 )
Poster Mcposty
Show Signature
Poster Mcposty
https://www.dropbox.com/sh/l3s9sn0nmkaxmy7/Lrut_zZyWd http://motionmreview.blogspot.com/ https://twitter.com/_motionm

Sponsored content

profile

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

 

Chatbox system disabled
Personal messaging disabled