logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > HTML and CSS
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 09-12-2012, 05:17 PM   #1
paul-chambers
 
Join Date: Aug 2012
Posts: 95
Default CSS styling

Hi,

If I have a container in which I have applied some css, ie border, padding width etc, when any value is changed such as the padding element within the css for a particular div, how do I apply this change to affect multiple pages?

Do I just save the particular style as external and attach it to each page?

thanks
paul-chambers is offline   Reply With Quote
Old 09-12-2012, 05:32 PM   #2
paul-chambers
 
Join Date: Aug 2012
Posts: 95
Default

Please ignore my post, copying the code for the css style to each..doh!
paul-chambers is offline   Reply With Quote
Old 09-12-2012, 06:50 PM   #3
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

Paul, like you have it now if you want to change something to your css, you will have to change it on every page... cumbersome work.

Put all your styles in an external stylesheet (CSS file) and link on each page to that stylesheet. The biggest benefit of this is that if you need to change something in your css, you only need to change it in that stylesheet and it will have effet to all your pages.
__________________
www.gentlemedia.nl
gentleone is offline   Reply With Quote
Old 09-13-2012, 08:38 AM   #4
paul-chambers
 
Join Date: Aug 2012
Posts: 95
Default

Yes I thought that would be the case, I'm doing the external style sheet and will attach.

Thanks again
paul-chambers is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 11:01 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com