Large corner image for the top bar : img « Tags « HTML / CSS






Large corner image for the top bar

      
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Antiquity</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<style rel="stylesheet" type="text/css">
* {
  margin: 0;
  padding: 0;
}

a {
  color: #DC8552;
}

a:visited {
  text-decoration: underline;
}

a:hover {
  color: #FCA16C;
}

ul {
  list-style-image: url("antiquity-images/bullet.gif");
  margin: 15px 40px;
}

body {
  background: #3B362E url("antiquity-images/back.jpg") repeat-y;
  background-position: 50% 50%;
  font: normal 11px/18px georgia, times, serif;
  text-align: center;
}

#wrapper {
  margin: 0 auto;
  text-align: left;
  width: 690px;
}

#head {
  width: 690px;
  height: 195px;
  background: #9D3A06 url("antiquity-images/header.jpg") repeat-x;
  border: 5px solid #F1DAAC;
  border-width: 0 5px 5px 5px;
  text-align: right;
}

#head img {
  position: relative;
  right: 570px;
  margin-bottom: 30px;
}

#head h1 {
  color: #fff;
  font-size: 50px;
  margin-right: 30px;
  cursor: default;
  color: #FFE5AE;
}

#left_column,#right_column {
  padding-top: 20px;
  width: 284px;
  float: left;
}

#left_column {
  margin-left: 48px;
  color: #7D3403;
  background: #F7D09B url("antiquity-images/leftgrad.jpg") repeat-x;
}

* html #left_column {
  position: relative;
  top: -8px;
  margin-left: 26px;
  width: 286px;
}

* html #right_column {
  position: relative;
  top: -8px;
  margin-left: 25px;
}

#right_column {
  margin-left: 26px;
  color: #F7D09B;
  background: #9d3a06 url("antiquity-images/rightgrad.jpg") repeat-x;
}

#left_column h1,#right_column h1 {
  font-size: 18px;
  margin-left: 15px;
  display: block;
  padding-bottom: 3px;
  width: 260px;
}

#left_column h1 {
  background: transparent url("antiquity-images/border.gif") repeat-x;
  background-position: bottom right;
}

#right_column h1 {
  background: transparent url("antiquity-images/border2.gif") repeat-x;
  background-position: bottom right;
}

#left_column img,#right_column img {
  border: 3px solid #C57234;
  margin: 20px 0;
}

#left_column a:hover img,#right_column a:hover img {
  border-color: #D48042;
}

#left_column h1 {
  color: #A94D10;
}

#right_column h1 {
  color: #F7D09B;
}

p {
  width: 250px;
  margin: 20px 0 20px 20px;
}

p:first-letter {
  font-size: 30px;
  float: left;
  margin-right: 5px;
}

.links {
  list-style: none;
  list-style-image: none;
  margin: 20px 15px;
}

.links li {
  border-style: solid;
  border-width: 0 0 0 5px;
}

.green {
  border-color: #8A9D30;
}

.blue {
  border-color: #1D304A;
}

.brown {
  border-color: #9D3A06;
}

.grey {
  border-color: #3A342A;
}

.links a {
  display: block;
  width: 244px;
  height: 24px;
  background-color: #A55214;
  font: normal 11px/24px georgia, times, serif;
  color: #F7D09B;
  text-decoration: none;
  margin: 5px 0;
  padding-left: 10px;
  border-left: 1px solid #F7D09B;
}

* html .links a {
  width: 238px;
}

.links a:hover {
  background-color: #9D3A06;
  color: #fff;
}

#bottom {
  float: left;
  clear: both;
  margin: 60px 0 0 70px;
  width: 550px;
}

#left_footer {
  color: #000;
  float: left;
  padding-bottom: 10px;
}

* html #left_footer {
  width: 280px;
  position: relative;
  right: 66px;
}

#right_footer {
  color: #E39C77;
  float: left;
  margin-left: 130px;
  padding-bottom: 10px;
}

* html #right_footer {
  margin-left: -35px;
}

#left_footer a {
  color: #000;
}

#left_footer a:hover {
  color: #333;
}

#right_footer a {
  color: #F5B08B;
}

#right_footer a:hover {
  color: #F9D2BE;
}

