HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
What am I doing wrong?
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
AmyR9



Joined: 14 Sep 2008
Posts: 79

PostPosted: Tue Sep 16, 2008 1:59 pm     What am I doing wrong? Reply with quote

Thought this would be the best place to begin with figuring out what I'm doing wrong with the CSS.
I think I'm maybe getting it and then I don't understand it.
Here is my site I've opened up to try and practice with learning the CSS.
Trying to get my background to show up, but for some reason it wont
http://www.geocities.com/computerhelp993/testing.html
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1391
Location: Biloxi, MS

PostPosted: Tue Sep 16, 2008 4:04 pm     Reply with quote

Talking about the bg image: http://www.geocities.com/computerhelp993/lightblue.jpg ? It's showing up just fine.
AmyR9



Joined: 14 Sep 2008
Posts: 79

PostPosted: Wed Sep 17, 2008 3:43 pm     What would be the correct CSS code for this? Reply with quote

<body background="lightblue.jpg" text="#000000" link="#0000ff" vlink="#0000ff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

I'm trying to figure out if I'm understanding this right. Would this be correct? Or if not, what would be correct? I've read how you can group things together to apply more than one property to the selector but to separate them with a semi-colon.
So, would this be ok or if not, am I closer to understanding how to do the CSS?

body{background-image:url('lightblue.jpg'); background-repeat:repeat; text-align:center; color:black; a:link:blue; v.link:blue; margin: 0px 0px 0px 0px;}
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1391
Location: Biloxi, MS

PostPosted: Wed Sep 17, 2008 4:52 pm     Re: What would be the correct CSS code for this? Reply with quote

AmyR9 wrote:
<body background="lightblue.jpg" text="#000000" link="#0000ff" vlink="#0000ff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

I'm trying to figure out if I'm understanding this right. Would this be correct? Or if not, what would be correct? I've read how you can group things together to apply more than one property to the selector but to separate them with a semi-colon.
So, would this be ok or if not, am I closer to understanding how to do the CSS?

body{background-image:url('lightblue.jpg'); background-repeat:repeat; text-align:center; color:black; a:link:blue; v.link:blue; margin: 0px 0px 0px 0px;}
As stated on the other posts, do not use named colors and do not put your link styles in with the body styling. Not the same. You either style the body tag or the link tags, but not the way you are doing it.

You are not following what I said in our other posts about how to style the background image. Look again and follow it closely. Your example is doing it the long, hard way and leaving out a few things.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1391
Location: Biloxi, MS

PostPosted: Sat Sep 27, 2008 1:25 pm     Reply with quote

Haven't heard back from you so take it all is going well.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial