Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 16th, 2003, 07:27 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
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
Reply With Quote
  #2 (permalink)  
Old December 17th, 2003, 03:22 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,111
Thanks: 0
Thanked 3 Times in 3 Posts
Default

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

Reply With Quote
  #3 (permalink)  
Old December 18th, 2003, 06:24 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
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;
}
Reply With Quote
  #4 (permalink)  
Old December 18th, 2003, 02:48 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,111
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.

Reply With Quote
  #5 (permalink)  
Old December 19th, 2003, 01:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 04:34 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.