Monday, April 9, 2007
Elements of CSS
A CSS declarative statement looks as :
h1{font-size:24px;}
where:
- h1: selector
- font-size: property
- 24px: value
Types of selectors:
- Tag
It is used to redefine a html tag
p{font-family: Times, serif;} - ID
It is used to name a unique element
#nav {colour: red;} - Class
Used to address a set of elements
.post {padding: 10px;} - pseudo selectors (classes, elements)
Combining selectors:
- Contextual
- Grouping
Posted by RJ at 16:46 0 comments
The new CSS way
- Let the CSS control the style of thewhole सीते
- No tables for layout, just for tabular डाटा
- Keep the XHTML for content, markedup सेमंतिकाल्ल्य
Drawbacks
- Hard for older users to adapt
- Browser inconsistencies
Posted by RJ at 16:43 0 comments
Standard XHTML 1.0 attributes
Find attributes at:
http://www.w3schools.com/tags/ref_standardattributes.asp
Posted by RJ at 16:41 0 comments
Block level XHTML 1.0 tags
Find all the tags at
http://www.w3schools.com/tags/default.asp
Posted by RJ at 16:41 0 comments
Tags
Some Rules About Tags
- tag and attribute names must be written in lower-case
- tags must be properly nested
- all XHTML tags must be closed, including empty tags
- attribute values must always be quoted
- documents must be well-formed
Posted by RJ at 16:38 0 comments
xhtml and css
XHTML is a documentstructure language
- heading,
- sub-headings
- divisions,
- paragraphs,
- lists,
- quotes,
- forms,
- images
- spans,
- emphasis
CSS is a style languagefor document objects:–
- page flowelement placement
- margins and padding
- backgrounds
- fonts (face, size, style)
- effects
Lecture notes
Posted by RJ at 16:35 0 comments
Application server:
- An application server is a software engine that delivers applications to client computers or devices
- It should handle most, if not all, of the business logic and data access of the application
- benefits of application server:
1] ease of application development
2]and centralization - identified with the Sun Microsystems J2EE platform; however,
- it has also come to encompass servers of web-based applications, such as integrated platforms for e-commerce, content management systems, affiliate management systems and occasionally, even applied to simplistic web-site page builders. The paradigm is more similar to mainframe based applications than traditional client-server.
Posted by RJ at 16:25 0 comments
Apache web server
Apache,
- public-domain
- open source
- Web server
- developed in 1995
- there is a large public library of Apache add-ons
- versions that run under OS/2, Windows , UNIX and other platforms
- The name is a tribute to the Native American Apache Indian tribe, a tribe well known for its endurance and skill in warfare
Courtesy: Webopedia (http://www.webopedia.com/TERM/A/Apache_Web_server.html)
Posted by RJ at 16:12 0 comments
What have I been upto...
I haven't been posting on this blog as regularly...thats not called for I know.
So I am gonna more than make up for it...
Posted by RJ at 16:07 0 comments