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 04-30-2006, 08:56 PM   PM User | #1
ACro
New to the CF scene

 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ACro is an unknown quantity at this point
CSS Help Please

Those are my first attemps with CSS based website, I used tables

Finally when I was able to control those things I am haing problems...

Here is what I made and I stuck ..... see why .. >



I am using dreamweaver. here is what I made as the first stages..



Here is the HTML code it self




Here is my CSS




Okay all looks good to my un-expirinesed eye. but until I tried to preview it...



Can some one see the problem, and mayby help.

Thenks
ACro is offline   Reply With Quote
Old 04-30-2006, 09:03 PM   PM User | #2
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Yeah you need a # before ALL hex values. You don't have one for the background color of #main. Also padding does count for overall width and height fyi. In the future please just post the code rather than screen shots of the code, it helps in testing possible solutions easier.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 05-01-2006, 04:35 AM   PM User | #3
Dan Williamson
New Coder

 
Join Date: Apr 2006
Location: Manchester, UK
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Dan Williamson is an unknown quantity at this point
Code:
body,td,th{
font-family: Arial;
font-size: 12px;
}

body{
background-color: #2f2f2f;
}

#main{
background-color: #f8f8f8;
margin: auto;
width: 728px;
padding-top: 17px;
padding-right: 16px;
padding-left: 15px;
border: 1px solid #646464;
}
Dan Williamson is offline   Reply With Quote
Old 05-01-2006, 05:00 AM   PM User | #4
ACro
New to the CF scene

 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ACro is an unknown quantity at this point
Oh very sorry for posting screens I will next time.

And thenks alot for the help.
ACro 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 07:36 PM.


Advertisement
Log in to turn off these ads.