Solved

2 column layout

Posted on 2011-09-19
5
161 Views
Last Modified: 2012-05-12
Hello,
In my asp.net web site, I tried to set up 2 column layout.
One is left sidebar, the second one is the main context. However it looks like not working.
Please see the css and master code.

Many thanks.
Default.aspx
Site.master.cs
Site.css
0
Comment
Question by:zhshqzyc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:BlueYonder
ID: 36563339
In order to use multiple columns you need to use tables.
within the content template enter the following.  The <td></td> tags are columns and you can adjust the width with the settings shown below.

<table style="width: 100%">
<tr>
<td width="10%" align="right">COLUMN 1
</td>
<td> COLUMN 2
</td>
</tr>
</table>
0
 

Author Comment

by:zhshqzyc
ID: 36563436
Well, if I insist use pure css then how?
0
 
LVL 9

Accepted Solution

by:
BlueYonder earned 500 total points
ID: 36564085
Here is an example http://www.zenelements.com/blog/css3-multiple-columns/ on how to create the double column style sheet.  After the css style is defined then
make sure the class is specified in the paragraph tag <p class="my_CSS3_id"></p>.
0
 

Author Comment

by:zhshqzyc
ID: 36564225
Thanks for your input. However I hope somebody could point out my error. Any link might be not fitting my case.
0
 

Author Comment

by:zhshqzyc
ID: 36567610
I uploaded my file "WSCCC.zip" at
SkyDrive
Can somebody take a look?
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question