answersLogoWhite

0

To increase readability or make it look pretty. Maybe you just want to be different.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Can you give me the CSS code to a table that has a fixed height and width but scrolls vertically to view text?

you can place that table inside a container <div>, likely shorter than the table itself, then set the overflow of that <div> to either auto or scroll. Most browsers will default to scroll when auto is selected. What this does is tell the browser to create a scroll bar in the div for any content that extends below the height of the container. Because it is creating a scroll bar inside the div make sure you have room on the right side of the container to allow the bar to appear without blocking content. For example, in your CSS document: div.tablecontainer { height:500px; overflow:scroll; padding-right:20px; } table { height:1000px; width:80%; }


What is web container?

depends what code you're talking about. if it's html, a container would be the code that contains content ("bla bla") <html> <head> <title> bla bla </title> </head> <body> </body> </html> in css, it would be whatever div tag you create such as: <div class="container"> bla bla </div>


How do you make div by using css?

You can make CSS inside a div but not div in CSS. CSS inside div could be done by : <do=iv style="">.


What is container or wrapper div?

A container or wrapper div is a HTML element, typically a <div>, used to group and contain other elements within a webpage. It helps in applying consistent styling, such as margins and padding, to a section of the layout, ensuring a cohesive design. Additionally, it can facilitate responsive design by adjusting the size and positioning of its child elements based on the screen size. Essentially, it serves as a structural element for better organization and layout control within the HTML document.


Can you create div in textarea in HTML?

No you can't. While you can put div tags inside textarea tags, as anything in the textarea is treated only as text, the browser will ignore the div tags and they will show as text only and so have no impact. So if you do want sections for text, you would have to look at other ways of doing it, like having several text areas with different formatting.


What does the prefix div mean?

<DIV> is not a prefix, it is a tag. A DIV element is a container for other HTML elements and is used for positioning and structuring content in the document


Can you use different divs in the background 'body' div without disturbing the overall flow of the 'container' div?

Yes, the easiest way to do this is to change the z-index of the div so it is generated on a different layer. An example you could do is below: <div style='position:absolute;z-index:-1;'> This will be behind the main div </div> <div> This is the main div </div>


What is cell padding in HTML code?

Cell padding is used in table and in div tags. You can add to create space around images and words. example: <table cellpadding="0" cellspacing="0">


How do you center your webpage?

Create a container DIV tag within the BODY tag and use CSS to center it in the browser.Example:Inside the CSS file.html body #container {width: 989px;margin: 0 auto;}Inside the HTML file:Page content here.


What is a div overlay?

from my limited knowledge a <div> is a tag used to make a "division" in the webpage (like tables but cleaner) the beauty of the <div> is that it doesn't have any visual effects as just <div> so it is perfect to use with css (<div class="name">} the word "class" would be represented in css as . and name would show as .name meaning you can set the height, width, colour, style, font etc.. for content that appears inside that div.


What tag can be a container or non-container tag?

The <div> tag in HTML can serve as both a container and a non-container tag. As a container, it is used to group and organize other HTML elements, allowing for CSS styling and layout control. However, it can also be used without containing any other elements, effectively acting as a non-container tag. This versatility makes the <div> tag a fundamental element in web development.


What is the Perimeter of a 4 X 6 square?

This is a trick question. A square by definition has four equal sides, therefore it cannot measure 4 x 6. A geometrical figure having four sides, right angles, and measuring 4 x 6 would be called a rectangle, not a square. And it would have a perimeter of 20. <p></p><p> </p>The definition of a square is that all four sides are equal.<div><br></div><div>Therefore your 4x6 is a rectangle, and not a square.</div><div><br></div><div>Perimeter would therefore be</div><div><br></div><div>4+6+4+6= 20.<div></div><div><br></div><div>Total all four sides of the rectangle. </div></div>