</style>
</head>
<body>
<div id="wrapper">
  <div id="head"> <img src="antiquity-images/corner.jpg" alt="" />
    <h1>Antiquity</h1>
  </div>
  <div id="left_column">
    <h1>Left Column</h1>
    <ul class="links">
      <li class="green"><a href="">a link name</a></li>
      <li class="blue"><a href="">a link name</a></li>
      <li class="brown"><a href="">a link name</a></li>
      <li class="grey"><a href="">a link name</a></li>
    </ul>
    <p>Hi, this is Jack with another oswd template. This time I tried to go for something that stands out thematically and visually. The two equal columns can be used for anything from blog posts to product descriptions, it kind of mimics old newspaper columns. Notice that the links above aren't necessarily meant for navigation, but simply a series of links. They could be links to external sites, special resources, etc. Use your imagination :]<br />
      <br />
      You can also use the classes on the lists to change the tab colour. I did it 'cause it looks nice, but it can be used as an organization tool as well (help separate different types of links, etc) <br />
      <br />
      I know the css is a bit cluttered, but I'm coming with a commented update soon.</p>
    <h1>Possible Uses?</h1>
    <ul>
      <li>antique books</li>
      <li>fine wines</li>
      <li>classical music</li>
      <li>historical archive</li>
      <li>just for fun</li>
    </ul>
  </div>
  <div id="right_column">
    <h1>Right Column</h1>
    <p>Nam faucibus urna non arcu. Morbi vulputate hendrerit tellus. Donec porttitor vulputate mi. Praesent eros pede, molestie eget, posuere vitae, vehicula at, erat. Etiam accumsan elementum magna. Vivamus cursus pretium pede. Suspendisse eget lacus at nulla condimentum laoreet. Vivamus vulputate, nulla in tempor malesuada, justo lacus placerat lacus. <a href=""><img src="antiquity-images/image.jpg" alt="" /></a> Sed eget turpis ut lacus congue blandit. Proin faucibus sodales ligula. Praesent placerat nibh ut risus. Vivamus faucibus urna et mi. Integer porta, odio ac fringilla nonummy, urna mi dapibus lorem, in porta erat nulla ut wisi. Quisque sed metus.</p>
  </div>
  <div id="bottom">
    <div id="left_footer"><a href="">footer item</a> | <a href="">another footer item</a></div>
    <div id="right_footer"><a href="">footer item</a> | <a href="">another footer item</a></div>
  </div>
</div>
</body>
</html>

   
    
    
    
    
    
  








Related examples in the same category

1.Adding images and alt message with XHTML
2.Alternative Text Rendering
3.Set background to #fff for an image
4.Set padding to 4px
5.display block
6. in a
7.Set image margin top and left to negative value
8.Image block
9.image clear: left;
10.Switch image for link
11.Adding caption to Image
12.Image as a link
13.Creating an Image Map
14.Top link with image
15.Wrap text along with image
16.Using arrow image for LI
17.Use image to create line
18.Using color image to create round corner
19.Image slide show
20.Text wrap around image
21.Image side bar
22.Text wrap image
23.Using huge image to highlight your content
24.Using image to add shading to your text
25.Image Text wraper
26.Marginal Graphic Dropcap
27.Raised image
28.Lowered text
29.Image with clear left
30.Using css to wrap text around images
31.Image map area
32.HTML Image map
33.Creating and Using Image Maps
34.shape = "rect" indicates a rectangular area, with coordinates for the upper-left and lower-right corners
35.value "poly" creates a hotspot in the shape of a polygon, defined by coords
36.shape = "circle" indicates a circular area with the given center and radius
37. indicates that the specified image map is used with this image
38.Client-side Image Map Example
39.'area' defines the clickable area on a graphic or image
40.'coords' sets the coordinates of an 'a' or 'area' element
41.'galleryimg' eliminate the appearance of the toolbar for all 'img' elements
42.'img' displays a picture or a video clip
43.Adding shading to the picture
44.HTML code for image scaling
45.'ismap': Whether the image in 'img' element is a server-side image map
46.'lowsrc' gives the URL of a low-resolution image
47.'map' specifies the coordinates of an image map
48.'nohref' indicates that the 'area' in the 'map' has no link
49.'shape' sets the shape of an 'a' or 'area' element
50.'src' specifies a URL to be loaded by the element
51.'start' specifies when a video clip should start playing
52.'usemap' sets the image map for the map element
53.'hspace' sets the space in pixels between the left and right sides of an element
54.'vspace' sets the size in pixels of the vertical margins