Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-08-2013, 03:48 AM   PM User | #1
mooapo
New Coder

 
Join Date: Aug 2011
Location: Saginaw MI
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
mooapo is an unknown quantity at this point
Please Check Out My CSS, Does It Look Right ?

Hello !

I was hoping some one could take a peek at my CSS and tell me if it looks right. I am new to Web Design and still learning.
Code:
body {
    background-attachment:scroll;
    background-color:#000;
    background-clip:border-box;
    background-image:url(img/bg-body.jpg);
    background-origin:padding-box;
    background-position:left top;
    background-repeat:repeat-xy;
    background-size:auto auto;        
    font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; /* Serve Helvetica Neue, with Helvetica fallbacks to Arial */
    font-size:11px;
    font-weight:300; /* Better supported than 'lighter' attribute */
    line-height:18px;
    color:#444; /* Lighter on the eyes than #000 Black */
}
Also, is the image to large? What I am asking is, is the image right as well?

Thank you....
Attached Thumbnails
Click image for larger version

Name:	bg-body.jpg
Views:	47
Size:	36.5 KB
ID:	11841  
mooapo is offline   Reply With Quote
Old 01-08-2013, 04:44 AM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello mooapo,
I wonder if you really need all that stuff. Do you know what background-clip or origin is doing for you?

repeat-xy is invalid (see the links about validation in my signature line)

Maybe all of that could be tidied up a bit to look like this -
Code:
body {
	color: #444; 
	background: #000 url(img/bg-body.jpg);
	font: 300 11px/18px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:29 AM.


Advertisement
Log in to turn off these ads.