MrDNA Posted March 10, 2010 Share Posted March 10, 2010 Hello there.Been following W3 for a while. Follow lots of tuts topics and got a few certificates! Yay thanks for that!Now Im stuck with a problem.Im a temp in a company. They asked me to make the homepage. Ofc I said yes. Since im probably going to leave soon, I want it so that they can manage without me.So I thought of jQuery iframes loaded onto the page from an external file. Since its a print guild, they want it to look nice.But I cant dress the content loaded in the Iframe. Only BGC. Is there a way to solve this and make-up the content in the Iframe with an external CSS?If not whats an alternative for that?Thank you in advance.Philip Link to comment Share on other sites More sharing options...
thescientist Posted March 10, 2010 Share Posted March 10, 2010 where the loaded content coming from? Is it an HTML page? Why not make it its own stylesheet. Link to comment Share on other sites More sharing options...
MrDNA Posted March 10, 2010 Author Share Posted March 10, 2010 Ive been thinking about that. But no ty. I want them to do as les as possible. At most <h1/> tags.So is there another alternative?Of should I just use html sites?Sys.Philip Link to comment Share on other sites More sharing options...
thescientist Posted March 10, 2010 Share Posted March 10, 2010 I don't get what you mean by "HTML" sites. What other way is there? And I don't get what's wrong with making a stylesheet. Your styles should ideally be in an external CSS file anyway. But first and foremost, as I asked, where is your content being loaded from? Is it a regular HTML file? (i.e. not coming from an XML file, DB, etc) Link to comment Share on other sites More sharing options...
MrDNA Posted March 10, 2010 Author Share Posted March 10, 2010 Its not a regular HTML file. Its a .txt file. The goal is that they can modify the text in the .txt file. More simple the better.So that they dont have to worry about the lay-out etc. Here is the code: (I do use external stylesheets)<head><link rel="stylesheet" type="text/css" href="test2.css" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled Document</title></head><body><div id="Test"><div><iframe class="bagger" src="bagger.html" width="500px" height="500px"scrolling="auto" frameborder="1"></iframe></div></div></body>I hope I made it more clear with this?I just want them to mod text in a txt file and the layout of the text remains the same.Ty in advance and for trying.Philip Link to comment Share on other sites More sharing options...
Synook Posted March 11, 2010 Share Posted March 11, 2010 Why not just use a CMS? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.