answersLogoWhite

0


Best Answer


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

βˆ™ 14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you set navigation bar content with CSS?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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?

Internal CSS is a way to include CSS styles directly within the HTML document, using the tag. These styles are written within the tags and affect only the specific HTML document they are included in. Internal CSS is useful for small-scale styling changes and for ensuring that the styles are applied consistently across all the elements of the 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.


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


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.


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.


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."


What Feature to set temporary left and right margins?

You can use the CSS property padding to set temporary left and right margins on an element. You can set the padding on the left and right sides using padding-left and padding-right. This will create space around the content within the element without affecting the layout of surrounding elements.