This is actually a two part question as i didnt see a point in creating two seperate threads
1. Is CSS layout possible for my website. I do agree tables take a long time to load but the website looks exactly as i would like it to. I have never tried CSS layout but would be willing to give it a try aslong as i can get the exact same look.
2. Is it possible to re-load a single cell in a table as apposed to the whole html code or is it possible to realod just the php code without re-loading the html.
For example, if i have a 2 cell table, "cell 1" will always remain the same. "cell 2" will change according to php if statements. I want to be able to re-load that cell by itself because re-loading the whole page takes too long and isnt needed.
I got that mostly from research on pros and cons of css layout and table layout. there are some other good pros with using css aswell, but at the moment im just concerned with the loading time of my page... could be the internet connection in this place (im not at home) but the page takes longer to load then i would like. CSS wont speed it up much but it should help. Especially if someone tries to load this page from a dailup connection, i want to squeze the loading time as much as possible without comprimising the look.
Update: I just realized this should have been posted in a different forum, Sorry! It wasnt intentional
Last edited by cbeaudin; 12-20-2006 at 04:34 AM..
Reason: Update
tables do take longer to load than css and tables are becoming more and more out dated every day. The good news is you absolutely can do this site with CSS and you can do it fairly easily off some beginner tutorials you will be able to redo this site with CSS it's a super simple layout.
The second part of your question though to reload just one area of a site you need to look into a client side langauge called ajax I don't use it but my understanding is it's not to hard to learn. Also though from reviewing your site here it does look like it would be beneficial for you to use it really other than gaining the knowledge your site does not take long to load and you don't have alot of graphics so if your site is taking a while to load it's because of the images in the right hand cell which I would assume are the same things you would load doing ajax......
if it's very graphic intensive consider preloading images to help load speed.
__________________
A patch is a piece of software which replaces old bugs with new bugs.
tables do take longer to load than css and tables are becoming more and more out dated every day. The good news is you absolutely can do this site with CSS and you can do it fairly easily off some beginner tutorials you will be able to redo this site with CSS it's a super simple layout.
The second part of your question though to reload just one area of a site you need to look into a client side langauge called ajax I don't use it but my understanding is it's not to hard to learn. Also though from reviewing your site here it does look like it would be beneficial for you to use it really other than gaining the knowledge your site does not take long to load and you don't have alot of graphics so if your site is taking a while to load it's because of the images in the right hand cell which I would assume are the same things you would load doing ajax......
if it's very graphic intensive consider preloading images to help load speed.
CSS is allways possible, and now, recommended.
Some people says <div> tags are the latest fashion, and tables are out, and dont get me wrong, i like tables, but using div tags makes the code smaller so it loads faster.
Clayton like just about everyone has said you can definitely code the site using css and it is a pretty simple layout. I think you'll be able to find a sample layout online to follow, but feel free to ask here if you decide to go with css and need a hand.
Ophir, I don't think anyone answered why a table loads slower so I'll give it a go. When a broswer sees code for a table it has to read that code twice before displaying it. A table isn't the simplest thing to understand how to layout especially with tables inside other tables.
A browser will read the table code once to understand it and then a second time to display it. If you have a very simple table you might not notice the difference, but as a table gets more complex and more tables are nested inside it would become more perceptible.
Also when a browser displays a table it's all or nothing. It doesn't display part of the table and then the next part. It's why you sometimes are waiting for a page to load and then all of a sudden the whole thing appears.
With css the browser can display parts instead of having to wait for the whole. So you can code in a way so your text loads right away and your visitors can start interacting with your site while a large image is loading in the background.
__________________ l Search Engine Friendly Web Design | Please login or register to view this content. Registration is FREE
l Tips On Marketing, SEO, Design, and Development | Please login or register to view this content. Registration is FREE
Thank you everyone for your replies. You have been more then helpful. I will try to pick up on some ajax theory first to see what i can do and i will see if i can convert the website to CSS layout this weekend as i should have some extra time on my hands.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?