margin :0px auto invalid_html/css_WEB-ITnose
- @ADDS_Lan.S_ADDS_Footer_CustomerServices
- .@ADDS_Lan.S_ADDS_Footer_UserJY
- @ADDS_Lan.S_ADDS_Footer_Follow
- .@ADDS_Lan.S_ADDS_Footer_MicroletterAttention
- .@ADDS_Lan.S_ADDS_Footer_Platform
- .@ADDS_Lan.S_ADDS_Footer_Business
- @ADDS_Lan.S_ADDS_Footer_AdvertisingSer
- .@ADDS_Lan.S_ADDS_Footer_Pricesystem
- .@ADDS_Lan.S_ADDS_Footer_Advertising
- .@ADDS_Lan.S_ADDS_Footer_Servicesguarantee
- .@ADDS_Lan.S_ADDS_Footer_Contact
- @ADDS_Lan.S_ADDS_Footer_UseTheHelp
- .@ADDS_Lan.S_ADDS_Footer_RegistrationandLogin
- .@ADDS_Lan.S_ADDS_Footer_Retrieval
- .@ADDS_Lan.S_ADDS_Footer_DownloadandView
- @ADDS_Lan.S_ADDS_Footer_Contact
- .@ADDS_Lan.S_ADDS_Footer_Emailservice@botudata.com.cn
- .@ADDS_Lan.S_ADDS_Footer_TelPhone 0731-8411-8472
- 8:30-11:30,13:30-17:30(@ADDS_Lan.S_ADDS_Footer_WorkDay)
现在是这个效果.:
回复讨论(解决方案)
容器应该是body . 是放body里面 .
margin-top:25px 和 ui里的float:left 都去掉了,也不行. 变成这个样子.
margin-top:25px; margin:0px auto;}
你设了margin-top:25px 会覆盖后面的margin
margin-top:25px; margin:0px auto;}
你设了margin-top:25px 会覆盖后面的margin
不知道你问的是什么,如果是2个div的话,那么margin已经生效了,居中了。
如果你是想让ul居中的话,那么跟你父级div的margin有什么关系呢?
而且你用float:left的话就是靠左的,如果想看起来居中的话,你试试在
Wfbotmain里面加个padding-left:100px呢。准确的需要你大概计算一下。
不是margin:0px auto;无效,是你的Wfbotmain这个div太长了,里面的ul太靠左边,所以效果偏左

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

CSS border properties explained in detail: padding, margin and borderCSS is a style sheet language used to control and layout web page elements. In web design, the border attribute is one of the most important parts. This article will introduce in detail how to use the border attribute in CSS and provide specific code examples. padding The padding property is used to set the padding of an element, which is the space between the element's content and the element's borders. We can set padding using positive numbers or percentage values

In CSS, margin is a property used to set the outer margins of an element. Margins are the space between an element's border and its content. Margin can accept the following values: 1. A single value: for example, margin: 10px; Set all four margins (top, right, bottom, left) to 10 pixels; 2. Two values: for example, margin : 10px 20px; Set the top and bottom margins to 10 pixels, and the left and right margins to 20 pixels; 3, four values, and so on.

We'vepreviouslyreportedonleaksofanupcomingelectricPorscheBoxster,andPorschehaspreviouslycommittedtoEVsmakingup80%ofsalesby2030andconfirmedthatelectricBoxsterandCaymanmodelswouldbeintroducedalongsideitsregularpetrol-p

Solving the problem of PHP error: Invalid class constant In PHP development, we often encounter the following error message: Fatalerror: Undefinedclassconstant'CONSTANT_NAME'in/path/to/file.phponline10 This kind of error message indicates that it is used in the code An invalid class constant name was obtained. Solving this problem is actually not difficult. Below I will introduce several possibilities in detail.

"What should I do if the Chinese setting of VSCode is invalid?" 》Visual Studio Code (VSCode for short) is a powerful open source code editor loved by many developers. However, sometimes you may encounter some problems when setting up the Chinese environment, such as the situation where the Chinese setting is invalid. This article will discuss this issue and provide specific code examples to help readers solve this problem. 1. Confirm the system language setting. First, we need to confirm whether the language setting of the operating system is correct. exist

What should I do if the spreadsheet cannot be opened and the file format is invalid? In modern society, spreadsheets have become one of the indispensable tools in work and study. However, sometimes we may encounter a situation where the spreadsheet cannot be opened, and an error message indicating that the file format is invalid may appear. So, when we encounter this situation, how should we solve it? First, let’s be clear that an invalid file format error message usually means there’s a problem opening the spreadsheet. This may be due to corruption in the file itself, or the software used

Detailed explanation of CSS text layout properties: text-overflow and white-space In web design, text layout is a very important link. Reasonable layout can make the text more readable and beautiful. CSS provides several properties to control how text is displayed, including text-overflow and white-space. This article will detail the usage and sample code of these two properties. 1. text-overflow attribute text

In HTML, margin means "margin", which refers to the blank area surrounding the border of an element; setting margins will create additional "blank" outside the element, allowing a "blank" distance between boxes. . To set margins, you need to use the css margin property, which accepts any length unit, percentage value, or even negative value.
