Skip to main content

How To Create Table And Border in HTML Tutorial part8



If you merely need a border round the table, solely specify the border property for <table>
Width and height of a table area unit outlined by the breadth and height properties.

The text-align property sets the horizontal alignment (like left, right, or center) of the content in <th> or <td>.
By default, the content of <th> components area unit center-aligned and therefore the content of <td> components area unit left-aligned.

The following example left-aligns the text in <th> elements:
The vertical-align property sets the vertical alignment (like prime, bottom, or middle) of the content in <th> or <td>.

By default, the vertical alignment of the content during a table is middle (for each <th> and <td> elements).
The following example sets the vertical text alignment to bottom for <td> elements:

Add a instrumentality component (like <div>) with overflow-x:auto round the <table> component to form it responsive:

 DOWNLOAD   Output File

Comments

Popular posts from this blog

Invoice Generator with GST in Core PHP with Script File Easy To Use Demo

HOW TO CREATE BORDER USING HTML AND CSS

A border in your hypertext mark-up language pages will facilitate bring attention to an area of text or surround the other hypertext mark-up language component. As is seen below a border is created around any text victimization hypertext mark-up language and CSS on your website. within the example below we've enclosed a paragraph (<p></p>) with a red border. In the on top of code, the fashion is process the border size (px short for pixel), style type, and border color. the fashion of the border is however the border seems on screen. alternative kinds of border designs embrace dotted, dashed, double, groove, ridge, inset, and outset. The border color defines the colour you would like to use for the border. within the on top of example, the colour code #FF0000 was used, that is that the code for red. All of the on top of examples use "inline" designs to make the borders. you'll conjointly use "embedded" vogue sheets or "external...

Peacock || Multipurpose Responsive Shopify Theme

  LIVE DEMO      DOWNLOAD Peacock  || utile Responsive Shopify theme could be a New Shopify theme for utile. though our demo have Watches and Fashion vogue, however you'll be able to use it for any vogue, any ideas.It straightforward to put in and customise. Forfel conjointly support Responsive style, Unlimited Color, Language Translator can assist you change/stranslate the sample text to your text straightforward and quickly. With multiple currency, your look will show several currency oppressor. And lots of Google Fonts. In this theme, we tend to enclosed a number of superb options like Mega menu will show product tabs, Autocomplete suggestions Search, Advanced product filters, Recently viewed product. once customers browsing product, they'll read product detail quickly with mythical being fast read or add product to pushcart quickly & simply with mythical being Cart feature still as add product to listing with mythical being listing. Out theme c...