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.

Website Design Forum


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



Freelance Jobs

Reply
Good Design Bad Code... Need help
Old 04-09-2007, 01:16 PM Good Design Bad Code... Need help
Novice Talker

Posts: 9
Name: Mike Elder
Trades: 0
Ok... so i have a good design and bad code....
I posted my site for review and most people like my design except for a few things, but my code sucked it up big time.....
... so in order to make the site better and better and hopefully make this into a job someday. but in order to do this i have to start somewhere and get some help along the way. So i started to read more and more of CSS ........ Cant say that it all sank in yet but i started....

here is my test so far, it works fine in firefox but not in IE dont know why maybe someone can tell me

CSSTESTLINK

link to the Css Code


HELP ME, I know I need it



THANKS FOR ALL THE COMMENTS
Elderm1 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-09-2007, 01:25 PM Re: Good Design Bad Code... Need help
Banned

Posts: 905
Name: Travel Agent
Trades: 0
There's nothing wrong with your CSS -- for a beginner, you did an excellent job!

But, checking your site, you didn't start it with the mandatory <!DOCTYPE Declaration> for validation and to ensure your site displays properly in all browsers ... therefore, you only have these 9 code warnings to fix:

Code:
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 61 column 11 - Warning: <embed> is not approved by W3C
line 61 column 181 - Warning: discarding unexpected </embed>
line 42 column 1 - Warning: <body> proprietary attribute "leftmargin"
line 42 column 1 - Warning: <body> proprietary attribute "topmargin"
line 42 column 1 - Warning: <body> proprietary attribute "marginwidth"
line 42 column 1 - Warning: <body> proprietary attribute "marginheight"
line 45 column 3 - Warning: <table> proprietary attribute "height"
line 81 column 11 - Warning: <a> escaping malformed URI reference
travelagent is offline
Reply With Quote
View Public Profile
 
Old 04-09-2007, 03:20 PM Re: Good Design Bad Code... Need help
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Simply put, your big issue is that you use absolute positioning...a lot. There's nothing wrong with absolute positioning in and of itself, but it should only be used to break up document flow. In your case, you don't want to do that. You can use an unordered list to list off the menu items and a div on either side (top and bottom) for the little boxes.

Also, use classes if you plan on repeating styles more than once per page and IDs (#header, #menu, #footer) for elements that are only displayed once per page.

Those are the two basic concepts that should get you to where you want to go. Now play with them and see where it takes you.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Good Design Bad Code... Need help
 

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.13553 seconds with 12 queries