Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 16th, 2003, 07:27 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default Css styles in mx

Hi there

Dreamweaver mx seems to have a mind of it's own when creating styles! I have my style sheet and I want to stick to it. However, when I even change the size of a font or whatever, MX seems to create another style for that particular change. It's not too much of a problem and I see what it's trying to do but it just makes my coding look a little messy. I've noticed it only does this in MX and not any previous version - an unwelcome addition in MX IMHO!

Can anyone tell me how I can either turn this feature off or stop it writing it's own styles.

Many thanks

Adam
 
Old December 17th, 2003, 03:22 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

What styles is MX adding in? Is it adding to your style sheet?

 
Old December 18th, 2003, 06:24 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default

No it's just adding them to the page - for example:

.style1 {color: #000000}
.style2 {
    font-size: 11px;
    color: #FFFFFF;
    font-weight: bold;
}
 
Old December 18th, 2003, 02:48 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

When you add a new style what do you click on? "Attach Style Sheet" or "New CSS Style"?

If you click on New CSS Style it will add the style1 or whatever name you give it to the page. I've found that opening my style sheet and editing it directly is the easiest way.

 
Old December 19th, 2003, 01:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default

Hi Stu

That's the whole thing - I don't want to add a style - I just want to alter the size of the text by a point for example - if I try to do that then it makes it a style which I don't want.





Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble changing css styles with javascript donrafeal7 Javascript 4 October 23rd, 2006 11:30 AM
db-driven css styles? lancer ASP.NET 2.0 Basics 1 July 16th, 2006 11:51 PM
shorting CSS styles crmpicco CSS Cascading Style Sheets 8 February 20th, 2006 12:22 PM
Styles.CSS in ASP.NET rajen CSS Cascading Style Sheets 2 July 22nd, 2005 04:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.