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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
PHP and CSS Vs. PHP and HTML
Old 11-10-2006, 12:18 AM PHP and CSS Vs. PHP and HTML
Average Talker

Posts: 17
Trades: 0
Hi All
I need to build a site that will have a database with some php code handling all the work.
The layout will be based on a design of the companys print catalog.
And the Print design isnt ready. So I need to start working on the php code already.
I was thinking of whipping together a site in dreamweaver with some tables etc just to place all the elements and links and so on, and then have someone write the php code I need.I would then test the system and later as the design is ready, layout the actual site with css, then have the coder attach the code tto the new site.
Can anyone estimate is that a method that will end up wasting time and effort as the eventual site will be done in css with no tables if possible?
I mean I understand that some php code will surely have to look different but how big will the difference be, wil it be worth it?
I would appreciate any advice.At this moment the layout of the final desig is not ready, but an online prototype is needed.
Thanks
Sami

Last edited by sambkk; 11-10-2006 at 12:21 AM..
sambkk is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-10-2006, 04:16 AM Re: PHP and CSS Vs. PHP and HTML
Super Talker

Posts: 124
Name: Chris
Trades: 0
Well if you know what you are doing with PHP just make it all OOP then all you have to do is go back through your layout and add your classes/functions.

My method is, if you are going to do it, do it right the first time (or try to).

Also html and CSS aren't two seperate things so I dont know why you refer to them seperately. CSS and html go hand in hand. Style sheeting meets all standards set by www.w3.org .

The only thing you need the html/css pages for at all is debugging when you have built all your classes.
__________________
Chris - Trying to help others and learn myself!

Please login or register to view this content. Registration is FREE
ctess is offline
Reply With Quote
View Public Profile
 
Old 11-10-2006, 10:05 AM Re: PHP and CSS Vs. PHP and HTML
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You would save yourself, and the coder, time and aggravation if you layout the site with CSS from the very beginning. Converting from tables can be a real PITA.

HTML is the structure.
CSS is the styling
PHP takes care of the backend and there's no reason PHP can't write to a DIV rather than a table.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-14-2006, 02:38 AM Re: PHP and CSS Vs. PHP and HTML
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
That's the beauty of css.

If you structure your pages properly, you can make it look any way you need it to look after the fact. Get the info on the page generated by php into the proper elements, p, div etc. Then just use css to make it look the way it needs to look.

For some ideas as to how this works take a look at css Zen Garden: The Beauty in CSS Design

One page with proper use of html and css. This same page is given drastically diferent looks by the use of css, and css only. Because every one of these pages uses the exact same html document this can be done so effectivley because the document was designed with excellent structure.

Pretty cool stuff.

~Chip
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 11-14-2006, 05:14 AM Re: PHP and CSS Vs. PHP and HTML
northbeach23's Avatar
Ultra Talker

Posts: 379
Trades: 0
Quote:
Originally Posted by LadynRed View Post
You would save yourself, and the coder, time and aggravation if you layout the site with CSS from the very beginning. Converting from tables can be a real PITA.

HTML is the structure.
CSS is the styling
PHP takes care of the backend and there's no reason PHP can't write to a DIV rather than a table.
Yah I agree with this statement.
northbeach23 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PHP and CSS Vs. PHP and HTML
 

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