Continuous Learning and Sharing of Team Foundation Server and Application Lifecycle Management RSS 2.0
# Sunday, July 06, 2008

I have begun to rewrite my website, www.doitconsultants.com (It really needs it as you can see) using CSS.  I found some

examples and was able to start.  Then, I couldn't figure out why the columns were not lining when I realized I needed to know

more than just hack my way around in CSS.  I went to the book store to find a book on CSS.  I didn't need one that explained

web development or assumed I knew nothing.  I was looking for some specifics between two and three column layouts.  I figured

it would be a hard book to find.  I grabbed 3 CSS books from the shelf and started flipping through them.   One was too basic

and another was more like a glossary.  Then, I came across Stylin with CSS by Charles Wyke-Smith.  This book immediately

caught my eye by full color pages and a lot of examples.  The book was more than just eye candy though.  The book had a

chapter of exactly what I was looking for.  He clearly explains multiple layouts, liquid flow, etc.  Like any good

book, you can download all of the examples from his book.  The best part is his examples include a css library he created

that he gives you for free.  Great book, I highly recommend this book for all web developers.

As a design challenged ASP.NET developer, most templates available from websites such as http://www.freecsstemplates.org/ have

great examples we can use, however these require some modifications to work with ASP.NET.  This book refers to Dreamweaver

but doesn't require any specific IDE.  Before I continued with my website design, I wanted to do an exercise to help me understand the examples.  So I decided to create some basic ASP.NET project templates.  I created three templates to reflect the 3 usual layouts.  Each of the templates also include a cool feature I learned from the book to round the corners using Nifty Corners at http://www.html.it/articoli/nifty/index.html.  The also include ASP.NET best practices like Master Pages, Site Maps, and Menu controls.


 1.  Three Column - Rounded Corners with Left Navigation, main center content, and a right promo area.


ThreeColumn.vsi.zip (24.52 KB) (Remove the .zip to install)


 2.  Two Column - Rounded corners with left navigation and main content.


TwoColumn.vsi.zip (23.84 KB) (Remove the .zip to install)

 

 3.  Two column with Top Navigation - Rounded corners with top navigation, left side links and main content.


TwoColumnTopNav.vsi.zip (24.11 KB) (Remove the .zip to install)

 

All of the templates come with multiple CSS layouts.

Feel Free to download these and use them for your projects.  Send me any updates or problems.  I tested them in IE7 and Firefox 3.0 and they look good in both.  Not sure about the others. 

Code Smart Not Hard

Mike

Sunday, July 06, 2008 10:16:35 PM (Central Daylight Time, UTC-05:00)  #    Comments [4] -
CSS

Thursday, July 10, 2008 7:24:05 AM (Central Daylight Time, UTC-05:00)
thanks for free css templates , very useful to me while building nice looking websites

Sunday, May 17, 2009 11:32:54 AM (Central Daylight Time, UTC-05:00)
I like the simplicity of these templates but cannot get them installed. I am most definitely a newbie at this. Can you please tell me how to install these to VS?

Thanks!
DaneLady
Sunday, May 17, 2009 12:14:30 PM (Central Daylight Time, UTC-05:00)
Hi,

I had to rename these files so it would register as a downloadable file. I think this has caused some of the confusion. I have also posted these on the MSDN Code Gallery with the .VSI extension. With this extension, run the file and it will install to Visual Studio. They will show up under My Templates when creating new a new web site. These template will only show up when you select C# as the languange.

http://code.msdn.microsoft.com/csstemplates

I hope this helps!
Mike
Mike Douglas
Thursday, May 26, 2011 11:45:06 PM (Central Daylight Time, UTC-05:00)
Exactly what I was looking for, where are all the templates for VS.

I think the css now collapses in ie 7 and ie8
Comments are closed.
Visual Studio ALM MVP
Microsoft Visual Studio ALM MVP
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Mike Douglas
Sign In
Statistics
Total Posts: 76
This Year: 0
This Month: 0
This Week: 0
Comments: 52
All Content © 2012, Mike Douglas
DasBlog theme 'Business' created by Christoph De Baene (delarou)