Monday, October 12, 2009

In DreamWeaver applied CSS style expresses skill two

One, purify is super the underline of the link and on super link implementation mouse hovers become angry:
  
Below acquiescent circumstance, the super link in the webpage that designs with DreamWeaver has underline, look not quite beautiful. Want the underline that these are fed up with purify, the method of a lot of the press introductions is manual in HTML source code join a paragraph of code, the underline that actually very easy in DreamWeave purify links. Establish a link casually in the Document Windows of DreamWeaver above all, you can see this link can have underline. How purify Where is this underline?
  
1. In the "Text" that clicks menu column to go up | "CSS Styles" | "Edit Style Sheet... "(perhaps presses shortcut key Ctrl+shift+E) directly, v Edit Style Sheet (editor style is expressed) dialog box window.
  
2. Click "New (to build) " , be in next "New Style (new form) in " dialog box, click pushbutton of "Use CSS Selector " .
  
3. A is keyed in in Selector column, nod OK next.
  
4. Play a "CSS style to define " dialog box subsequently, in Type kind Decoration(is decorated) in, tick off choose None, nod OK next, nod Done again. You had disappeared the underline that discovers a link in Document Windows immediately. So how to come true to hover when the mouse again does in the link the link when going up become angry? In repeating afore-mentioned measure the first, the 2nd pace. Nod next anthology by Selector next pulling arrowhead, choose "a:hOver" , nod OK again. Playing the "Style Definition For A that go out subsequently: In Hover" dialog box, in Type kind the random in Color chooses a kind of color (the choice is for instance gules) , nod OK next, nodded Done to be finished again. Preview by F12, put the mouse on the link, did this link become red? If be in a moment ago "Style Definition For A: In Hover" dialog box, in Backgroud (setting) kind in, the color that chooses Backgroud is green, so when putting the mouse on super link when you, not only the link can become red, and still meet viridescent setting. In fact, define a dialog box through a moment ago CSS style, you still can achieve more special effects, the friend that have fun at mights as well go considering well.
  
2, found the list of exterior CSS style that can use repeatedly
  
After using DreamWeaver to establish pattern of a kind of CSS in some webpage, if you want to use this type in another webpages, you need not establish this CSS pattern anew, wanted you to found exterior CSS style to express a file only (External CSS Style Sheet) , you will call this style to express the style in the file arbitrarily henceforth. Manage to facilitate, in folder of preexistence site place, build a folder, entitle CSS, use technically at placing exterior style to express a file (its expand the name is Css) .
  
1, Ctrl+shift+E is pressed in Docu ment Window, v Edit Style Sheet (editor style is expressed) dialog box window
  
2, click "link" .
  
3, playing the Link External Style Sheet(that go out to link exterior style to express) dialog box, dot BROWSE, find the CSS folder that a moment ago founded.
  
4, in Select Stylesheet File (choice style expresses a file) name of window " file in " column, key in *.css (* to be able to be aleatoric name) , ask an attention, be right now in fact in CSS folder and express a file without the style, in " file name the new name that keys in in " column will become exterior style to express the name of new document. Key in Title.css for instance, , nod Select next | OK.
  
5, in Edit Style Sheet (editor style is expressed) in dialog box window, the meeting is new increase Title.css (link) , doubleclick it.
  
6, in playing the "title.css" window that give, dot "New" .
  
7, in "New Style" dialog box, the d ot chooses pushbutton of "Make Custom Style (class)"
  
8, a certain name is keyed in in Name column, be like Myheadline, dot OK.
  
9, be in next in dialog box of "Style Definition For.myheadline In Title.css" , have all sorts of settings such as font, color, OK is nodded after finishing. If found new form even, nod "New" again, repeat a moment ago measure 6, 7, 8, 9, nod "save" finally | "Done" , then file of watch of this exterior style has founded Title.css. The "TEXT" on menu column | "CSS Styles" child menu lieutenant general will be listed all styles in Title.css. If want to call this Title.css in other webpage, need to repeat only afore-mentioned 1 to 3 paces, be in next name of file of " of window of Select Stylesheet File inputs Title.css in " column. Nod "select" | "Ok" | "Done" , all styles in Title.css can appear in the "Text" on column of this webpage menu | "CSS Styles" child in menu, you will be OK these types use in the webpage here.

No comments:

Post a Comment