Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
after two days of CSS learning
Old 07-15-2008, 09:05 PM after two days of CSS learning
Banned

Posts: 52
Name: Dang N
Location: Rowlett Tx
Trades: 0
guys tell me what you think. its my day '2' of CSS

its very basic, i added an header on the top left, and bottom photo located in the bottom right.

www.dangmn.net

Last edited by Dangmnx; 07-15-2008 at 09:06 PM..
Dangmnx is offline
Reply With Quote
View Public Profile Visit Dangmnx's homepage!
 
 
Register now for full access!
Old 07-15-2008, 11:16 PM Re: after two days of CSS learning
Ultra Talker

Posts: 353
Name: Michael
Location: Spring Hill, Florida
Trades: 0
Css,,, Yuck
__________________

Please login or register to view this content. Registration is FREE
6,000+ Places to Advertise FREE with

Please login or register to view this content. Registration is FREE
& 25,000 Locals through statistical reference of traffic, quality, popularity, and more!

eautocad is offline
Reply With Quote
View Public Profile Visit eautocad's homepage!
 
Old 07-15-2008, 11:29 PM Re: after two days of CSS learning
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
Not bad for 2 days.

1) Add a DOCTYPE and validate through the W3C tools. This will help you learn.
http://validator.w3.org/detailed.html
http://jigsaw.w3.org/css-validator/

2) Put more in the CSS. Get rid of the font tags.
joder is offline
Reply With Quote
View Public Profile
 
Old 07-16-2008, 06:57 AM Re: after two days of CSS learning
StylaStyla's Avatar
Mad Man

Posts: 401
Name: Styla
Location: City of London
Trades: 0
You have multiple head tags. Why not put all the styles into one place.

Looks good though.. just needs a lot of cleaning in the code.

Last edited by StylaStyla; 07-16-2008 at 06:58 AM..
StylaStyla is offline
Reply With Quote
View Public Profile Visit StylaStyla's homepage!
 
Old 07-16-2008, 08:09 AM Re: after two days of CSS learning
Banned

Posts: 52
Name: Dang N
Location: Rowlett Tx
Trades: 0
thanks guys!
Dangmnx is offline
Reply With Quote
View Public Profile Visit Dangmnx's homepage!
 
Old 07-16-2008, 10:11 AM Re: after two days of CSS learning
pealo86's Avatar
Super Spam Talker

Posts: 850
Name: Matt Pealing
Location: England, north west
Trades: 0
I like the clean look / layout. But theres still several HTML formatting tags in there. Try replacing all of the <font> tags and their attributes with CSS styles.

Also, your code will be cleaner if you use an external style sheet and put all your CSS in there.

You can then link to your style sheet from your webpages using some code similar to this:

Code:
<link href="css/style.css" rel="stylesheet" type="text/css" />
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
pealo86 is online now
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
Old 07-17-2008, 12:40 AM Re: after two days of CSS learning
Banned

Posts: 52
Name: Dang N
Location: Rowlett Tx
Trades: 0
alright, i think i did everything correctly, what do you guys think now? have i improve or not?


http://www.dangmn.net/dn/css/index.php
Dangmnx is offline
Reply With Quote
View Public Profile Visit Dangmnx's homepage!
 
Old 07-17-2008, 10:02 AM Re: after two days of CSS learning
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
It looks a lot better

I would move the inline styles to dn.css. For instance, where you have:
Code:
h4 style="text-align: center; font-family: verdana;
Change to just <h4> and put in the CSS file
Code:
h4 {
    text-align: center; 
    font-family: verdana;
}
But since you want all text to be verdana,
put that in the .body part of the CSS. But I wouldn't have
a .body since that is confusing with the body tag. Name
it something like "page". And use an id with a #page
since it will only be used once on the page.

CSS:
Code:
#page {
    width: 764px;height: 635px;top: 92px;left: 132px;
     position: absolute;
    font-family: verdana;
}
Code:
<div id="page">
Move your style for links that you have in the head to the style sheet.

Last edited by joder; 07-17-2008 at 10:05 AM..
joder is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to after two days of CSS learning
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.32060 seconds with 12 queries