CSS landscaped SELECT table single border

xiaoxiao2021-04-06  328

There is no technical content, and there is no big value, but since it is thinking about it.

DOCTYPE HTML PUBLIC "- // w3c // DTD HTML 4.0 Transitional // En"

>

<

HTML

>

<

HEAD

>

<

Title

>

New document

Title

>

<

Meta

Name

= "Generator"

Content

= "Editplus"

>

<

Meta

Name

= "Author"

Content

= ""

>

<

Meta

Name

= "Keywords"

Content

= ""

>

<

Meta

Name

= "Description"

Content

= ""

>

<

Style

Type

= "Text / CSS"

>

#a

{

Border

:

1px dotted #ccc

;

Width

:

118px

;

HEIGHT

:

19px

;

DISPLAY

:

Block

;

Overflow

:

Hidden

}

#b

{

Width

:

120px

;

Position

:

Relative

;

TOP

:

-2px

;

Left

:

-2px

;

}

Style

>

HEAD

>

<

Body

>

<

Div

id

= "a"

>

<

SELECT

Name

= "Test"

id

= "b"

>

<

Option

Value

= 1

>

SELECT1

Option

>

<

Option

Value

= 2

>

SELECT2

Option

>

<

Option

Value

= 3

>

SELECT3

Option

>

<

Option

Value

= 4

>

SELECT4

Option

>

<

Option

Value

= 5

>

SELECT5

Option

>

SELECT

>

Div

>

Body

>

HTML

>

转载请注明原文地址:https://www.9cbs.com/read-132362.html

New Post(0)