我现在只是在玩HTML / CSS,目前我的目标是将我的桌子移动到页面的顶部中心。当我打开通用边框时,我可以将它移动到我想要它的位置,但是一旦我发表评论,桌子就会跳到其他地方!
Sub RowFinder()
Dim sheet1Data As Variant
With Worksheets("Sht2") '<--| reference your worksheet 2
sheet1Data = Application.Transpose(.Range("A1", .Cells(.Rows.count, 1).End(xlUp)).Value)
End With
With Worksheets("Sht1") '<--| reference your worksheet 1
With .Range("A1", .Cells(.Rows.count, "A").End(xlUp)) '<--| reference its column A cells from row 1 (header) down to last not empty one
.AutoFilter field:=1, Criteria1:=sheet1Data, Operator:=xlFilterValues '<--| filter cells with sheet 2 column A values
If Application.WorksheetFunction.Subtotal(103, .Cells) > 1 Then Intersect(.Parent.UsedRange, .Resize(.Rows.count - 1).Offset(1).SpecialCells(xlCellTypeVisible).EntireRow).Copy Destination:=Worksheets("Sht3").Range("A1")
End With
.AutoFilterMode = False
End With
End Sub
&#13;
body {
background-image: url("https://images.freecreatives.com/wp-content/uploads/2016/04/Triangle-Shiny-Modern-Background-.jpg");
background-repeat: no-repeat;
background-size: cover;
}
* {
border: 2px solid black;
}
* #move {
margin-right: 10px;
margin-bottom: 10px;
border-radius: 10px;
}
.profile {
font-family: Verdana, Arial, serif;
font-size: 20px;
width: 15%;
float: left;
}
iframe {
float: right;
width: 30%;
height: 1%;
margin-right: 10px;
}
form {
clear: left;
}
#nav ul {
text-align: center;
margin: auto;
position: relative;
}
#nav li {
position: relative;
display: inline-block;
border: 1px solid black;
border-radius: 2px;
background-color: white;
padding: 5px;
font-family: Cursive;
}
#times table {
width: 10%;
height: 10%;
margin-top: -600px;
text-align: center;
margin-left: auto;
margin-right: auto;
}
/*table {
margin-left:auto;
margin-right:auto;
}*/
td {
border: 1px solid black;
}
&#13;