-
In addition to the problem of the landlord, I can't find any other adjectives for Shenma......
You'll find a lot of various div nests.
If you say app, that's app.
How is it being used? The mainstream usage is to use a combination of floating float:left and position attributes to achieve the desired layout effect.
Suggestion: Use div+css to imitate the homepage of Renren.com, and then compare how others write after imitation, basically you will understand.
-
div+css is the most popular layout now, but pay attention when using divs, it is best to use id tags to match css, but even so, divs are nested too much and still not easy to maintain, and it looks messy, so the best layout should be:
Head. Body.
Tail. This layout with CSS better maintains the role of the header tag = div = footer
-
This is easier said than done, so you have to keep in touch with each other.
-
Benefits of using div+css for web page bai design:
-
@提高效减小**@提高访问速度@让布局整洁漂亮@扩展更改时简单@对一些不同版本浏览器带来强兼容.
-
Most HTML tags are semantant, e.g. to indicate that this is a paragraph, to indicate emphasis, to indicate that it is an unordered list.
And are 2 meaningless labels, that is, they can be used as a container to put something else in it.
The default is a block-level element, and the default is an inline element.
So, when you need to add a parent element to a piece for better layout or js operations, you can use it to include it.
Before HTML5, there were no semantic tags such as header footer section article, so divs were used to distinguish between different page content modules.
For example, navigation: Here's the actual navigation bar content.
This is convenient for writing CSS. Especially in the evil IE7-era, for the sake of rounded corners, shadows and other effects, it may be possible to nest the div of the N layer to achieve it.
With the popularity of HTML5 CSS3, nesting is no longer necessary.
So, if you're starting to learn how to make web pages, it's important to choose a teaching material. Don't learn from those ideas from years ago.
-
Create a file and a file on the desktop, of course, you can also do without the file, but for the sake of convenience, let's build one. Just save the notepad as and you're good to go.
After making these two files, we write the basic ** of the web page, and make the index file controlled, we right-click and choose to open the index file with Notepad and enter **, and write it in the head to make it controlled.
Let's write some properties to see if we can control the index file. I want the whole page to be pink and look warm, and I'll write * in it to see. Let's open the index file to see if it's pink on the browser.
It's pink on the browser, which means it's already under the control of the CSS stylesheet.
Let's lay out the layout, generally the web page is 3 layers of one level, so we need a div layout, write in the body, generally I will be divided into 3 layers first.
After the layout, we need to define the properties, and here I will simply define them.
#top#top1
#top2#top3
Once defined, let's open the preview and see if it's centered and divided into 3 pieces. Of course, the colors are only for the convenience of reading clearly, and can not be written.
In fact, making a web page is a constant frame, as long as you know the layout and define the attributes, let's do the whole thing, because some of my are the same, you can call with class, class=baidu This is just written casually, what you love is equal to what.
Here are all my screenshots**.
Let's define his attributes, but I'm just going to define them briefly.
#top#top1
#top2#top3
baidubaidujingyan
Because this is the web page of my screenshot album.,Let's put it.,Here's what I'm lazy.,Put it all on the desktop.,So there's no need to connect**address.。
It's all my wife's.
Such a web page is ready, if you need to make a beautiful web page, you need to constantly do the div layout and CSS style regulations.
Now let me talk about the definition of web page production, as long as the production of web pages will use the div non-stop layout, constantly define its attributes, the basic static web page is done this.
-
CSS and div are separated, you can also put them in the same file, the following is a simple css + div web page, simple no.
target="_blank">>
target="_blank">">
A simple web page.
-
1. The layout first determines the large framework, and then gradually builds out the internal details, which is from the outside to the inside layout from the perspective of the hierarchical relationship;
2. If you are not very familiar with divcss, then you can use **as the background** instead.
3. If you are not very proficient in layout positioning, then you can temporarily lay out in absolute position.
4. If you are not familiar with it, when designing a flat page, you must first consider whether you have the ability to write the layout of the page, or say that there is no problem with what you write; For example, rounded corners, shadows, translucent effects, module misalignment overlays, etc.;
In fact, whether the page layout is simple is only relative, proficient people and novices must have different views, in the long run, novices or don't take tricks, don't be afraid of mistakes when writing divcss**, don't be afraid of difficulties, when you encounter a problem, go to find a way to solve the problem, and then solve the problem is the best way to solve it, when you no longer encounter problems or rarely encounter problems, it means that you have been proficient or not far from being proficient.
Another point to mention, you have to have a liking attitude towards learning, don't learn as a burden or a task, when you are interested in something, you will learn quickly; It's like when some students are studying, their grades in a certain subject have always been very good, and most of them are actually interested in learning so well.
-
It is recommended to use mature CSS framework products, such as thirsty - open source Chinese CSS framework, bootstrap
-
1. When writing a framework by yourself, first learn a good framework structure.
1.Find some web pages and look at the feeds**.
2.Copy the source to.
3.Find CSS, JS paths.
Test whether your copy was successful. The effects are not all displayed.
Second, when you can modify, your div+css basic skills are already there, then you can write some web frameworks by yourself.
1.Look at how someone else's web page looks.
2.Write the framework yourself with div+css.
3.Test the compatibility of individual browsers.
When you put all these things will be. Then you're an expert.
-
If you know how to do a page, even if you are a novice, within 3 hours, including the layout of Chetu Wu Chaikai + is enough to make a simple page out.
For example: 1. What software do you usually use to make web pages?
2. Explain how to do a good job of "user experience" under a trillion troubles
3. After reading the other party's **, I asked the other party's architecture ideas, interviewed a few people who couldn't tell why they came or said that the page was completely different from the one written, and I used firefox to see the layout and style of the page at a glance to know that it was not written by him, and I knew that it must have been brought from somewhere else, and I would ask if I encountered this: "Are you writing this alone?" ”
Now he is still working in the company, it has been 3 months, and he has indeed learned very quickly.
Finally, give the landlord a suggestion, you specifically talk about a day or two to make up for the foundation, and then imitate some pages on the Internet to make a one, you can imitate and reference, but do not plagiarize, be modest during the interview, and say no at all, many companies really want to recruit people are looking for a few years of work experience, so that the just graduated to the interview shows that they don't care too much about whether they are very proficient, but at least have to be self-motivated.
In addition, if the MCU you choose is 8-bit, you need to install 8-bit C Compiler, if it is 16-bit, you need to install 16-bit C Compiler, and 32-bit C Compiler needs to be installed.
Clerk work includes: simple text, **, **processing. Word word is enough. The trouble is **. **Processing is not demanding. At least can open all kinds of **, and print out**. >>>More
Ethernet passive optical networks? It's almost there.
It's better to re-follow it, and if you're playing 1 I can pass it on my computer to you >>>More
For example, in the field of transportation, deep learning technology can detect vehicle parking, wrong-way driving and other behaviors, and even accurately identify the license plate number, color, model, and people in the vehicle to assist traffic law enforcement, and even call the police in the event of traffic accidents and traffic congestion. >>>More