⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 css_examples.asp@output=print

📁 W3Schools tutorial..web designing
💻 ASP@OUTPUT=PRINT
📖 第 1 页 / 共 2 页
字号:
<a target="_blank" href="tryit.asp@filename=trycss_padding-left">Set the left padding of a tablecell</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_padding-right">Set the right padding of a tablecell</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_padding-top">Set the top padding of a tablecell</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_padding-bottom">Set the bottom padding of a tablecell</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_padding">All the padding properties in one declaration</a>
</p>
<p><a class="example" href="css_padding.asp">Padding properties explained</a></p>
<hr />

<p><b>List</b></p>
<p>
<a target="_blank" href="tryit.asp@filename=trycss_list-style-type">The different list-item markers in unordered lists</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_list-style-type2">The different list-item markers in ordered lists</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_list-style-type_all">All the list style types</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_list-style-image">Set an image as the list-item marker</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_list-style-position">Place the list-item marker</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_list-style">All list properties in one declaration</a>
</p>
<p><a class="example" href="css_list.asp">List properties explained</a></p>
<hr />

<p><b>Table</b></p>
<p><a target="_blank" href="tryit.asp@filename=trycss_table_table-layout">Set the layout of a table</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_table_empty-cells">Show empty cells in a table</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_table_border-collapse">Collapse a table border</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_table_border-spacing">Set the space between table borders</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_table_caption-side">Set the position of the table caption</a></p>
<p><a class="example" href="css_table.asp">Table properties explained</a></p>
<hr />

<p><b>Dimension</b></p>
<p>
<a target="_blank" href="tryit.asp@filename=trycss_dim_height">Set the height of an image using a pixel value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_dim_height_percent">Set the height of an image using percent</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_dim_width">Set the width of an element using a pixel value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_dim_width_percent">Set the width of an element using percent</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_dim_max-height">Set the maximum height of an element</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_dim_max-width">Set the maximum width of an element using a pixel value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_dim_max-width_percent">Set the maximum width of an element using percent</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_dim_min-height">Set the minimum height of an element</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_dim_min-width">Set the minimum width of an element using a pixel value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_dim_min-width_percent">Set the minimum width of an element using percent</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_line-height">Specify the space between lines using a percent value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_dim_line-height_pixel">Specify the space between lines using a pixel value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_dim_line-height_number">Specify the space between lines using a number value</a></p>
<p><a class="example" href="css_dimension.asp">Dimension properties explained</a></p>
<hr />

<p><b>Classification</b></p>
<p>
<a target="_blank" href="tryit.asp@filename=trycss_display">How to display an element as an inline element</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_display_block">How to display an element as a block element</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_float">A simple use of the float property</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_float2">An image with border and margins that floats to the right in a paragraph</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_float3">An image with a caption that floats to the right</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_float4">Let the first letter of a paragraph float to the left</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_float5">Creating a horizontal menu</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_float6">Creating a homepage without tables</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_position_relative">Position an element relative to its normal position</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_position_absolute">Position an element with an absolute value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_position_fixed">Position an element relative to the browser window</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_visibility">How to make an element invisible</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_visibility_collapse">How to make a table element collapse</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_cursor">Change the cursor</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_class-clear">Clear the sides of an element</a>
</p>
<p><a class="example" href="css_classification.asp">Classification properties explained</a></p>
<hr />

<p><b>Positioning</b></p>
<p>
<a target="_blank" href="tryit.asp@filename=trycss_position_relative">Position an element relative to its normal position</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_position_absolute">Position an element with an absolute value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_clip">Set the shape of an element</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_overflow">How to show overflow in an element using scroll</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_pos_overflow_hidden">How to hide overflow in an element</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_pos_overflow_auto">How to show set the browser to automatically handle overflow</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_vertical-align">Vertical alignment of an image</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_zindex2">Place an element &quot;behind&quot; another element</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_zindex1">Place an element &quot;behind&quot; another element 2</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_position_top">Set the top edge of an image using a pixel value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_position_top_percent">Set the top edge of an image using a percent value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_position_bottom">Set the bottom edge of an image using a pixel value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_position_bottom_percent">Set the bottom edge of an image using a percent value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_position_left">Set the left edge of an image using a pixel value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_position_left_percent">Set the left edge of an image using a percent value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_position_right">Set the right edge of an image using a pixel value</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_position_right_percent">Set the right edge of an image using a percent value</a></p>
<p><a class="example" href="css_positioning.asp">Positioning properties explained</a></p>
<hr />

<p><b>Generated Content</b></p>
<p><a target="_blank" href="tryit.asp@filename=trycss_gen_quotes">Changes the quotation marks on a page</a></p>
<hr />

<p><b>Pseudo-classes</b></p>
<p>
<a target="_blank" href="tryit.asp@filename=trycss_link">Add different colors to a hyperlink</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_link2">Add other styles to hyperlinks</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_link_focus">Hyperlink: use of :focus</a> (does not work in IE)<br />
<a target="_blank" href="tryit.asp@filename=trycss_first-child1">:first-child - 
change first child &lt;p&gt;</a> (for IE <a href="../tags/tag_doctype.asp">&lt;!DOCTYPE&gt;</a> 
must be 
declared)<br />
<a target="_blank" href="tryit.asp@filename=trycss_first-child2">:first-child - 
change first child &lt;em&gt; in all &lt;p&gt; elements</a> (for IE
<a href="../tags/tag_doctype.asp">&lt;!DOCTYPE&gt;</a> must be 
declared)<br />
<a target="_blank" href="tryit.asp@filename=trycss_first-child3">:first-child - 
change all &lt;em&gt; elements in first child &lt;p&gt;</a> (for IE
<a href="../tags/tag_doctype.asp">&lt;!DOCTYPE&gt;</a> must be 
declared)<br />
<a target="_blank" href="tryit.asp@filename=trycss_lang">:lang</a> (does not work in IE)</p>
<p><a class="example" href="css_pseudo_classes.asp">Pseudo-classes explained</a></p>
<hr />

<p><b>Pseudo-elements</b></p>
<p>
<a target="_blank" href="tryit.asp@filename=trycss_firstletter">Make the first letter special in a text</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_firstline">Make the first line special in a text</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_firstline_letter">Make the first letter and first line special</a><br />
<a target="_blank" href="tryit.asp@filename=trycss_before">Use :before to insert some content before an element</a> (Does not work in IE)<br />
<a target="_blank" href="tryit.asp@filename=trycss_after">Use :after to insert some content after an element</a> (Does not work in IE)
</p>
<p><a class="example" href="css_pseudo_elements.asp">Pseudo-elements explained</a></p>
<hr />

<a href="css_summary.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="css_reference.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -