Bachiani – Website Design, Website Development Company UK, Pakistan
Bachiani Web Design - Bachiani offers fully customised web designing services based on the client’s needs and their business goals. We not only custom design but also provide a professional and bespoke web presence for the business.
Saturday, July 14, 2012
Sunday, July 8, 2012
InPage 3 Professional
InPage Urdu is the industry standard tools for pagemaking of Newspapers, Magazines & Books in Urdu/Arabic languages. Using the power of Noori Nastaliq & Character and Faiz Nastaliq based fonts InPage gives you the freedom to design your dreams in almost all Perso-Arabic scripts like Urdu, Arabic, Persian, Sindhi, Kashmiri Pushto & Hazaragi. Running on MS Windows, InPage makes publishing not only easy but also enjoyable!!!
InPage Professional 3.x New Features
- Kashish in Noori Nastaliq Font
- Faiz Lahori Nastaliq Font ligature based added with Kashish (more than 28,000 ligatures, unique Quranic ligatures is added)
- More than 70 Unicode Naskh Fonts
- Direct Unicode Support with other software
- Muhammadi Quranic font is added
- Export Urdu text in RTF format
- Direct save as PDF with options Mirror and Export all Text as Curves
- Direct copy/paste/insert/import of picture and after save, address/folder of picutre is not required
- Footnote can be added in any selected font
- Powerful Spell Checker (80,000 more words added)
- Additional symbols
- Auto and Generate Index with Urdu, English page numbers
- Separate colour options in Naskh Fonts
- Unicode 4 Layer Keyboard added for all right to left Language's.
- Prompting in Noori Nastaliq as well in Naskh
- Compatible with Windows XP, VISTA, Windows 7 and Windows Server
Donwload Inpage 3
CSS Attribute Selectors
Style HTML Elements With Specific Attributes
It is possible to style HTML elements that have specific attributes, not just class and id.Note: IE7 and IE8 support attribute selectors only if a !DOCTYPE is specified. Attribute selection is NOT supported in IE6 and lower.
Attribute Selector
The example below styles all elements with a title attribute:Example
[title]
{
color:blue;
}
{
color:blue;
}
Attribute and Value Selector
The example below styles all elements with title="bachiani":Example
[title=bachiani]
{
border:5px solid green;
}
{
border:5px solid green;
}
Attribute and Value Selector - Multiple Values
The example below styles all elements with a title attribute that contains a specified value. This works even if the attribute has space separated values:Example
[title~=hello]
{
color:blue;
}
Example
[lang|=en]
{
color:blue;
}
Styling Forms
The attribute selectors are particularly useful for styling forms without class or ID:Example
input[type="text"]
{
width:150px;
display:block;
margin-bottom:10px;
background-color:yellow;
}
input[type="button"]
{
width:120px;
margin-left:35px;
display:block;
}
{
width:150px;
display:block;
margin-bottom:10px;
background-color:yellow;
}
input[type="button"]
{
width:120px;
margin-left:35px;
display:block;
}
CSS Image Sprites
Image Sprites
An image sprite is a collection of images put into a single image.A web page with many images can take a long time to load and generates multiple server requests.
Using image sprites will reduce the number of server requests and save bandwidth.
Image Sprites - Simple Example
Instead of using three separate images, we use this single image ("img_navsprites.gif"):With CSS, we can show just the part of the image we need.
In the following example the CSS specifies which part of the "img_navsprites.gif" image to show:
Example
img.home
{
width:46px;
height:44px;
background:url(img_navsprites.gif) 0 0;
}
{
width:46px;
height:44px;
background:url(img_navsprites.gif) 0 0;
}
Try it yourself »
- <img class="home" src="img_trans.gif" /> - Only defines a small transparent image because the src attribute cannot be empty. The displayed image will be the background image we specify in CSS
- width:46px;height:44px; - Defines the portion of the image we want to use
- background:url(img_navsprites.gif) 0 0; - Defines the background image and its position (left 0px, top 0px)
Image Sprites - Create a Navigation List
We want to use the sprite image ("img_navsprites.gif") to create a navigation list.We will use an HTML list, because it can be a link and also supports a background image:
Example
#navlist{position:relative;}
#navlist li{margin:0;padding:0;list-style:none;position:absolute;top:0;}
#navlist li, #navlist a{height:44px;display:block;}
#home{left:0px;width:46px;}
#home{background:url('img_navsprites.gif') 0 0;}
#prev{left:63px;width:43px;}
#prev{background:url('img_navsprites.gif') -47px 0;}
#next{left:129px;width:43px;}
#next{background:url('img_navsprites.gif') -91px 0;}
#navlist li{margin:0;padding:0;list-style:none;position:absolute;top:0;}
#navlist li, #navlist a{height:44px;display:block;}
#home{left:0px;width:46px;}
#home{background:url('img_navsprites.gif') 0 0;}
#prev{left:63px;width:43px;}
#prev{background:url('img_navsprites.gif') -47px 0;}
#next{left:129px;width:43px;}
#next{background:url('img_navsprites.gif') -91px 0;}
Try it yourself »
- #navlist{position:relative;} - position is set to relative to allow absolute positioning inside it
- #navlist li{margin:0;padding:0;list-style:none;position:absolute;top:0;} - margin and padding is set to 0, list-style is removed, and all list items are absolute positioned
- #navlist li, #navlist a{height:44px;display:block;} - the height of all the images are 44px
- #home{left:0px;width:46px;} - Positioned all the way to the left, and the width of the image is 46px
- #home{background:url(img_navsprites.gif) 0 0;} - Defines the background image and its position (left 0px, top 0px)
- #prev{left:63px;width:43px;} - Positioned 63px to the right (#home width 46px + some extra space between items), and the width is 43px.
- #prev{background:url('img_navsprites.gif') -47px 0;} - Defines the background image 47px to the right (#home width 46px + 1px line divider)
- #next{left:129px;width:43px;}- Positioned 129px to the right (start of #prev is 63px + #prev width 43px + extra space), and the width is 43px.
- #next{background:url('img_navsprites.gif') no-repeat -91px 0;} - Defines the background image 91px to the right (#home width 46px + 1px line divider + #prev width 43px + 1px line divider )
Image Sprites - Hover Effect
Now we want to add a hover effect to our navigation list.Our new image ("img_navsprites_hover.gif") contains three navigation images and three images to use for hover effects:
Because this is one single image, and not six separate files, there will be no loading delay when a user hovers over the image.
We only add three lines of code to add the hover effect:
Example
#home a:hover{background: url('img_navsprites_hover.gif') 0 -45px;}
#prev a:hover{background: url('img_navsprites_hover.gif') -47px -45px;}
#next a:hover{background: url('img_navsprites_hover.gif') -91px -45px;}
#prev a:hover{background: url('img_navsprites_hover.gif') -47px -45px;}
#next a:hover{background: url('img_navsprites_hover.gif') -91px -45px;}
Try it yourself »
- Since the list item contains a link, we can use the :hover pseudo-class
- #home a:hover{background: transparent url(img_navsprites_hover.gif) 0 -45px;} - For all three hover images we specify the same background position, only 45px further down
Google Sitemap Generator for Windows
Google (and Yahoo!) Sitemap Generator for Windows
Google Sitemaps allows the webmaster to help Google index their pages optimally. The GSiteCrawler will help you generate the best Google Sitemap file for your website. The GSiteCrawler uses different ways to find all the pages in your website and can generate all sorts of files, statistics and more. The sitemaps file format has lately been also adapted by Yahoo! - even MSN/Live.com is pledging it's support.GSiteCrawler
Subscribe to:
Posts (Atom)