Profile
Toggle navigation
Home
Submit
CSSBags: Multiple Buttons in a single image Verticaly and Horizontally
Jayakumar
1/16/2009
No comments
CSSBags: Multiple Buttons in a single image Verticaly and Horizontally
Share
No comments :
Post a Comment
Positioning the Image
Jayakumar
1/05/2009
Positioning the Image using css
No comments
HTML Codings
<br /> <head> <br /> <link href="css/css.css" type="text/css" rel="stylesheet" /> <br /> </head> <br /> <body> <br /> <table class="clsProfileTable"><tbody> <tr> <td class="clsProfileImage"><a href="http://cssbags.blogspot.com"> <img height="90" width="90" alt="img" src="images/suriya.jpg"/> </a> <a title="Click here Goto Profile page" href="http://cssbags.blogspot.com"><span> </span></a> </td> <td><h3>uyuyguydgsvabihf</h3><br /> <p class="clsCompanyDetails">Diwali 2008 <br /> <br /> Diwali, information and links. ... Wish your family and friends "Shubh Diwali!" here on diwali.nl and mail to info@diwali.nl. Diwali ...</p><br /> <p class="morelinks"><a title="Click here Goto Blog" href="http://cssbags.blogspot.com">Check it out!</a> </p></td> </tr> <tr> <td colspan="2"> </td> </tr> </tbody> </table><br /> <table class="clsNewMembersList"><tbody> <tr> <td class="clsProfileImage"> <a href="http://cssbags.blogspot.com"> <img height="85" width="85" alt="img" src="images/suriya.jpg"/> </a> <a title="Click here Goto Profile page" href="http://cssbags.blogspot.com"><span> </span> <a class="clsProfilename" href="#"><p>jai</p></a></td> <td><h3>uyuyguydgsvabihf</h3><br /> <p class="clsCompanyDetails">Diwali 2008 <br /> Diwali, information and links. ... Wish your family and friends "Shubh Diwali!" here on diwali.nl and mail to info@diwali.nl. Diwali ...</p><br /> <p class="morelinks"><a title="Click here Goto Blog" href="http://cssbags.blogspot.com">Check it out!</a> </p></td> </tr> <tr> </tr> </tbody> </table><br /> <table class="clsProfile"><tbody> <tr> <td class="img"> <br /> <div class="imga"><a href="./blogs_full.php?id=1"> <br /> <img height="85" width="85" alt="" src="images/suriya.jpg"/></a><a href="./blogs_full.php?id=1"> <br /> <span> </span></a> <br /> </div><br /> </td> <td> <br /> <h3>Diwali 2008</h3><br /> <p>Diwali, information and links. ... Wish your family and friends "Shubh Diwali!" here on diwali.nl and mail to info@diwali.nl. Diwali 2008 : Do you organise ... </p><br /> <p class="more"><a href="./blogs_full.php?id=1">read more</a></p><br /> </td> </tr> </tbody> </table><br /> </body> <br />
Image for 90X90 and 85X85 size
Background image for 90X90 size
Background image for 85X85 size
CSS Codings
<br /> /* CSS Document */ <br /> .clsProfileTable, .clsNewMembersList { <br /> width:98%; <br /> } <br /> .clsProfileTable .clsProfileImage span { <br /> background:transparent url(../images/Profile-img-bg.png) no-repeat scroll 0 0; <br /> bottom:104px; <br /> display:block; <br /> height:104px; <br /> margin:0 0 -106px -3px; <br /> position:relative; <br /> width:104px; <br /> } <br /> .clsNewMembersList .clsProfileImage span { <br /> background:transparent url(../images/profile_h2NewPeople_bg.png) no-repeat scroll 0 0; <br /> bottom:94px; <br /> display:block; <br /> height:90px; <br /> margin:0 0 -106px; <br /> position:relative; <br /> width:90px; <br /> } <br /> .clsNewMembersList .clsProfilename p{ <br /> font:bold 12px Arial, Helvetica, sans-serif; <br /> color:red; <br /> text-align:center; <br /> margin:15px 35px 0 0; <br /> <br /> } <br /> .clsProfile{ <br /> position:relative; <br /> table-layout:fixed; <br /> width:98%; <br /> } <br /> .clsProfile td.img { <br /> width:133px; <br /> } <br /> .imga { <br /> height:117px; <br /> position:relative; <br /> width:116px; <br /> } <br /> .imga span { <br /> background:transparent url(../images/profile_h2NewPeople_bg.png) no-repeat scroll 0 0; <br /> display:block; <br /> height:117px; <br /> left:0; <br /> position:absolute; <br /> top:0; <br /> width:116px; <br /> } <br /> #sitemap { <br /> font:normal 16px Arial,sans-serif; <br /> overflow:hidden; <br /> } <br /> #sitemap ul { <br /> list-style:none; <br /> margin:0; <br /> padding:0; <br /> } <br /> #sitemap li { <br /> background-color:#eee; <br /> margin:0 0 -0.1em; <br /> min-height:1em; <br /> padding:.2em .4em; <br /> position:relative; <br /> width:9em; <br /> } <br /> #sitemap ul ul { <br /> font-size:90%; <br /> margin-top:-1.4em; <br /> } <br /> #sitemap ul ul li { <br /> background:#ddd; <br /> <br /> <br /> border-top:0.5em solid #fff !important; <br /> border-left:0.5em solid #66c; <br /> left:10.4em; <br /> } <br /> #sitemap ul ul ul li { <br /> background:#ccc; <br /> border-color:#9c3; <br /> } <br /> #sitemap ul ul ul ul li { <br /> background:#bbb; <br /> border-color:#c93; <br /> } <br /> #sitemap ul ul ul ul ul li { <br /> background:#999; <br /> border-color:#c33; <br /> color:#fff; <br /> } <br /> #mainNav.fiveStep li { <br /> width:182px; <br /> } <br /> #mainNav li.current { <br /> background-color:#C36615; <br /> background-image:url(../images/1st.gif); <br /> } <br /> #mainNav li { <br /> background-color:#EBEBEB; <br /> background-image:url(images/navBtn.gif); <br /> background-position:right top; <br /> background-repeat:no-repeat; <br /> float:left; <br /> height:71px; <br /> list-style-image:none; <br /> list-style-position:outside; <br /> list-style-type:none; <br /> } <br /> #mainNav li.lastDone a, #mainNav li.lastDone a:link, #mainNav li.lastDone a:visited, #mainNav li.lastDone a:hover, #mainNav li.lastDone a:active, #mainNav li.current a, #mainNav li.current a:link, #mainNav li.current a:visited, #mainNav li.current a:hover, #mainNav li.current a:active, #mainNav li.done a, #mainNav li.done a:link, #mainNav li.done a:visited, #mainNav li.done a:hover, #mainNav li.done a:active { <br /> color:#FFFFFF; <br /> } <br /> #mainNav li a, #mainNav li a:link, #mainNav li a:visited, #mainNav li a:hover, #mainNav li a:active { <br /> color:#CCCCCC; <br /> } <br /> body * { <br /> line-height:1.22em; <br /> } <br />
Result becomes like this.....
Share
No comments :
Post a Comment
Horizontal Submenu with Effects
Jayakumar
1/05/2009
Horizontal Submenu with Effects
4 comments
<style type="text/css"> body { background: #000; margin: 0 ; padding: 0; } #links { position: relative; margin: 0 auto; left: 0; width:900px; height: 125px; font: 16px Verdana, sans-serif; } #links li{ FLOAT:LEFT; WIDTH:166PX; list-style:NONE; } #links li a { display: block; text-align: center; font: bold 1em sans-serif; padding: 5px 10px; margin: 0 0 1px; border-width: 0; text-decoration: none; color: #CCC; background: #444; border-right: 5px solid #505050; } #links li a:hover { color: #411; background: #FFF; border-right: 5px double #999;} #links li a span{ display: none; } #links li a:hover .home{ display: block; position: absolute; left: 30px; width: 125px; padding: 5px; margin: 10px 10px 10px 15px; color: #999; background: #000; font: 10px Verdana, sans-serif; text-align: center; } #links li a:hover .interest{ display: block; position: absolute; left: 145px; width: 145px; padding: 5px; margin: 10px 10px 10px 65px; color: #999; background: #000; font: 10px Verdana, sans-serif; text-align: center; } #links li a:hover .collection{ display: block; position: absolute; left:320px; width: 125px; padding: 5px; margin: 10px 10px 10px 65px; color: #999; background: #000; font: 10px Verdana, sans-serif; text-align: center; } #links li a:hover .techno{ display: block; position: absolute; left: 485px; width: 125px; padding: 5px; margin: 10px 10px 10px 65px; color: #999; background: #000; font: 10px Verdana, sans-serif; text-align: center; } #links li a:hover .meals{ display: block; position: absolute; left: 700px; width: 125px; padding: 5px; margin: 10px; color: #999; background: #000; font: 10px Verdana, sans-serif; text-align: center; } </style> <br /> </head> <br /> <br /> <body> <br /> <div id="links"><br /> <ul><li> <br /> <a href="http://cssbags.blogspot.com/2009/01/vertical-submenu-with-effects.html">Home<span class="home"> The main page of the site-- a jumping-off point, as it were-- and not actually a picture of our house</span></a></li> <li> <br /> <li><a href="http://cssbags.blogspot.com/2009/01/vertical-submenu-with-effects.html">Links<span class="interest"> A collection of things which interest me, and might interest you</span></a></li><br /> <br /> <li><a href="http://cssbags.blogspot.com/2009/01/vertical-submenu-with-effects.html">Away<span class="collection"> A collection of things which interest me, and might interest you</span></a></li><br /> <br /> <li><a href="http://cssbags.blogspot.com/2009/01/vertical-submenu-with-effects.html">techno<span class="techno"> He's been called "an internationally recognized expert," but then he's also been called a "techno-fascist"</span></a></li><br /> <br /> <li><a href="http://cssbags.blogspot.com/2009/01/vertical-submenu-with-effects.html">Meals<span class="meals"> She cooks fabulous meals, she throws great parties, she helps women deliver their babies-- what <em>can't</em> she do?</span></a></li><br /> <br />
Result becomes like this...
Share
4 comments :
Post a Comment
Vertical SubMenu with Effects
Jayakumar
1/05/2009
Vertical SubMenu with Effects
1 comment
<br /> <style type="text/css"> body { position: relative; background: #000; margin: 0; padding: 0; } #links { position: relative; margin:0 auto; top: 10px; left: 0; width: 166px; height: 500px; font: 16px Verdana, sans-serif; z-index: 100; } #links a { display: block; text-align: center; font: bold 1em sans-serif; padding: 5px 10px; margin: 0 0 1px; border-width: 0; text-decoration: none; color: #CCC; background: #444; border-right: 5px solid #505050; } #links a:hover { color: #411; background: #FFF; border-right: 5px double #999;} #links a span{ display: none; } #links a:hover span{ display: block; position: absolute; top: 180px; left: 0; width: 125px; padding: 5px; margin: 10px; color: #999; background: black; font: 10px Verdana, sans-serif; text-align: center; } </style> <br /> </head> <br /> <body> <br /> <div id="links"><br /> <a href="http://cssbags.blogspot.com/2009/01/vertical-submenu-with-effects.html">Home<span> The main page of the site-- a jumping-off point, as it were-- and not actually a picture of our house</span></a> <br /> <a href="http://cssbags.blogspot.com/2009/01/vertical-submenu-with-effects.html">Links<span> A collection of things which interest me, and might interest you</span></a> <br /> <a href="http://cssbags.blogspot.com/">Away<span> A collection of things which interest me, and might interest you</span></a> <br /> <a href="http://cssbags.blogspot.com/2009/01/vertical-submenu-with-effects.html">techno<span> He's been called "an internationally recognized expert," but then he's also been called a "techno-fascist"</span></a> <br /> <a href="http://cssbags.blogspot.com/2009/01/vertical-submenu-with-effects.html">Meals<span> She cooks fabulous meals, she throws great parties, she helps women deliver their babies-- what <em>can't</em> she do?</span></a> <br /> <a href="http://cssbags.blogspot.com/2009/01/vertical-submenu-with-effects.html">Other<span> Inevitably, there's stuff that doesn't fit in with other stuff, so we stuffed it all into this page of random stuff</span></a> <br /> </div><br />
Result becomes like this...
Share
1 comment :
Post a Comment
1
2
3
4
Next
Subscribe to:
Posts ( Atom )
About Author
Jayakumar.k
Senior Web Developer
iLink Multitech Solutions Pvt Ltd
Chennai.
India.
Gmail Id:
jaik2222@gmail.com
Follow @jaykomaar
Blog Archive
►
2016
( 3 )
►
07/17 - 07/24
( 2 )
►
05/15 - 05/22
( 1 )
►
2014
( 1 )
►
04/06 - 04/13
( 1 )
►
2013
( 3 )
►
05/26 - 06/02
( 2 )
►
01/27 - 02/03
( 1 )
►
2012
( 7 )
►
09/23 - 09/30
( 2 )
►
04/29 - 05/06
( 3 )
►
04/01 - 04/08
( 1 )
►
03/11 - 03/18
( 1 )
►
2011
( 16 )
►
11/27 - 12/04
( 4 )
►
09/25 - 10/02
( 1 )
►
08/14 - 08/21
( 2 )
►
08/07 - 08/14
( 1 )
►
07/24 - 07/31
( 3 )
►
07/03 - 07/10
( 1 )
►
05/01 - 05/08
( 1 )
►
04/17 - 04/24
( 2 )
►
02/06 - 02/13
( 1 )
►
2010
( 21 )
►
12/05 - 12/12
( 1 )
►
11/07 - 11/14
( 1 )
►
07/18 - 07/25
( 1 )
►
03/28 - 04/04
( 1 )
►
03/21 - 03/28
( 7 )
►
03/14 - 03/21
( 1 )
►
03/07 - 03/14
( 9 )
▼
2009
( 4 )
▼
01/11 - 01/18
( 1 )
CSSBags: Multiple Buttons in a single image Vertic...
►
01/04 - 01/11
( 3 )
Positioning the Image
Horizontal Submenu with Effects
Vertical SubMenu with Effects
►
2008
( 3 )
►
12/21 - 12/28
( 3 )
Popular Posts
CSS Image optimization
Image optimization, plays a majore role inorder to load your page faster. There are many good image editing tools that allow us to get the b...
Elastic Image Slideshow with Thumbnail Preview
The Markup We will create two unordered lists, one for the main slider and one for the thumbnail navigation beneath the large image. The ...
Creating Responsive HTML5 Page Using Media Queries
About Responsive Web Page Responsive Web Page is a page that responds to the screen size, platform and orientation which helps user to eas...
Set height for iFrame using jquery
$(document).ready(function () { var height = $(window.frameElement).height(); // Calculate the window height var minheight = $(window.fram...
How to remove the BOM character from HTML Files?
Byte Order Mark (or BOM) tells the computer how the bytes are ordered in a Unicode document. Because Unicode can be used in 8, 16 and 32 bi...
5 Tips of Defining Vertical Centering With CSS Tags:
5 Tips of Defining Vertical Centering With CSS Tags: There are a multiple ways to defining vertical centering objects with CSS, but it ca...
Blogger FTP to Custom Domain Migration
Blogger has officially announced that it would be shutting down the FTP publishing feature on March 26 2010. So the existing FTP publisher...
CSS FOR BAR GRAPHS
CSS FOR BAR GRAPHS Having a working knowledge of XHTML and CSS when developing applications is a big help in knowing what can be done clie...
Vertical SubMenu with Effects
Home The main page of the site-- a jumping-off point, as it were-- and not actually a picture of our house Links A collection o...
Web browser hacks, Css hacks - ie, firefox, chrome, safri, Opera
CSS hacks take advantage of browser bugs for hiding CssRules from specific web browsers. Listed below are the hacks for major browsers like ...
www.cssbags.blogspot.com by Jay. Powered by
Blogger
.
No comments :
Post a Comment