answersLogoWhite

0

The easiest thing is to use a class. Add class="foo" to your elements. And add this code to your CSS:

.foo {
border: solid 1px #000000;
//Or something like that.
}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What benefits and demerits do External Style Sheets have?

Benefits: One file can be used to control multiple documents having different styles. Multiple HTML elements can have many documents, which can have classes. To group styles in composite situations, methods as selector and grouping are used. Demerits: Extra download is needed to import documents having style information. To render the document, the external style sheet should be loaded. Not practical for small style definitions.


How often do you use an ID selector in a HTML document?

An ID selector, such as #greenbox {background-color: #DFD;}, is used when you want to set the style of a certain single element (or list of single elements). Generally, this will be used to style an element that serves a single purpose, such as content, nav1, footer, banner, advert1, and so on. It is not used for things that may be repeated throughout the page, because it is improper to have two elements with the same ID (you can use CSS classes for this, such as div.greenbox {...}). Ideally, You should use an ID selector to style every section of your page. If your page is just one big section, a spew of text sprinkled with inline styles or images, then you probably won't use any ID selectors. A complex site with multiple navigation areas, multiple "main" content sections, a place for advertisements, a small announcements section, and perhaps a banner, header, and footer, might use anything from ten to a hundred ID selectors.


Memorandum of applying a job?

In your memo, you should include why you are applying for the job. You should also put down what exact you are applying for.


What are the factors a selector should adopt in analyzing the suitability of a person for the job?

vjhjjk


What should I look for when applying for FHA loan?

Answering "What should I look for when applying for FHA loan?"


Should you put the gear selector in your car in park if you are pulled over by the police?

true


What position should the output voltage selector be set when using the constant speed motor?

Variable


Which groups of elements are transition elements?

Elements located in groups 4 - 12 in the modern periodic table are considered as transition elements. Transition elements should not be confused with the d-block elements which are from groups 3 - 12.


When should you turn on a PWC's fuel selector switch to reserve?

1) When you run out of fuel and need to get back to a dock. 2) When you have a fuel flow problem and suspect the pickup or fuel selector might be clogged and need to get back to a dock.


Why are you interested in applying in this position?

You should think about and be prepared to discuss what it is about the position that appeals to you. You should demonstrate to the employer your passion and motivation for the type of work for which you are applying.


How long should I wait to seed after applying weed killer?

You should typically wait about 2 to 4 weeks before seeding after applying weed killer.


What features should a template contain?

A template should include placeholders for inserting content, consistent styling elements for uniformity, customizable options for color and layout, and clear instructions for editing. Additionally, it should be easily editable and shareable for multiple users.

Trending Questions
Quality and reliability are related concepts but are fundamentally different in a number of ways Discuss them? Can use stone dust as a filler material for bituminous concrete? How do you calculate how to split a 7.5Kw load over 3 phases? Why do people need to develop alternative sources of renewable energy and become less dependent on fossil fuels? What is the organizational structure of management in a power plant? How is a Residual Current Device or RCD different to a Ground Fault Circuit Interrupter or GFCI? What is the minimum value of power factor of a circuit can have under what circumstances can this occur? How data is represented in dbms? Why converting a base class pointer to a derived class pointer is consider dangerous by the compiler? What is the minimum value of Ir test in 11kv cables? If you are considering Ch 7 but do not want to include a newly purchased vehicle are you able to still file? In which layer will liquid petroleum be found in the oil trap shown in figure 4-1? What is better civil or electronics for engineering? What are the codes called that surround the HTML text? Accidentally drop cardboard down the toilet how do you get it out? Purpose of minimum flow line for centrifugal pump? How is hooke's law releted to torque wrench action? What are the procedure of construction of a well foundation? Is there a way to calculate the physical length of the groove on a compact disc based on the time length of the track? Which error is the violation of grammar rules of a programming language?