I am constructing a report with multiple tables, but these tables keeps floating to the next page even when is small enough to fit under a text on one page. What can i do? Below is the code i am using. Thanks in advance.
\documentclass[openany]{book}
\usepackage[USenglish]{babel}
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage{lmodern}
\usepackage{url}
\usepackage[hyperref,dvipsnames]{xcolor}
\usepackage[a4paper,pdftex]{geometry}
\usepackage{fix-cm}
\usepackage{fancyhdr, blindtext}
\usepackage{graphicx}
\usepackage[colorlinks=true,%
linkcolor=blue,%
citecolor=blue]{hyperref}
\usepackage[Sonny]{fncychap}
\usepackage{graphicx} %%For loading graphic files
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage[toc,page]{appendix}
\usepackage[utf8]{inputenc}
\setlength{\arrayrulewidth}{0.5mm}
\setlength{\tabcolsep}{8pt}
\renewcommand{\arraystretch}{1.5}
\usepackage[english]{babel}
\addto\captionsenglish
\begin{document}
\begin{table}
\begin{tabular}{ |p{3cm}||p{3cm}|p{3cm}|p{3cm}| }
\hline
\multicolumn{4}{|c|}{Country List} \\
\hline
Country Name or Area Name& ISO ALPHA 2 Code &ISO ALPHA 3 Code&ISO numeric Code\\
\hline
Afghanistan & AF &AFG& 004\\
Aland Islands& AX & ALA &248\\
Albania &AL & ALB& 008\\
Algeria &DZ & DZA& 012\\
American Samoa& AS & ASM&016\\
Andorra& AD & AND &020\\
Angola& AO & AGO&024\\
\hline
\end{tabular}
\end{table}

tablefloat environment? – Gonzalo Medina Jun 20 '15 at 02:08this excellent answerabout floats. – Gonzalo Medina Jun 20 '15 at 02:24