Generating a CSS Template from HTML

This is a discussion on "Generating a CSS Template from HTML" within the Web Page Design section. This forum, and the thread "Generating a CSS Template from HTML are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Mar 21st, 2007, 16:08
New Member
Join Date: Mar 2007
Location: Spokane, WA
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Generating a CSS Template from HTML

I have a number of HTML files (.aspx pages, actually) containing divs and spans with id's and classes defined. Is there an automatic way to generate a template style sheet containing definitions for all elements defined on the page?

For example, if this is my HTML:

<div id="ContentDiv1" class="ContentHeader">

I want the following CSS generated:
#ContentDiv1
{}
ContentHeader
{}

Anyone know of a free way of accomplishing that quickly? Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Mar 21st, 2007, 17:22
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Generating a CSS Template from HTML

I know some editors like skEdit have a feature that will turn inline styles into standard css but not sure about just parsing classes and id's and filling in the info.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Apr 3rd, 2007, 18:06
New Member
Join Date: Jan 2007
Location: Scotland
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Generating a CSS Template from HTML

What about using the web developer toolbar in Firefox and then choosing CSS > View CSS information? It won't produce a template as such, but allow you to see all the CSS inline styles, and then cut and past in to a .css file?
--------------------
For great value database web hosting with £hundreds free software, visit: http://www.xlweb.co.uk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
generate css template

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i make my PSD Template into a working HTML Page homer09001 Web Page Design 23 Aug 1st, 2007 01:23
Need good HTML template service... pdbuddy Starting Out 4 Apr 7th, 2007 20:48
How do I Remove Template Tags from html? sovereign6 Web Page Design 3 Dec 8th, 2006 16:16
Spaces in HTML for a template necron_uk Web Page Design 11 Aug 9th, 2006 14:11


All times are GMT. The time now is 14:22.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42