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
Translate the following formula into a prefix form expression in Scheme: Question 2 Define a procedure that takes three numbers as arguments and returns the sum of the squ

Develop a socket program in UNIX/Linux that uses (i) TCP as the transport protocol and  (ii) UDP as the transport protocol for transferring  a short message between a client and  s


Tasks: Write a Perl script assignGrades.pl to assign letter grades to the students. Please use the classList2.txt file. Upon invoking, the script will access the file classL

New Features of Visual Studio 2008 1. LINQ Support LINQ primarily is the structure of many conventional question employees that allow you to perform with information in a more user

Question 1 How will you add styles to a document? Question2 How will you view XML in different ways? Question 3 Explain various file handling mechanism available in PERL

Question : (a) Many systems provide support for both user threads and kernel threads, resulting in different multithreading models. What are the two differences between user

The method should call getAllCities() and return the index of the City that has the shortest (euclidian) distance to the. longitude and latitude passed as parameters

Write a Prolog predicate remove_nth(N,L1,L2) that is true if list L2 is just list L1 with its Nth element removed. If L1 does not have an Nth element then the predicate should fail

Assume that you are a college professor needing to average grades for 10 students. Write a program that asks for each student's name and grade. Print the list on-screen with each s