CSS

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

15-Oct-15 07:58
Hello, I am currently in the middle of creating website themed 'My Family' using DreamWeaver.
I have a main page set up, main.html and created a template, main.dwt along with a number of other pages, gallery.html, kids.html etc.
For gallery.html, I used the template main.dwt. Now the gallery.html looks exactly same as main.html. with editable regions.

Here is the problem.
Every time I make a change in style.css related to gallery.html, the changes apply to all the other pages under 'My Family' site. I want to put different contents only in gallery.html, but it affects every page.

How can I solve this problem.
Here is the code in <head> section of my main.dwt.


<link href="../CSS/style.css" rel="stylesheet" type="text/css" media="screen">


Your expertise will be greatly appreciated.
Thank you,
15-Oct-15 08:50
That's the general idea OF using Cascading Style Sheets one change affects the WHOLE site.


use a separate style sheet or different classes and IDs on the elements.

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/
15-Oct-15 09:52
I thought only changes in .dwt would affect the rest of the files.
Looks like I have to use a separate css.
Thanks for your reply.
Appreciate your help.

 
New posts
Old posts

Follow Elated