Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 20, 2012, 05:26 PM   #1
loft3
macrumors regular
 
Join Date: Feb 2006
What apps export to "flat HTML"?

A company wants a document I am writing as a "flat HTML" file.

Forgive my ignorance, but what is this?

Can I write the document in Word, TextEdit, or Pages and then export to "flat HTML?

It's just a text file, correct?

Any help is appreciated.
loft3 is offline   0 Reply With Quote
Old Oct 20, 2012, 07:10 PM   #2
jared_kipe
macrumors 68030
 
jared_kipe's Avatar
 
Join Date: Dec 2003
Location: Seattle
Send a message via AIM to jared_kipe
I assume they mean they want an html document with all CSS and/or Javascript embedded in the page itself.

They could also mean they want only inline styles, i.e. no <style> tags in the document so that it is more compatible with HTML email.

'Traditional' inline styles.
Code:
<div style="float: left; width: 100px">
 ...
</div>
<div style="float: right; width: 100px">
 ...
</div>
CSS Style tags
Code:
<style type="text/css">
    .left {float: left;}
    .right {float: right;}
    .onehundred {width: 100px;}
</style>
<div class="left onehundred">
 ...
</div>
<div class="right onehundred">
 ...
</div>
What you get from the mentioned programs will probably vary.
jared_kipe is offline   0 Reply With Quote
Old Oct 23, 2012, 01:55 PM   #3
SrWebDeveloper
macrumors 68000
 
SrWebDeveloper's Avatar
 
Join Date: Dec 2007
Location: Alexandria, VA, USA
 
To OP:

Just wanted to add to some clients it also might mean a web page "devoid of any formatting codes, line feeds or encoded or special control characters of any kind", which is a text file.

In some cases, clients mean they want an extensible format for easier universal import/export, i.e. XHTML and there are tools out there such as HTML Tidy which converts HTML to XML. "This conversion is useful for webmasters who are migrating to XML. It can also help XML converts who have to interface with legacy HTML tools." as noted in the web site where you can download HTML Tidy:

http://www.ibm.com/developerworks/xm...idy/index.html

This is intended to simply expand upon jared_kipe's excellent response, of course.
__________________
Jim Goldbloom
Sr. Web Developer, owner GoldTechPro, LLC
http://www.GoldTechPro.com
SrWebDeveloper is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Flat design is "Platymorphic" cleo1 iOS 7 8 Jul 30, 2013 02:53 PM
"Flat": I think many people are misunderstanding the meaning xcodeaddict iOS 7 2 Jun 4, 2013 08:36 PM
"Flat design" coming in 10.9 also? MasterHowl OS X 10.8 Mountain Lion 8 May 29, 2013 04:23 AM
Sick of people complaining about "flat design!" aPple nErd iOS 7 58 May 25, 2013 11:37 AM
A thought on "Flat" Design gmanist1000 iOS 7 31 May 19, 2013 04:40 AM

Forum Jump

All times are GMT -5. The time now is 07:01 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC