Generate excel from html - html

I am trying to generate excel file and my data is in the form of HTML string. I have an HTML table with few columns and rows. I am generating one huge HTML table with n rows and n column in java and saving that string into a flat file and naming that file as mydata.html or mydata.xls. When this file is opened using Microsoft Excel, it shows the table in the column-wise format. The document is rendered perfectly fine. This is the simplest way to generate the file in excel.
Please find attached the sample HTML file. Save this file as mydata.html or mydata.xls and open it using Microsoft excel. If saved as .xls, click yes in the excel dialog box at the time of opening.
<!DOCTYPE html>
<html>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
border: 1px solid #dddddd;
width: 75%;
valign:top;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
valign:top;
width: 25%;
}
tr:nth-child(even) {
background-color: #dddddd;
border: 1px solid #dddddd;valign:top;
}
</style>
<body>
<table>
<tr>
<th valign="top">Column 1</th>
<th valign="top">Column 2 </th>
<th valign="top">Column 3 </th>
</tr>
<tr>
<td valign="top">Row 1 Column 1</td>
<td valign="top">
<p>
<b>Paragraph 1 </b>. This is a large text which spills over multiple lines.Java is at the heart of our digital lifestyle. It's the platform for launching careers, exploring human-to-digital interfaces, architecting the world's best applications, and unlocking innovation everywhere from garages to global organizations. When it comes to building computer programming skills, learning Java will take you way beyond the games of your childhood. Knowing Java will be a clear advantage in your future career. Learning Java can be a skill for a career, or a skill for fun or both. Students of all ages have built amazing things, from hobby projects to world-changing initiatives. Oracle Academy Workshops are designed to make first experiences with computing fun and engaging, while still leveraging best academic curriculum practices like project-based learning and offering educators methods for assessment. Oracle Academy Workshops are best used by educators in one of three ways: to introduce students, including students as young as late primary school ages, to computer science in a fun and engaging way;
to incorporate exposure to computer science into the teaching of other academic disciplines; and
to offer a limited introduction to computer science to students via extra-curricular programs and/or workshop experiences.
</p>
<p><b>Paragraph 2 </b> --> Like our Getting Started with Java Using Alice Workshop, this freely available course is designed for teachers, students and individuals with little or no programming experience and teaches basic Java programming concepts through developing 3-D animations in Alice 3.1. Alice is a free, educational, introductory Java development environment created at Carnegie Mellon University. While it is suitable for all beginning learners, it can be especially engaging for girls. Learners will have fun creating animated stories and games using objects and characters from a rich gallery of 3-D models.
</p>
<p><b>Paragraph 3 </b> Oracle Academy Workshops are also available to Individual and Institutional members in Workshop in a Box formats to facilitate the delivery of introductory computer science workshops by parents, volunteers, computer club sponsors and educators who may not specialize in teaching computer science</p>
</td>
<td valign="top">
<p>
<b>Paragraph 1 </b>.
When you learn Java, youre learning more than just a language. Because Java is a technology platform with many interconnected capabilities that can give cutting-edge, in-demand job skills. In fact, Java tops Inc.coms list of the ten most popular programming languages. Java can take you where you want to go. Learn how to create games, simulations and other graphical programs using basic Java programming via free educational Java development environments from Carnegie Mellon University (Alice) and the University of Kent (Greenfoot). No prior programming or computer science experience is required.
</p>
<p>
<b>Paragraph 2 </b>.
Oracle Academy self-study courses are designed to provide a self-paced learning experience for teachers, students and individuals.
</p>
<p><b>Paragraph 3 </b>Oracle Academy Workshop in a Box are designed to facilitate the delivery of introductory computer science workshops by parents, volunteers, computer club sponsors and educators who may not specialize in teaching computer science.
</p>
</td>
</tr>
</table>
</body>
</html>
However, I am facing one major problem. Any paragraph (P tag) or the line break(using tag) causes the adjacent cells to jump to the next row. Please open the attached HTML file using excel. The column 2 and column 3 have 3 paragraph in them. Please observe the alignment of paragraph 2 of column 3. Paragraph 2 of column 3 doesn't start right after paragraph 1, it rather starts in same line as paragraph 2 of column 2. There is a lot of blank spaces above the paragraph 2 of column 3. I want the paragraph 2 should start right after the paragraph 1. If the html file is opened in browser, the alignment of paragraph is perfect.
I want the paragraph 2 should start right after the paragraph 1. Please find attached the image file.

you can use the line break tag <br> instead of the paragraph tag <p>, just add the style .... style="mso-data-placement:same-cell;" .. here is your example
<!DOCTYPE html>
<html>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
border: 1px solid #dddddd;
width: 75%;
valign:top;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
valign:top;
width: 25%;
}
tr:nth-child(even) {
background-color: #dddddd;
border: 1px solid #dddddd;valign:top;
}
</style>
<body>
<table>
<tr>
<th valign="top">Column 1</th>
<th valign="top">Column 2 </th>
<th valign="top">Column 3 </th>
</tr>
<tr>
<td valign="top">Row 1 Column 1</td>
<td valign="top">
<b>Paragraph 1 </b>. This is a large text which spills over multiple lines.Java is at the heart of our digital lifestyle. It's the platform for launching careers, exploring human-to-digital interfaces, architecting the world's best applications, and unlocking innovation everywhere from garages to global organizations. When it comes to building computer programming skills, learning Java will take you way beyond the games of your childhood. Knowing Java will be a clear advantage in your future career. Learning Java can be a skill for a career, or a skill for fun or both. Students of all ages have built amazing things, from hobby projects to world-changing initiatives. Oracle Academy Workshops are designed to make first experiences with computing fun and engaging, while still leveraging best academic curriculum practices like project-based learning and offering educators methods for assessment. Oracle Academy Workshops are best used by educators in one of three ways: to introduce students, including students as young as late primary school ages, to computer science in a fun and engaging way;
to incorporate exposure to computer science into the teaching of other academic disciplines; and
to offer a limited introduction to computer science to students via extra-curricular programs and/or workshop experiences.
<br style="mso-data-placement:same-cell;" />
<b>Paragraph 2 </b> --> Like our Getting Started with Java Using Alice Workshop, this freely available course is designed for teachers, students and individuals with little or no programming experience and teaches basic Java programming concepts through developing 3-D animations in Alice 3.1. Alice is a free, educational, introductory Java development environment created at Carnegie Mellon University. While it is suitable for all beginning learners, it can be especially engaging for girls. Learners will have fun creating animated stories and games using objects and characters from a rich gallery of 3-D models.
<br style="mso-data-placement:same-cell;" />
<b>Paragraph 3 </b> Oracle Academy Workshops are also available to Individual and Institutional members in Workshop in a Box formats to facilitate the delivery of introductory computer science workshops by parents, volunteers, computer club sponsors and educators who may not specialize in teaching computer science
<br style="mso-data-placement:same-cell;" />
</td>
<td valign="top">
<b>Paragraph 1 </b>.
When you learn Java, youre learning more than just a language. Because Java is a technology platform with many interconnected capabilities that can give cutting-edge, in-demand job skills. In fact, Java tops Inc.coms list of the ten most popular programming languages. Java can take you where you want to go. Learn how to create games, simulations and other graphical programs using basic Java programming via free educational Java development environments from Carnegie Mellon University (Alice) and the University of Kent (Greenfoot). No prior programming or computer science experience is required.
<br style="mso-data-placement:same-cell;" />
<b>Paragraph 2 </b>.
Oracle Academy self-study courses are designed to provide a self-paced learning experience for teachers, students and individuals.
<br style="mso-data-placement:same-cell;" />
<b>Paragraph 3 </b>Oracle Academy Workshop in a Box are designed to facilitate the delivery of introductory computer science workshops by parents, volunteers, computer club sponsors and educators who may not specialize in teaching computer science.
<br style="mso-data-placement:same-cell;" />
</td>
</tr>
</table>
</body>
</html>
And here's the result CLICK FOR THE RESULT IN EXCEL

Related

validator.w3.org Error: Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)

<!doctype html>
<html lang="en">
<head>
<title>My Resume</title>
<meta charset="utf-8" />
<!-- prgWebPage.html - My Resume Site
Written by: Rob Nelson nelsonj15#csp.edu
Written: 3/10/17
Revised: ???
-->
</head>
<body>
<h1>Rob Nelson</h1>
<!-- This is where my photo will be displayed -->
<img src="graphic/myPortrait.jpg" alt="A portrait of myself." />
<hr>
<h1>Professional Goal</h1>
<p>Greetings To All,</p>
<p>My name is Rob Nelosn, and a professional goal of mine is to gradute with my B.S. in Computer Sciences here at Concordia.
I believe this goal will not only enrich my personal development, but will give me tools I can implement into my career in the future.
I am currently working with a non-profit in Saint Paul, MN and I have used a few computer oriented skills since I was hired in 2014.
I hope to take the skills from this program to bolster my resume, and overall work portfolio, and ability.
<hr>
<h2>Work Experience</h2>
<hr>
<p><strong>New Lens Urban Mentoring Society Saint Paul, Minnesota 08/2014-Current Outreach and Partnership Coordinator</strong>
<br>Recruiting/Retaining Mentors for the program, Office Management, Website development, Social Media Development (Facebook, various blog sites)
</p>
<p><strong>Green Iowa AmeriCorps Dubuque, Iowa 08/2013-08/2014 Marketing Coordinator</strong><br>
Maintaining, and managing all fascists of social media.(Facebook, Instagram, Twitter, Monthly Newsletter, Company Website) My job also consisted of our primary focus which was Home Energy Audits, and Weatherizations. In addition I also helped with education events, outreach events, and other volunteer management projects.
<p><strong>The Busted Lift Dubuque, Iowa 08/2013-08/2014 Bartender</strong> <br>
Serve drinks, and cater to patron's needs as they arrive at the bar.
<p><strong>United States Army National Guard 06/2005-06/2009 46QPublic Affairs Specialist Journalist</strong><br>
Research, prepare and disseminate news releases, articles, Web-based material and photographs on Army personnel and activities.
<hr>
<h3>Education</h3>
<p><strong>York Technical College Rock hill, SC 2007 - 2009</strong><br>
Art with a focus on Music, GPA: 3.6
<p><strong>Concordia University Saint Paul, MN 2015 - Present</strong><br>
Computer Science Major, GPA: 3.54
</p>
<h4>Skills</h4>
<hr>
<p>
Public Speaking : Public Speaking 101, 102
Fund raising/Grant Writing : Wrote several grants for Green Iowa AmeriCorps (one for the company’s first billboard)
Writing/Editing : Creative writing for 4 years in High School Creative Writing 101-110
Business/Entrepreneur : Micro Econ, Macro Econ
Fine Arts/Crafts : Music History 101, Art Theory
Proficient in Microsoft Word, Power Point, and Publisher
2 years experience performing Energy Audits, and Low Impact Home Weartherizations
<hr>
<style type="text/css">
table{
border: 1px solid black;
font-family: times new roman;
}
td, th {
padding: 10px;
text-align: center;
vertical-align: bottom;
}
</div></style>
<table>
<tr>
<td><strong>My Hobbies</strong></td>
<td><strong>My Current Classes</strong></td></tr>
<tr>
<td>Video Games</td><td>Modern Web Design CSC 135</tr>
<tr>
<td>Guitar</td><td>Introduction to Psychology Psy 101</tr>
</table>
</body>
The error is here:
<hr>
<style type="text/css">
table{
border: 1px solid black;
font-family: times new roman;
}
td, th {
padding: 10px;
text-align: center;
vertical-align: bottom;
}
</div></style>
<table>
You have close tag </div> before close that is not allowed. additionally try to put your styles in head section instead inside the body

How to wrap the contents around an image?

I am trying to create an about page for a personal website. I am wondering how to wrap the text around the picture. I want this kind of effect. http://alexbudak.com/about/
The code I have right now is:
<div class="about_content">
<img src="placeholder.jpg" alt="">
<h2>The Brand</h2>
</p>
The Tailory New York is an appointment only custom clothing company that combines the modernity of Fashion Design with the heritage art of Custom Tailoring. We are unique in that we cater to both the Men and Women market.
</p>
<h2>The Concept </h2>
<p>
Providing personally designed, fitted and curated collections for each individual client is the essence of who we are. At The Tailory New York, we believe that your wardrobe should not only fit perfectly, but should be designed with only YOU in mind. The end result?—clients get the best of both worlds, impeccable custom fit and custom designed pieces that works seamlessly with their lifestyle.
</p>
<h2>A Note From the Founder</h2>
<p>
The idea for The Tailory New York began when I decided to direct my years of fashion design and men’s tailoring experience towards my own wardrobe. As a pant suit aficionado and a lover of men’s fashion and tailoring, I was always drawn to tailored clothing and strived to create fashion that conveyed the same message of confidence that a perfectly custom tailored suit did for men. Style icons like Sean Connery and Cary Grant, as well as modern day 007 Daniel Craig (shaken not stirred) were always my style inspirations. To me, they are the epitome of refinement and sophistication, true gentlemen in style.
My passion for fashion and tailoring led me through the Fashion Design program at Parsons followed by stints in custom tailoring, fashion design, fashion styling and brand development. But the more I integrated myself in the industry, the more I realized that impeccable fit, for men and women, was almost impossible to find in ready to wear clothing. So, I launched The Tailory New York, a way for me to combine my two passions, Fashion Design and Custom Tailoring. Everyone wants to look their best and having a wardrobe curated to your body and lifestyle not only enables you to look your best but makes you feel your best.
At The Tailory New York, “we believe that your wardrobe should not only fit perfectly, but should be designed with only YOU in mind.” Providing personally designed, fitted and curated collections for each individual client is the essence of who we are. Let us curate and design the wardrobe fit for YOU! </br>
<br> </br>
Sincerely,</br>
Shao Yang, Founder
<br> </br>
</p>
</div>
and the css is:
h2{
margin: 0 0 1.2em 0;
font-family: 'Raleway', 'sans-serif';
font-weight: normal;
}
.about_content{
width: 500px;
overflow: hidden;
}
.about_content img{
margin-right: 15px;
float: left;
}
.about_content p: last-child{
margin-bottom: 0;
}
What you have now will cause the content to wrap around the image. The trick to doing this is applying float: left; to the image, which you have already done.
What I'm suspecting is happening is your image is too wide. If it's 500px or wider, the image will take up the entire width of .about_content, so you need to limit the size of the image. Here's an example utilizing max-width on the image.
h2{
margin: 0 0 1.2em 0;
font-family: 'Raleway', 'sans-serif';
font-weight: normal;
}
.about_content{
width: 500px;
overflow: hidden;
}
.about_content img{
margin-right: 15px;
float: left;
max-width: 250px;
}
.about_content p: last-child{
margin-bottom: 0;
}
<div class="about_content">
<img src="https://static1.squarespace.com/static/541ff355e4b03f1e8815bc58/t/54b43e30e4b0ad2aad39a7f2/1421098552235/budak?format=500w" alt="">
<h2>The Brand</h2>
</p>
The Tailory New York is an appointment only custom clothing company that combines the modernity of Fashion Design with the heritage art of Custom Tailoring. We are unique in that we cater to both the Men and Women market.
</p>
<h2>The Concept </h2>
<p>
Providing personally designed, fitted and curated collections for each individual client is the essence of who we are. At The Tailory New York, we believe that your wardrobe should not only fit perfectly, but should be designed with only YOU in mind. The end result?—clients get the best of both worlds, impeccable custom fit and custom designed pieces that works seamlessly with their lifestyle.
</p>
<h2>A Note From the Founder</h2>
<p>
The idea for The Tailory New York began when I decided to direct my years of fashion design and men’s tailoring experience towards my own wardrobe. As a pant suit aficionado and a lover of men’s fashion and tailoring, I was always drawn to tailored clothing and strived to create fashion that conveyed the same message of confidence that a perfectly custom tailored suit did for men. Style icons like Sean Connery and Cary Grant, as well as modern day 007 Daniel Craig (shaken not stirred) were always my style inspirations. To me, they are the epitome of refinement and sophistication, true gentlemen in style.
My passion for fashion and tailoring led me through the Fashion Design program at Parsons followed by stints in custom tailoring, fashion design, fashion styling and brand development. But the more I integrated myself in the industry, the more I realized that impeccable fit, for men and women, was almost impossible to find in ready to wear clothing. So, I launched The Tailory New York, a way for me to combine my two passions, Fashion Design and Custom Tailoring. Everyone wants to look their best and having a wardrobe curated to your body and lifestyle not only enables you to look your best but makes you feel your best.
At The Tailory New York, “we believe that your wardrobe should not only fit perfectly, but should be designed with only YOU in mind.” Providing personally designed, fitted and curated collections for each individual client is the essence of who we are. Let us curate and design the wardrobe fit for YOU! </br>
<br> </br>
Sincerely,</br>
Shao Yang, Founder
<br> </br>
</p>
</div>

how to put text around centered image?

I am trying to accomplish something like this:
The can't seem to emulate the one above where the centered image is being surrounded by texts. I've tried using floats but something is just lacking and I have no idea what.
And this is what I currently have:
here is my code:
https://jsfiddle.net/eqs6e1db/
section{
text-align: center;
}
section p{
-webkit-column-count: 3;
-moz-column-count: 3;
-ms-column-count: 3;
-o-column-count: 3;
column-count: 3;
text-align: justify;
}
section article:first-child{
float: left;
}
section article:last-child{
float: right;
}
Well, you can not achieve really your layout. But you can hack it a little bit.
For each column, you can set a spacer, a filler, and another spacer.
The first spacer reserves space from the top, just to push the filler to the required position. The filler really reserves the space. And the reamining spacer consumes the remaining space so that we go the other column.
You need to have a height set on the container
.base {
width: 100%;
height: 1000px;
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
}
.pushtop {
background-color: rgba(200,0,0,0.2);
width: 10px;
height: 17%;
float: right;
clear: both;
}
.pushbottom {
background-color: rgba(200,0,0,0.2);
width: 10px;
height: calc(83% - 200px);
float: right;
clear: both;
}
.insert {
background-color: lightblue;
height: 200px;
clear: both;
margin: 0px 10px;
}
.insertleft {
width: 100px;
float: right;
}
.insertcenter {
width: 100%;
float: right;
}
.insertright {
width: 100px;
float: left;
}
.container {
width: 735px;
position: relative;
}
.image {
position: absolute;
border: solid blue 1px;
width: 485px;
height: 200px;
left: 123px;
top: 170px;
}
<div class="container">
<div class="image"></div>
<div class="base">
<div class="pushtop"></div>
<div class="insert insertleft"></div>
<div class="pushbottom"></div>
<div class="pushtop"></div>
<div class="insert insertcenter"></div>
<div class="pushbottom"></div>
<div class="pushtop"></div>
<div class="insert insertright"></div>
<div class="pushbottom"></div>
<p>Another 4-storey structure will soon be under construction to add new classrooms and laboratories for the High School and Grade School.</p>
<p> Part of the reason for this attention to the North Campus is to help FU’s marketing strategy for the high school in response to the implementation of the K to 12 Program. First, we want to attract more enrollees. Second, we invest in the facilities in our aim to increase not just the quality of our education but to boost our enrollment capacity from 700 students to 1500 students. And of Course, thanks to our new solar panel installation, we will also be providing all the new classrooms with air conditioning for those sweltering months.</p>
<p>Corporate Social Responsibility or CSR, as viewed by the University, should also have a significant space in the academe's achievements and obligations.</p>
<p>Estudio Damgo, for instance, is now on its third iteration of touching people's lives through sustainable and life-changing architecture. Its buildings and designs, since its first project in 2013, serve as prototype structures that cater to the various needs of society. The University sees Estudio Damgo as a catalyst for creating a transformed, more developed, and more meaningful way of living not just in Dumaguete but through out the Philippines. Read more about the current project here. (note to Entheos; link the word “here” to full Estudio Damgo article)</p>
<p>In terms of agriculture, FU's Aquaponics sets the example in the use of completely natural and organic farming techniques, which enhance not only the environment's safety but boost farmers' production capabilities and livelihood as well. Aquaponics provides agriculturists the answer to sustainable food production and a sustainable ecosystem for both fish and plants. For more specifics on our organic farm click here. (Note to Entheos: Link the word “here” to full organic farming article)</p>
<p>A forest and wildlife protection program called “Ayungon Forest Reserve” has also been pushed by the College of Arts and Sciences in partnership with local government units and the Department of the Environment and Natural Resources (DENR). The program calls for protecting the natural resources of the Reserve from causes of declining population, degradation of wildlife habitat, deterioration of soil and river quality, and the cave’s carrying capacity.</p>
<p>The College of Business Administration (CBA), on the other hand, is seriously pursuing a strong “Entrepreneurship Program” that caters to all levels of participants from students to MSMEs (Micro, Small, Medium Enterprises). In fact, the CBA in partnership with DTI will soon launch an “Entrep Hub”—a one-stop business center for start-up entrepreneurs—during the University Expo in which high school students will compete for the best business plan. The prize will be an Incubation Program for the winning plan to become a real business.</p>
<p>The University Expo, formerly the Digital Expo, of the College of Computer studies is a major University event that showcases innovative technology. The annual event, which includes robotic challenges, quiz bowls, film festivals, etc., is an avenue for students from different academic institutions to participate in and learn from the latest IT breakthroughs.</p>
<p>Barangay constituents also have the opportunity to learn computer skills such as basic PC operations, Internet use, word processing, spreadsheet and presentation through the university's Computer Literacy Program for adopted barangays.</p>
<p>Moreover, “The Queue” coffee shop, run by the College of Hospitality Management ‘s Culinary Arts students, draws customers from in and outside the campus because of its delicious food and beverages.</p>
</div>
</div>
Note that the filler and spacer elements should not be visible. I have given the a background and a width (in the case of the push elements) so that you can see how it works
CSS as it stands, cannot do this yet (reliably). However, there is in working, a CSS Shapes Module that can do this.
http://demosthenes.info/blog/898/Wrapping-Text-Around-A-Curved-Image-With-CSS-Shapes
Only supported in Chrome and Safari it seems:
http://caniuse.com/#feat=css-shapes
I have created my own method to make your style image in centre of page so i made this following method
note: check this in you page here in demo it doesn't works
div{
margin: 15px
}
p{
float:left;
margin: 10px;
}
.left{
float:left;
width:30%;
}
.centre{
display: inline-block;
width:30%;
}
.right{
float:right;
width:30%;
}
.right, .centre, .left p{
text-align:justify
}
<div class="left">
<p>Another 4-storey structure will soon be under construction to add new classrooms and laboratories for the High School and Grade School.</p>
<p>In terms of agriculture, FU's Aquaponics sets the example in the use of completely natural and organic farming techniques, which enhance not only the environment's safety but boost farmers' production capabilities and livelihood as well. Aquaponics provides agriculturists the answer to sustainable food production and a sustainable ecosystem for both fish and plants. For more specifics on our organic farm click here. (Note to Entheos: Link the word “here” to full organic farming article)</p>
<p>Have you also heard of Greyhound Events and Tours? Well, it is Foundation University’s student-run functional travel agency that caters to the travel needs of both the FU community and outside clients.</p>
<p>Integrating CSRs in the various programs is our chance to give back to the community as well as gain the respect of the members of the society, young and old. It also helps garner the public's appreciation for the importance of community involvement by producing tangible projects everybody can benefit from.</p>
<p>Expanding the University’s Information Technology (IT) to meet the demands of a digital age is another factor in FU’s “micro” to “macro” plan. Aside from the existing iPad program, the University is determined to create digital classrooms that can be accessed by local towns like Bacong, Dauin and Zamboangita. There is also a movement to encourage students, even at the high school level, to learn useful skills such as computer programming so they can be competitive in an IT driven world.</p>
<p>On the infrastructure side, FU is also updating the “bare bones” of FUs communication network to fiber optic cables and high-end routers and equipment. You can read a comprehensive explanation of these updates in a separate article in this issue of CQ here.
(Note to Entios: link the word “here” to full IT article)</p></div>
<div class="centre">
<p> Part of the reason for this attention to the North Campus is to help FU’s marketing strategy for the high school in response to the implementation of the K to 12 Program. First, we want to attract more enrollees. Second, we invest in the facilities in our aim to increase not just the quality of our education but to boost our enrollment capacity from 700 students to 1500 students. And of Course, thanks to our new solar panel installation, we will also be providing all the new classrooms with air conditioning for those sweltering months.</p>
<p>Estudio Damgo, for instance, is now on its third iteration of touching people's lives through sustainable and life-changing architecture. Its buildings and designs, since its first project in 2013, serve as prototype structures that cater to the various needs of society. The University sees Estudio Damgo as a catalyst for creating a transformed, more developed, and more meaningful way of living not just in Dumaguete but through out the Philippines. Read more about the current project here. (note to Entheos; link the word “here” to full Estudio Damgo article)</p>
<img src="http://animalia-life.com/data_images/cat/cat4.jpg" style="height:300px;width:100%;" alt="">
<p>The College of Business Administration (CBA), on the other hand, is seriously pursuing a strong “Entrepreneurship Program” that caters to all levels of participants from students to MSMEs (Micro, Small, Medium Enterprises). In fact, the CBA in partnership with DTI will soon launch an “Entrep Hub”—a one-stop business center for start-up entrepreneurs—during the University Expo in which high school students will compete for the best business plan. The prize will be an Incubation Program for the winning plan to become a real business.</p>
<p>The University Expo, formerly the Digital Expo, of the College of Computer studies is a major University event that showcases innovative technology. The annual event, which includes robotic challenges, quiz bowls, film festivals, etc., is an avenue for students from different academic institutions to participate in and learn from the latest IT breakthroughs.</p>
<p>Aside from all the projects mentioned above, our overview of the 2015 Master Plan wouldn’t be complete if we didn’t tell you about one more core component.</p>
</div>
<div class="right">
<p>Corporate Social Responsibility or CSR, as viewed by the University, should also have a significant space in the academe's achievements and obligations.</p>
<p>A forest and wildlife protection program called “Ayungon Forest Reserve” has also been pushed by the College of Arts and Sciences in partnership with local government units and the Department of the Environment and Natural Resources (DENR). The program calls for protecting the natural resources of the Reserve from causes of declining population, degradation of wildlife habitat, deterioration of soil and river quality, and the cave’s carrying capacity.</p>
<p>Barangay constituents also have the opportunity to learn computer skills such as basic PC operations, Internet use, word processing, spreadsheet and presentation through the university's Computer Literacy Program for adopted barangays.</p>
<p>Moreover, “The Queue” coffee shop, run by the College of Hospitality Management ‘s Culinary Arts students, draws customers from in and outside the campus because of its delicious food and beverages.</p>
<p>It needs to be emphasized that at the core of the FU Master Plan is the campaign for everyone’s right to quality education. This advocacy, started by Foundation University’s founder Dr. Vicente G. Sinco, has been passed down to each new FU president. It is why FU is proud to be known as a school that caters to students with financial challenges to hurdle as they work towards their educational goals.</p>
</div>
if this work happy
https://jsfiddle.net/x0ugLbo4/

