 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
AmyR9
Joined: 14 Sep 2008
Posts: 79
|
| Posted: Tue Sep 16, 2008 1:59 pm What am I doing wrong? |
|
|
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: 1402
Location: Biloxi, MS
|
| Posted: Tue Sep 16, 2008 4:04 pm |
|
|
| 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
|
| Posted: Wed Sep 17, 2008 3:43 pm What would be the correct CSS code for this? |
|
|
<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: 1402
Location: Biloxi, MS
|
| Posted: Wed Sep 17, 2008 4:52 pm Re: What would be the correct CSS code for this? |
|
|
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: 1402
Location: Biloxi, MS
|
| Posted: Sat Sep 27, 2008 1:25 pm |
|
|
| Haven't heard back from you so take it all is going well. |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|