answersLogoWhite

0


HTMLCreate an unordered list UL tag inside a DIV tag with an id of navBar in the HTML page!




CSSInside of the CSS create a ID block called #navBar
#navBar ul li {
display: inline;
padding-right: 5px;

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

What is a custom CSS?

All CSS is custom, that is the purpose behind CSS. It allows you to control the presentation of your web pages and separate the rules that govern presentation from the content and markup. You control what rules you develop and set the rules for. CSS stands for cascading style sheets.


How do you color the area between margins using HTML or CSS?

You can set the color of margin in CSS. The attribute margin-color is what sets it.


What are difference css 2.0 and css 3.0?

CSS 3 contains the old CSS specifications and new modules has been added.Example of new modules:Background and border stylesBoxText effectsTransformationsAnimationsSelectors


How do you convert css codes?

You can't convert a HTML into CSS in the same way you can convert, say a .wmv file to a .mpg file. CSS is a way to style HTML items but doesn't use the same language as HTML. There may be software solutions that may be able to extract the styling instructions written in HTML and convert the language into CSS but failing that you'll have to rewrite the HTML styling into CSS manually. Whilst you can have CSS and HTML in the same .html document generally the CSS will be the styling and the HTML will be the content. I say 'generally' because it is possible to add 'content' using CSS and to still style using HTML within the same document.


What is internal css?

Instead of referring to an external CSS file via <link rel="stylesheet" type="text/css" href="style.css" /> you can also add <style type="text/css"> body { ... } ... </style> to the <head> section of your document. The main set back is that if you do that, you have to edit every single page where you want certain styles to appear instead of referring to one single document.

Related Questions

What is a custom CSS?

All CSS is custom, that is the purpose behind CSS. It allows you to control the presentation of your web pages and separate the rules that govern presentation from the content and markup. You control what rules you develop and set the rules for. CSS stands for cascading style sheets.


How do you set margins without CSS in HTML?

HTML does not have a built-in way to set margins without CSS. Margins are a property of Cascading Style Sheets (CSS), not of HTML. To set margins in HTML, you need to use CSS either directly in a “style” attribute of an HTML element, or by using an external CSS file linked to your HTML document.


What is the value of css?

There is no predefined value of CSS anywhere. You can set it's attributes the way you want.


How do you color the area between margins using HTML or CSS?

You can set the color of margin in CSS. The attribute margin-color is what sets it.


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%; }


When you set your rules in CSS from a sheet what sheet can control several webpages?

Any. It is merely a matter of linking it in the Head element. I have too often seen many of them that do only 10% of the content or less.


How do you set HTML side by side?

CSS works alongside HTML for complete functionality. A CSS can be embedded in HTML also.


What are difference css 2.0 and css 3.0?

CSS 3 contains the old CSS specifications and new modules has been added.Example of new modules:Background and border stylesBoxText effectsTransformationsAnimationsSelectors


Different properties of HTML that were changed by CSS?

CSS stands for Cascading Style Sheets. CSS is a convenient way of setting the look and feel of the HTML & Form components on screen in a uniform way. All the form components have a property called "Style" in which we can assign the name of the CSS style that we need to use. All we need to do is, create the CSS style in a CSS file and use the name in all the required form components and all those components would have the properties set in the CSS. Some properties that can be set in the CSS are: * Font size * Font color * Background color * Borders * etc...


How do you convert css codes?

You can't convert a HTML into CSS in the same way you can convert, say a .wmv file to a .mpg file. CSS is a way to style HTML items but doesn't use the same language as HTML. There may be software solutions that may be able to extract the styling instructions written in HTML and convert the language into CSS but failing that you'll have to rewrite the HTML styling into CSS manually. Whilst you can have CSS and HTML in the same .html document generally the CSS will be the styling and the HTML will be the content. I say 'generally' because it is possible to add 'content' using CSS and to still style using HTML within the same document.


Which glee song is set in a bar?

-Piano man was set in a bar.-One Bourbon, One Scotch, One Beer is also set in a bar.


What does it mean to incorrectly render CSS?

When CSS is not compliant with set standards that are applicable, different browsers applying styles to a document with that CSS can display totally different styles, or display styles that are unnexpected or far-fetched -- this is also called "Incorrect Rendering."