Blank line added at top of first CSS multi-column

I'm using CSS columns, but seem to have an issue where the beginning of the text has an extra space at the top, making the subsequent second and third columns appear higher than the first column.
I thought I had it all pretty basic. I did already try removing the margin-bottom for the h2, but that didn't seem to affect the columns. So I put the h2 into its own div, but that also didn't affect them. Oddly, it looks fine in DreamWeaver, just not when live on the server.
It seems to do this in Safari, FireFox, and Opera. I do not have Chrome or IE.
Here is the link to the site so you can see it: www.jordanmiller.newbedesign.com/coast/academics.html
Below is the CSS that is used with the columns:
h2 {
font-weight: 300;
margin-bottom: -.5%;
font-color: #003;
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
div.text {
margin: 2% auto;
max-width: 900px;
}
div.texthead {
margin: 0 auto;
}
div.col {
-webkit-column-count: 3;
-webkit-column-gap: 1%; /* Saf3, Chrome*/
-moz-column-count: 3;
-moz-column-gap: 1%; /* FF3.5+ */
column-count: 3;
column-gap: 1%; /* Opera 11+*/
text-align: left;
}
And below here is the HTML for the content:
<div class="texthead">
<h2>Academics: Not Just Books</h2>
</div>
<div class="text">
<div class="col"><p>Coast Middle School is a community of active learners working in concert for the development of individual success and self-esteem. It employs a comprehensive curriculum that seeks to develop the whole child--intellectually, physically, spiritually, socially, aesthetically, and emotionally. Teachers and students in Coast Middle School hold themselves and each other to the highest expectations. The Middle School academically challenges its students in foreign language, math, social studies, language arts, and science, while at the same nurturing emotional and creative development through our acclaimed fine arts and athletic programs.</p>
<p>Coast Middle School is developmentally responsive to the needs of its students. The Middle School provides the students with teachers and specialized professionals who are readily available to offer the assistance students need in negotiating their lives, both in and out of school. As a complement to their academic classes, students discuss issues relevant to their lives through our comprehensive character education and guidance curriculum. The student-led vestry program allows the students to develop a sense of leadership and responsibility as they aid the chaplain in the development of chapel messages.</p>
<p>Coast Middle School seeks to conceptualize and promote the healthy growth of young adolescents as ethical citizens and increasingly competent, self-sufficient young people who are optimistic about the future. To achieve these goals the Middle School is structured on a team concept. Each grade level is split into two teams--blue and white, representing our school colors--consisting of four academic core classes. Coast Middle School believes academic success and personal growth increase markedly when young adolescents' affective needs are met. Therefore, all adults in the Middle School are advocates, advisors, and mentors for each student. Each team works together on service-learning activities and experiential learning opportunities.</p>
<p>Coast Middle School feels strongly that the most successful learning strategies are ones that involve each student personally. Therefore, we offer after-school tutorials so students can get personalized help with homework or as preparation for a test or quiz. Other after-school possibilities include intramurals, clubs, and an Extended Day Program, which runs until 6:00 p.m. Students are also encouraged to participate on school athletic teams. Students in both grades can participate in drama performances.</p>
<p>Coast Middle School is also actively invested in the impact media and digital activities have on our students’ lives. Students in both grades participate in a Digital Citizenship curriculum provided by Common Sense Media, which encourages them to be safe, responsible, and savvy citizens of the digital world.</p>
<p><strong>Seventh Grade:</strong> While enjoying a similar daily schedule in seventh grade, the students make a choice from four languages (Chinese, French, Latin, or Spanish) for daily study. Additionally they choose one elective (see course descriptions). The seventh grade takes a class trip to Washington, D.C. Each of the three sports seasons includes at least one no-cut sport.</p>
<p><strong>Eighth Grade:</strong> The daily class schedule includes civics, physical science, algebra or geometry, and English. Interdisciplinary activities include Mock Congress and a social issues research project. All classes emphasize critical and creative thinking. The focus of this grade is leadership training and service learning, as well as preparation to move successfully into the Upper School. The eighth grade travels to New York City in the spring.</p>
<p>Students in both grades have a morning fruit break and break for a brief recess to socialize and develop friendships that are vital in the development of a young adolescent. Band, chorus, and orchestra are offered in bith grades, along with visual and theater arts opportunities.</p>
</div>
I think adding this to your css solves the problem:
div.col p{
margin-top:0px;
}

white space bottom of page in firefox but not chrome

There is white space below my div in Firefox but not in Chrome. I think it has something to do with my #body-content-container having the properties position: relative; and bottom: 300px; this gets the right positioning effect I'm looking for in Chrome, but in Firefox it creates a white space. When I get rid of these lines the div isn't positioned in the right place in either FF or Chrome.
Here's the code:
HTML:
<div id="body-content-container">
<div id="body-content"class="row">
<div class="small-12 small-centered columns">
<br/>
<div align="center" id="page-title">COMPANY</div>
<h1 align="center">About Us</h1>
<p>ADU Consulting has been developing quality e-learning programs since 2004. It is a training and education company that collaborates with partner organizations in developing, hosting and managing online educational programs based on the individual curriculum and client needs.</p>
<p>It operates from two regional offices one in New York and another in Northern Virginia, close to the capital city of Washington D.C. The ADU datacenter is also located near the corporate office in Virginia.</p>
<p>We:</p>
<ul>
<li>Develop e-Learning courses</li>
<li>Build in-campus and online blended programs</li>
<li>Create Integrated Assessment and Evaluation</li>
<li>Provide white-labeled hosting services</li>
</ul>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<p>ADU business is divided into two areas: <span style="font-family:FuturaStd-Heavy;">e-Learning Consultancy</span> for client organizations and running its <span style="font-family:FuturaStd-Heavy;">International Maritime College</span> where it offers a number of Certificates, College Primers and Vocational Skill Development programs, aimed primarily at the maritime industry. These courses focus on training the seafarers and the shore based employees within the shipping business.</p>
<p>ADU fills the gap between traditional education and the needs of people today. Interactive courses taught by experienced professionals help students keep pace with changing industry demands in addition to providing a holistic and need-based education. Our Instructors are picked from around the world with the majority from the United States; they have the highest professional and academic backgrounds that befit the purpose of industry ready education and training.</p>
<h1 align="center">Our Purpose</h1>
<p>We believe that online education's role is to compliment the "best" practices in education. It must support instructors to teach a larger student body and make learning possible based on individual learning needs. With this in mind, our integrated learning platform is equipped with necessary tools in helping the Instructors create a self-paced learning environment.</p>
<h1 align="center">Technology</h1>
<p>The LMS software and courses system is housed in a tier 1 datacenter that has a redundant firewall, switches and servers for complete data security. This hosted delivery model provides scalability, reliability and eliminates technological burden on client resources.</p>
<h1 align="center">Course Development</h1>
<p>ADU Consulting's content creation and delivery platforms are tied together such that it allows faculty to modify, or enhance contents to fit their unique teaching style. Thus a course developed for an organization can be further customized by the Instructor. In addition, since the world of online resources is expanding every minute, Instructors are able to link external content or add other resources through this platform. The student assessment is an integral part of the learning and evaluation process: the platform is configured with a question bank and a multi-faceted assessment system.</p>
<h1 align="center">Support</h1>
<p>In order to keep pace with the changing landscape of online learning ADU Consulting's platform is constantly updated in keeping with such advances. We are committed to support our partners both from technical management and pedagogical viewpoint.</p>
<h1 align="center">Course Delivery</h1>
<p>Courses are delivered to students in an asynchronous mode that allows students to learn at their own pace and allows flexibility when they want to study; Collaboration and communication with faculty is done in a synchronous mode through online video conferencing. The teacher-centric approach helps to consolidate and maximize the learning outcome.</p>
<h1 align="center">Course Creation & Quality Control</h1>
<p>ADU Consulting has an e-learning Quality Management Process that looks at various quality attributes in a course that must be meet to meet the ADU performance criteria. This is an internal quality audit system that must be satisfied before a course can be put on line for client review. The QA task is done from Virginia.</p>
<p>ADU Consulting’s courses are built at Chennai, India with an affiliated organization that maintains a large content development team including subject matter experts, instructional designers, graphic designers, Flash and other programmers, voice-over specialists etc.</p>
<p>The development is an iterative process and is only signed off once the user client is fully satisfied with the intended and agreed quality standard.</p>
<h1 align="center">Collaberation Projects</h1>
<p>ADU Consulting collaborates with partner organizations in developing, hosting and managing online educational programs based on individual curriculum and client needs and this may take any of the following project types:</p>
<ul>
<li>Develop e-Learning Courses</li>
<li>Build in-campus and online blended programs</li>
<li>Create Integrated Assessment and Evaluation</li>
<li>Provide white-labeled hosting for e-learning services</li>
</ul>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<div align="center">
<h1>Contact Us</h1>
<span style="font-family:FuturaStd-Heavy;font-size:20px;">ADU Consulting Services</span>
<br/>
<p>6 Pigeon Hill Drive Suite 230<br/>
Sterling, VA 20165<br/>
United States of America</p>
<p>Email: info#adu.us.com</p>
<p>Telephone: (804) 205-1210<br/>
Fax: (703) 738-7723</p>
</div>
</div>
</div>
<div align="center" id="footer">
<br/>
Copyright © <script type="text/javascript">
document.write(new Date().getFullYear());
</script> ADU Consulting, All Rights Reserved. Site designed & developed by <a target="_blank" style="text-decoration: underline;" href="http://zrrdigitalmedia.com">zrrdigitalmedia</a>
<br/>
<br/>
</div>
CSS:
#body-content-container{
background-color: #d5b93f;
position: relative;
bottom: 300px;
}
Also here's a link to the site: http://zrrdigitalmedia.com/_ADU/company.html
I'm super lost here, any suggestions are much appreciated! Thank you!
Try changing the bottom value for the #body-content-container.
#body-content-container {
background-color: #d5b93f;
position: relative;
bottom: -15px; /* change 300px to -15px */
}
Tested on both, Firefox and Chrome.
Alternatively you can target Mozilla Firefox and add a negative margin-bottom
to the #body-content-container:
#-moz-document url-prefix() {
#body-content-container {
background-color: #d5b93f;
position: relative;
bottom: 300px;
margin-bottom:-320px; }
}
Some digging in FireBug lead me to this:
#body-content-container {
background-color: #d5b93f;
bottom: 300px; /* <-- this is the issue, remove it */
position: relative;
}