Forum Moderators: not2easy
Here's a question.
I am just learning CSS and how it works and about navigation and the like. My website had no tables or frames and will be using CSS for all design elements. I have some idea of what I'm doing but have come to a question about how CSS or an HTML page operates in relation to retrieving data from a file.
What I'm trying to do is implement a text file or something that contains some html into all my pages. Say its for a nav bar. I want to make things easy and code a nav bar (in html/css) in its own file and then have my "/pagename.html" take all that info inside the nav file and display it. That way, if I want to add a link or fix a link, all I have to do is open the nav file instead of fixing all the pages manually. Now, I know you're probably saying - USE A CMT! (content management tool) like Joomla! or something, but I really feel like a CMT would be overkill for what I'm trying to accomplish.
My only thought was utilizing javascript, but I dont know javascript at all and like I said, I want to use CSS for everything.
Any thoughts?