Add external style sheet in html code, Programming Languages

On a single XHTML page, include the following two div container elements in the body. Using an external stylesheet, add style to the div elements such that one div has some overlap with the second div (Hint: Make use of relative or absolute positioning). Both divs should have a padding of 5px all around, a green 2px dotted border, a width and height of 200px and their text should be centered.

Also, add style to the span class "red" so that the text displays in red and is bold.


     This is a DIV Container


     DIVs are a powerful way to modularize presentation

 

Posted Date: 3/18/2013 2:43:49 AM | Location : United States







Related Discussions:- Add external style sheet in html code, Assignment Help, Ask Question on Add external style sheet in html code, Get Answer, Expert's Help, Add external style sheet in html code Discussions

Write discussion on Add external style sheet in html code
Your posts are moderated
Related Questions
Write a program that can facilitate searching by indexing text files according to words. In this task, you are given a large text file, sample.txt, which you will need to index the

EF308 Assignment 2 Due: 3pm, 26 April 2012 Introduction This assignment is loosely based on Cheung et al. (2005) and Molodtsova and Papell (2009) and examines the out-of- sample pr

We need Advancement in Existing PhoneGap Application We need a PhoneGap expert to aid us extend an existing PhoneGap application. The app works pulls data from a new website (de

i(t)=(V/R) * (1-e^-(R/L)(t)) (a) Defi ne an anonymous function answerE that returns i(t) given input t. (b) The fi nal value for the current is 2 amps. Find a time tm when the curr

Write out the Syntax of Nested if Statements? The universal form is                         If(expression 1)                         {

What are the Functions in Computer Programming? A program is completed up of one or more functions, with one of these being main(). Function is a self-contained block of progra

In this exercise you will develop a small 'Pop Game' in which the user will "pop" shapes that are drawn on the screen. The game will be time based, showing a shot clock at the top

Scenario A campsite provides cabins for travellers to stay in overnight. A 'cabin' is a small wooden hut, containing bunk beds, table and chairs, a heater, and a small cookin

An anagram is a type of word play, the result of rearranging the letters of a word or phrase to produce a new word or phrase. For example the anagram of tea is tea, tae, eat, eta,