PDA

View Full Version : pHp or CSS for loading?



oldbook
30 Aug 2009, 11:50 PM
Hello everyone,

I was wondering how to load my contents into my layout. I made the layout out of CSS and not tables, but now I'm stuck at the loading part.

I have the div setup for the pages eg "news, portfolio, about". Is there a specific way to make my links, and is there a code I need to have within the Div in order for the pages to load?


Thanks a million :)

The_Holy_One
01 Sep 2009, 03:35 AM
as far as i know you should use PHP for dynamic content loading and CSS for the Layout as you already did. I even dont know (at once) a method to load "text" content through CSS Files, but i am sure if you search for it you will find it.

What you could also do is to combine CSS (Layout) + HTML and JavaScript/jQuery to refresh the Pagecontent without reloading the whole Page everytime something has to change. Thats the common way "I" know.