HTML页面不滚动
我对HTML非常陌生,我决定制作一个小的注册页面作为练习。由于某些原因,它不会滚动(没有滚动条,只是在屏幕底部被切断)。可以在此处找到HTML代码:。我有一种预感,这个问题的原因是HTML页面不滚动,html,Html,我对HTML非常陌生,我决定制作一个小的注册页面作为练习。由于某些原因,它不会滚动(没有滚动条,只是在屏幕底部被切断)。可以在此处找到HTML代码:。我有一种预感,这个问题的原因是 table-layout:fixed 但是如果没有这一行,我就无法使我的列大小相等。如何修复此问题?您应该将位置更改为相对位置,而不是固定位置,如下所示: <table style="width:300px; position:relative; top:300px; left:200px; table-la
table-layout:fixed
但是如果没有这一行,我就无法使我的列大小相等。如何修复此问题?您应该将位置更改为相对位置,而不是固定位置,如下所示:
<table style="width:300px; position:relative; top:300px; left:200px; table-layout:fixed;">
您应该将位置更改为相对位置,而不是固定位置,如下所示:
<table style="width:300px; position:relative; top:300px; left:200px; table-layout:fixed;">
将工作台位置更改为: 相对的
<table style="width:300px; min-height: 100px; position:relative; top:300px; left:200px; table-layout:fixed;">
<table style="width:300px; min-height: 100px; position:absolute; top:300px; left:200px; table-layout:fixed;">
或
绝对值
<table style="width:300px; min-height: 100px; position:relative; top:300px; left:200px; table-layout:fixed;">
<table style="width:300px; min-height: 100px; position:absolute; top:300px; left:200px; table-layout:fixed;">
编辑:
查看这些以查看位置
值之间的差异
将工作台位置更改为: 相对的
<table style="width:300px; min-height: 100px; position:relative; top:300px; left:200px; table-layout:fixed;">
<table style="width:300px; min-height: 100px; position:absolute; top:300px; left:200px; table-layout:fixed;">
或
绝对值
<table style="width:300px; min-height: 100px; position:relative; top:300px; left:200px; table-layout:fixed;">
<table style="width:300px; min-height: 100px; position:absolute; top:300px; left:200px; table-layout:fixed;">
编辑:
查看这些以查看位置
值之间的差异
在JDFIDLE的代码中有一个孤儿
@SERPRO感谢您指出它,删除了它!在JDFIDLE的代码中有一个孤儿
@SERPRO感谢您指出它,删除了它!