Home >Web Front-end >HTML Tutorial >Problem with setting multiple styles of div.._html/css_WEB-ITnose

Problem with setting multiple styles of div.._html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:19:53999browse

HTML DIV STYLE

The following is an operation of DIV STYLE:
=========================== ==============




div1
div2

div3
==========================================
Three of them came out like this The layers will be placed horizontally and have the same size, but I want to make the middle one bigger and the two sides smaller
How to do it... I thought setting the ID might solve it, but STYLE sets the style of a DIV. Adding
ID to the following will obviously not have any effect. I need to change the STYLE, but... I don’t know how to change it...


Reply to the discussion (solution)
It’s definitely not possible for you to write like this, the format is wrong. You can try the following, you can change the parameters yourself.





div1

div2

div3< /div>



It will definitely not work if you write it like this, the format is wrong. You can try the following, you can change the parameters yourself.