Responsive 2 Columns for Mobiles
-
Hi everyone,
I am quite new here, I know basic html but not really knowledgeable about CSS.
To get to the point; I use below code to create two columns on my blog posts which are in 2 different languages.
<div style=”width:49%;padding:0 10px 0 0;float:left;”>
Your content for your column #1
</div>
<div style=”width:49%;padding:0 10px 0 0;float:right;”>
Your content for your column #2
</div>
<div style=”clear:both;”></div>When I check from my iphone two columns are quite squeezed into the screen and horrible to read, basically I want them to look like responsive rows for mobiles while keeping the original desktop columns as they are.
I am aware of the restricting based on min width of mobiles and I read all those codes about @ media queries, got so confused as all I know so far to add some div codes to html text part. I really dont know how to edit CSS part, quite frankly I dont even want to touch that, as I am worried that I will break the my original responsive theme.
P.S. my website is not yet published.
Sorry for long post, hope someone would be able to help me.
Thanks in advance
Ozlem
- The topic ‘Responsive 2 Columns for Mobiles’ is closed to new replies.