Solution to the conflict between two tabs navigation in HTML

青灯夜游
Release: 2018-10-08 17:20:06
forward
2531 people have browsed it

This article mainly introduces the solution to the problem of navigation conflict between two tabs in HTML. Friends who need it can refer to it.

Let’s first describe the problem:

On the same page , one of the two tabs requires float: left, and the other requires float: right, which creates a conflict;

Reason: The controls in each p are not carefully positioned, and the global definition is used, which causes them to change together. ;

Later, I accurately positioned each layer layer by layer, and it was OK.

Solution to the conflict between two tabs navigation in HTML

Solution to the conflict between two tabs navigation in HTML

Solution to the conflict between two tabs navigation in HTML

Solution to the conflict between two tabs navigation in HTML

CSS:

p .ivu-tabs-nav-scroll .ivu-tabs-nav{
  float: right;
}
p .ivu-modal-body .ivu-tabs-nav-scroll .ivu-tabs-nav{
  float: left;
}
Copy after login

Summary

The above is given to you by the editor The solution to the navigation conflict problem between two tabs in HTML is introduced. I hope it will be helpful to everyone!

The above is the detailed content of Solution to the conflict between two tabs navigation in HTML. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!