According to this beef brisket learning to knock the news release system has been a while, quite admire the beef brisket, speak so many things, I do not feel boring, but there is a kind of not careful will miss a lot of things feel, so some places are repeated and repeated in the look.
This blog on the summary of the small series in the study of Beef Brisket news release System when some notes. Perhaps the knowledge is still relatively primitive, but the Who cares. Now, the first refinement, then slowly experience and sublimation it.
A part of the brisket can be said to be similar to the computer room, but also let me a transition from. NET to C #. The middle part is about Div +css. Inside the knowledge said much also not much, according to different needs, it has a variety of variants and combinations, which add up to have a lot of things.
My understanding of Div+css's popularity is to give the Web a face. Again, in the learning process, good notes and classified summary is very important, before learning without this consciousness, cram, do not want to do their own notes summary, more reluctant to see. Now the idea of grasping notes and summarizing is slowly established, growing ...
I. Theme
A theme is a collection of page and control skin properties, and she has a lot of files (. css, images, other resources, etc.)
1. Page
There will definitely be a lot of controls in a page: Like button files, cascading style sheets, and so on.
Like the search box.
<div id= "Search" > search criteria: <asp:radiobutton id= "Radtitle" groupname= "cond" runat= "Server" text= "title" Checked= "true"/> <asp:radiobutton id= "radcontent" groupname= "cond" runat= "Server" text= "content"/> <asp:textbox id= "Txtkey" runat= "Server" cssclass= "TextBox" height= "19px" ></asp:TextBox> <asp:i Magebutton id= "Ibtnsearch" imageurl= "~/images/search.gif" runat= "Server" onclick= "Ibtnsearch_click" > </ Asp:imagebutton> </div>
effect:
Add logo and Header pictures
<div id= "Top" > <a href= "default.aspx" > </a> <a href=" Http://blog.csdn.net/mayfla "> </a></div>
Effect:
Add copyright
<div id= "Footer" > All rights reserved © Xu Lingbo &<a href= "Http://blog.csdn.net/mayfla" target= "_blank" >csdn </a> </div>
Copyright Effect:
Body: Body Here you can write a block of code with a Div, but in order for other infrequently changing controls to achieve the effect of multiplexing. So the master page is used, and the following blog will introduce the master page.
2. Control appearance Properties
Appearance attributes are the ones that add the right attributes to the pages or controls to meet the needs and aesthetics. We add attributes that are closely related to the box model, so take a look at the box model when learning to add attributes.
On the page layout, Body There is an margin by default.
Centering settings
I want to add ...
Second, accumulate
The brisket speaks a lot of tricks, some of which were previously known but not noticed, and some are new:
2.1 Shortcut keys:
Double table: Make the snippet easy to render. such as if
CTRL+K/D: Quickly organize the format of your code
2.2 Tips:
TODO: Quickly go back to the end of the previous day code; View-User task
In Tools-debugging, using start-Up (without debugging) can effectively improve efficiency. And the error can be seen directly on the page.
2.3 The CSS file is pulled directly into the ASPX. You can call the CSS.
Pictures/controls can be pulled directly into the ASPX class.
2.4 Using the master page can reduce a lot of code duplication, to achieve the effect of page reuse
Note: When you use a master page for a master page (that is, there are two master pages), you remove the comment from the previous master page.
。。。
As the saying goes, skill is bold. These constant accumulation, is you to challenge the fate of the cards. Constantly accumulating ing ...
Iii. issues
In the learning process, not only to learn a lot of things, but also encountered a lot of problems. Now see the problem, the most want to do is to summarize down, it is best to find the rules from the inside, put together error, and error frequency high error extraction a set of solutions.
I want to add ...
Iv. Summary
Time is hurried, youth years, only through, will not regret. Learning--Summary--error--summary. This is like a fate of the ring, not stop the rotation, turn your time, turn to the ups and downs. The constant is the growth, the change is growing.
Beef Brisket Press Release System notes--How to write CSS