我的html页面有问题。 问题是在下拉列表中我只能看到标题的第一个单词。另外,导航栏不在页面中间,尽管我尝试了不同 样式我仍然无法在中间找到它。这是我的CSS代码 llllllllllllllllllllllllllllllllllllllllllll
package main
import "fmt"
type Car struct{
Code string
Brand string
Type string
Price int
Supply int
}
var Stock []Car
func init() {
Stock = []Car{
Car{
Code:"TOY13EMTAV",Brand:"Toyota Avanza",Type:"1.3 E M/T",Price:191100000,Supply:2,},Car{
Code:"TOY15GMTAV",Type:"1.5 G M/T",Price:221250000,Supply:3,Car{
Code:"TOY15GCVTYAR",Brand:"Toyota Yaris",Type:"G CVT",Price:257650000,Supply:5,}
}