473,569 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CSS columns (one column needs to be 4)

1 New Member
Trying to convert from tables to CSS to make a responsive website.
This should be 4 vertical colums, instead it is 1 verticle column.
Where did I go wrong ??
Thank You
falcon

Expand|Select|Wrap|Line Numbers
  1.   <style type="text/css">
  2.   .lfcol { float:left;width:19.8%;margin-bottom:5px; }
  3.   .micol { float:left;width:19.8%;margin-bottom:5px; }
  4.   .rmicol { float:right;width:19.8%;margin-bottom:5px; }
  5.   .ricol { float:right;width:19.8%;margin-bottom:5px; }</style>  
  6.  
  7.   <h2 class="clear">Old Testament</h2>
  8.   <!-- left column -->
  9.   <dl class=".lfcol"><font size="+2">
  10.   <dt>&nbsp;<b>&nbsp;1 <a href="01_001.htm">Genesis</a></dt>
  11.   <dt>&nbsp;<b>&nbsp;2 <a href="02_001.htm">Exodus</a></dt>
  12.   <dt>&nbsp;<b>&nbsp;3 <a href="03_001.htm">Leviticus</a></dt>
  13.   <dt>&nbsp;<b>&nbsp;4 <a href="04_001.htm">Numbers</a></dt>
  14.   <dt>&nbsp;<b>&nbsp;5 <a href="05_001.htm">Deuteronomy</a></dt>
  15.   <dt>&nbsp;<b>&nbsp;6 <a href="06_001.htm">Joshua</a></dt></dl>
  16.   <!-- middle column -->
  17.   <dl class=".micol">
  18.   <dt>&nbsp;&nbsp;&nbsp;<b>7 <a href="07_001.htm">Judges</a></dt>
  19.   <dt>&nbsp;&nbsp;&nbsp;<b>8 <a href="08_001.htm">Ruth</a></dt>
  20.   <dt>&nbsp;&nbsp;&nbsp;<b>9 <a href="09_001.htm">1 Samuel</a></dt>
  21.   <dt>&nbsp;<b>10 <a href="10_001.htm">2 Samuel</a></dt>
  22.   <dt>&nbsp;<b>11 <a href="11_001.htm">1 Kings</a></dt>
  23.   <dt> &nbsp;<b>12 <a href="12_001.htm">2 Kings</a></dt></dl>
  24.   <!-- right middle column -->
  25.     <dl class=".rmicol">
  26.   <dt>&nbsp;<b>13 <a href="13_001.htm">1 Chronicles</a></dt>
  27.   <dt>&nbsp;<b>14 <a href="14_001.htm">2 Chronicles</a></dt>
  28.   <dt>&nbsp;<b>15 <a href="15_001.htm">Ezra</a></dt>
  29.   <dt>&nbsp;<b>16 <a href="16_001.htm">Nehemiah</a></dt>
  30.   <dt>&nbsp;<b>17 <a href="17_001.htm">Esther</a></dt>
  31.   <dt>&nbsp;<b>18 <a href="18_001.htm">Job</a></dt></dl>
  32.   <!-- right column -->
  33.   <dl class=".ricol">
  34.   <dt>&nbsp;<b>19 <a href="19_001.htm">Psalms</a></dt>
  35.   <dt>&nbsp;<b>20 <a href="20_001.htm">Proverbs</a></dt>
  36.   <dt>&nbsp;<b>21 <a href="21_001.htm">Ecclesiastes</a></dt>
  37.   <dt>&nbsp;<b>22 <a href="22_001.htm">Song of Solomon</a></dt>
  38.   <dt>&nbsp;<b>23 <a href="23_001.htm">Isaiah</a></dt>
  39.   <dt>&nbsp;<b>24 <a href="24_001.htm">Jeremiah</a></dt></dl>
  40.  
Sep 15 '18 #1
0 7464

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2051
by: Marc Floessel | last post by:
Considering the following example table: Column1 | Column2 | Column3 =========================== NULL |"Value1" | NULL --------------------------- "Value2"| NULL | NULL --------------------------- NULL | NULL |"Value3"
12
5646
by: Nick | last post by:
Is it possible to have multiple auto increments in one column? Say I have two tables... 1. table 'messageboards' with fields ('id' , 'name') 2. table 'messagethreads' with fields ('id' , 'messagethread' , 'messageboard_id') The 'messagethreads.id' column could have multiple auto increments. Then I could easily query a messageboard...
2
26955
by: adammitchell | last post by:
How can you indicate that a FOREIGN KEY constraint references two columns in two different tables? "SQL Server Books Online" show an example of how to reference two columns in the SAME table: REFERENCES ref_table ) Here is the error and the 'bad' SQL code: Server: Msg 8148, Level 16, State 1, Line 4
5
2655
by: Hymer | last post by:
Hello, I have a small two-column table with three rows. The first column has a logo and the second column has the name of the organization. The logo's in the first column are too high. That is, they don't align horizontally with the organization name. I need to lower the logo's within the column. However, I don't know how to manipulate...
3
1728
by: reidarT | last post by:
I have a datagrid with columns. One of the columns are a textbox. I want the text in this column shown in a textbox outside the datagrid. How can I do that when clicking the actual row in the datagrid? reidarT
2
1813
by: mil111 | last post by:
Hi, Can anybody help me? I have table1 with 5 columns(first name, last name etc) and table2 with one column. I need to put all of columns from table1 into table2. Into table2 I need to have all the data together(first name, last name etc). Thans!!!
1
1225
by: spowel4 | last post by:
Is it possible to have a listview with multiple columns but only the last column is checked? In other words none of the other columns would have checkboxes.
1
3309
by: prasadgopathi | last post by:
hi friends, i have one table is normal column is bit id isnormal 1 0 2 0 3 0 4 1
0
1885
by: prashantdixit | last post by:
Hi, I have beent trying importing Excel data with one column containing PDF/JPEG file name to access 2007. I have a Excel file with few columns One of the columns named as "Reference". The data in this is column is in following format. 2009_08_07_16_29_02_Part5.pdf 2009_08_07_16_29_02_Part1.pdf ....
3
5251
by: Sunny | last post by:
Hello, The problem is that I want to select distinct values from multiple columns of one table and want to select one column. Say column1 has values: "first","second","third" and column2 has values: "second","fifth","first" I want to select unique from the above mentioned two columns so that result is like this:- colname:...
0
7697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7968
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6283
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5512
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.