navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Adding css to old sites

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Adding css to old sites
Page: [1]
 
_gail

 

Posts: 2876
From: So FL
Status: offline

 
Adding css to old sites - 8/18/2002 8:10:31   
I think I read the answer to this somewhere, but can' t find or recall it.

If I go back and add external cascading stylesheets to websites originally created without them, should I reformat all the text before doing so?

Format > Remove Formatting

thanks, gail
caz

 

Posts: 3589
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: Adding css to old sites - 8/18/2002 8:19:26   
Hi Gail

Yes, this is what I had to do when introducing external stylesheets to an existing site. I do remember that I spent most of my time in HTML view identifying and removing left over formatting too.

It' s very well worth it though.

HTH
Carol

(in reply to _gail)
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Adding css to old sites - 8/18/2002 14:23:56   
You may be able to do it without reformatting and just use a style with normal page elements <p><td> etc - but it is soooo much cleaner when you remove formatting and see how much code you have lost :)

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to _gail)
paperfish

 

Posts: 184
From: None
Status: offline

 
RE: Adding css to old sites - 8/19/2002 7:35:46   
A quick way to clean up a page is to highlight the entire page (Edit\ Select All) and then choose Format\ Remove Formatting.

Sometimes this doesn' t do a 100% cleanup inside tables, but otherwise it does remove inline styles.

And as Spooky says, be sure to define the standard styles in your CSS, such as p; H1; ul; etc.

Good luck with the conversion

(in reply to _gail)
_gail

 

Posts: 2876
From: So FL
Status: offline

 
RE: RE: Adding css to old sites - 8/21/2002 12:31:13   
quote:

ORIGINAL:

Yes, this is what I had to do when introducing external stylesheets to an existing site. I do remember that I spent most of my time in HTML view identifying and removing left over formatting too.

It' s very well worth it though.

HTH
Carol


Thanks, Carol,

Here' s what I' m unclear about.

I' ve only used a css once. It was not created by me, someone made it for me. The css was only used to format text and hyperlink attributes. Can I use a css for text, but still do other formatting with FrontPage, such as the background color of a cell or table?

thanks, gail


(in reply to caz)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Adding css to old sites - 8/21/2002 13:03:50   
Absolutely...

The CSS will only affect the styles you call out... and it will " cascade" which means that if you declare a style " in-line" or in the page code, it will override the CSS...

You can also define a style in your CSS for the table cels like this:

.blue {
background-color: #000099
}

Then in your table do this:

<table>
<tr>
<td>
<div class=" blue" >
...  stuff  ...
</div>
</td>
</tr>
</table

Now if you want to change the color of all of your table cels, you can do so in your CSS file!!!


< Message edited by bobby -- 8/20/2002 1:04:22 PM >


_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to _gail)
puiwaihin

 

Posts: 1378
From: Taiwan
Status: offline

 
RE: Adding css to old sites - 8/23/2002 19:16:56   
When I went to remove alot of my formatting tags I used the Global find and replace option to take out code site-wide. Saved me hours of work.

_____________________________

" Things are always darkest, just before it goes totally black."
-Hannibal Smith

(in reply to _gail)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Adding css to old sites
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts