answersLogoWhite

0

CSS Cascading Style Sheets

A widely used style sheet language, the Cascading Style Sheets (CSS) describes the layout of HTML, XHTML, and XML documents. CSS separates the presentation from the content of the document to provide accessibility and flexibility.

423 Questions

How can you center a div using css without centering the text?

CSS

div.center {text-align:center;} will center the text.

div.center {margin: 0 auto} will center the div without centering the text.

HTML

What is cursive in css?

Cursive is a font and is defined as such. Here I define a division and its default font:

div#main {

font-family: "Times New Roman", serif;

text-align: left;

margin: 0;

padding: 60px;

}

What kind of service CSS web design provide?

CSS is the language for describing the presentation of Web pages, including colors, layout, and fonts. It allows one to adapt the presentation to different types of devices, such as large screens, small screens, or printers. CSS is independent of HTML and can be used with any XML-based markup language. Cursors are common website design in New York, and they give a new depth to page viewing. In 2021, adding amusing cursors to your website is as easy as changing the cursor shape. In any case, your visitors will like engaging with unique cursors. Because the animation is entertaining, users may easily spend a few minutes floating their cursor over the navigation menu. Your cursor doesn't have to be as complicated as this one, but adding a unique element to your cursor may undoubtedly make your website stand out. One sort of dynamic scrolling uses varying scrolling speeds for your site's foreground and background to give users a 3D sense. For more details please visit our website link in bio.

Do font family names need to be capitalized in css?

No. It is not mandatory. As long as they are spelled right, they should work.

What is the difference between a period and a hash symbol in declaring CSS classes?

Period which specifies to a class using (.) or dot operator

Where as hash or # specifies to id of a particular attribute of HTML tags

Can you link more than on CSS style sheet to an HTML document?

Yep. You can add as many as you'd like. That's where the "cascade" comes in. Firstly, all rules are superseded by later rules, or more specific rules. Then Linked rules are superseded by embedded rules which are superseded by inline styles.

How do you add an image to your background on your wikia?

Depends on how you are able to edit the code. This is the basic CSS way for a web page:

Background Image Code:

For the body tag example:

body {

width: XXpx;

height: YYpx;

margin: 0 auto;

background: #fff url(image_name.jpg) no-repeat center scroll;

}

That is the proper CSS code for a non-tile image where the contents scroll with the background image. Change "#fff" to preferred bg color. Change "scroll" to "fixed" if you want page contents to scroll over bg image. Be sure to set proper width/height to provide minimum page size to display bg image. Put the CSS as is on an external CSS file. If using embedded CSS, then place CSS between the style tags and place those style tags between the head tags of the page.

How is a margin size determined in CSS?

The browser sets the margin. The size is determined by the browser. The margin clears an area around an element. The margin can be adjusted to your specific needs.

What is the advantage of using column style in long documents?

it is more orderly, and when you use columns, the word accumulation seems lesser than it really is because of how your mind processes it, like an optical illusion.

What is using a css class in a body section called?

Using CSS class in a body section is called inline style. You can use styles inside most HTML tags.

What browsers does css work on?

All modern browers support CSS to varying degrees; by that I mean IE 5.0 and up, Netscape 7.0 and up, Firefox 1.0 and up and Opera 7.0 and up. Older browsers support older versions of CSS. It began with IE 4.0, NN 4.0 and Opera 3.5.

If a large table contains thousands of records and the application is accessing half of the table which method do you use index searching or full table scan?

Generally, if a select is accessing half of a table it will do a table scan. With thousands of records that should not slow it down much. If you were talking millions of records that might be a different story.

How do you add multiple onblur or onclick actions to a form?

You have to use JavaScript. It is built into the DOM, but it requires that to read and manipulate the Document Object Model.

Where can a css background image be found?

A css background image is another name for a computer wallpaper.They can be found on Photobucket, SantaBanta Wallpaper, Deviant Art and Free Wallpapers.

What is CSS responsible for?

CSS is responsible for giving websites structure. It is used to influence multiple HTML elements at a time, and is trusted to make websites appear as the developer planned on multiple browsers and platforms.

If you use CSS to configure both the background image and the background color what will happen?

In most browsers the background image will be shown. If the image has been configured so as not to repeat, and the element is larger than the background image then the area that is not covered by the background image will display the background color. DJL