Ok, not sure if it's doable and how it's done, so l have come here :) Now what l am after is this, l have a css file and a html file, now in my html file l would like to be able to load in data from a .txt doc and apply the styles from the css file. the .txt doc will contain html. here is my main issue if l do this will positioning be an issue? And what html could l use to do this? if you are wondering why l am after this it is for easy editing for people when do not understand html very well, and if l can make all the menu's on the site load from one .txt doc l only ever need to change that 1 .txt file and it should remain the same on every other page of the site.. so doable?
dlannetts
0
Junior Poster in Training
Recommended Answers
Jump to PostTo display another html file in a page you use the <iframe>:
<iframe src="yourpage.html"></iframe>
This can be styled for the height and width.
The source should be full html (everything; header, body, etc.) document and not just snippets of code - just in case you were …
Jump to PostWell, it sound likes like you want php (getting into a different area). With php you coud creat a dynamic webpage, i.e. the content can be changed with out editing the source code manually. A page with purely html and css is static - the content can't be changed without …
All 5 Replies
cloud09
0
Junior Poster in Training
dlannetts
0
Junior Poster in Training
cloud09
0
Junior Poster in Training
dlannetts
0
Junior Poster in Training
almostbob
866
Retired: passive income ROCKS
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.