代码:
# -*- coding: utf-8 -*-
import base64
import io
import dash
import dash_core_components as dcc
import dash_html_components as html
import dash_table
from dash.dependencies import Input, Output, State
app = dash.Dash(
__name__, meta_tags=[{"name": "viewport", "content": "width=device-width"}], suppress_callback_exceptions=True
)
server = app.server
app.layout = html.Div(children=[html.Label("Select Model"), html.Abbr("\u2753", title="Hello, I am hover-enabled helpful information.")])
if __name__ == "__main__":
app.run_server(port=8069, debug=True)#, dev_tools_ui=False,dev_tools_props_check=False)
我无法使它与这个html.Label
标记内联。有什么办法吗
您可以在
html.Label
样式中设置float = 'left'
,如下所示:相关问题 更多 >
编程相关推荐