I'm setting up my new website's CSS file for mobile browsers. One problem: The text is displaying vertically in the second (i.e. bottom for my mobile layout) column. In other words, instead of displaying "Hi, Stack Overflow!" my browser would display the following:
H
i
,
S
t
a
c
k
O
v
e
r
f
l
o
w
!
I have tried many CSS properties, but to no avail. I am using Safari on an iOS device.
Edit: I believe this is the relevant code
#container {
width: 100%;
background-color: #FFF;
}
#navigation {
display: block;
float: none;
width: 100%;
background-color: #009245;
}
#content {
display: block;
float: none;
width: 100%;
}
Edit 2: Here is the HTML code
<body>
<div id="container">
<div id="navigation" class="navigationtext">
<h2><a href="">domain</a><br>
the home page of Firstname Lastname</h2>
<p><a href="/about/">About</a></p>
<p><a href="/blog/">Blog</a></p>
<p><a href="/contact/">Contact</a></p>
<div class="copyright">Copyright</div>
</div>
<div id="content">
<h1>Welcome!</h1>
<p>The page's content or text.</p>
</div>
</div>
</body>