LOGO: a picture, float left. The navigation bar is a lot of content in a table. Now let's think about the current code that puts the table element on the homepage and the second page below the LOGO image. Now the LOGO is left floating, but the background color is set for daohang, the background color is below the LOGO image. Table or...
LOGO: a picture, float left.
The navigation bar is a lot of content in a table.
Now, let's move the table element on the homepage and the second page below the LOGO image.
The current Code, now the LOGO is left floating, but set the background color for daohang, the background color is below the LOGO image. The table is still on the right.
Logo {
float:left;}
Daohang {
}
Reply content:
LOGO: a picture, float left.
The navigation bar is a lot of content in a table.
Now, let's move the table element on the homepage and the second page below the LOGO image.
The current Code, now the LOGO is left floating, but set the background color for daohang, the background color is below the LOGO image. The table is still on the right.
Logo {
float:left;}
Daohang {
}
This is the final result.
Because navigation is
A table provided by others, so it contains style and other things, so the whole
It's mainly about absolute location!
To a demo: https://jsbin.com/buyojixana/edit? Html, css, output
Set an ID and use CSS to make the image above. At present, no matter how floating, it cannot overlap. Use a LOGO image to hide the content at the front of the navigation bar. How to Set CSS.