Skip to main content

Home/ Web Development, Design & Programming/ Group items tagged web content

Rss Feed Group items tagged

Rayjand Gellamucho

Internet Marketing Services | Mavericks Web Solutions Co. - 0 views

  •  
    Internet Marketing Philippines - We are dedicated in providing internet marketing solutions for businesses to succeed online.
Anton S.

Table of Contents | The Elements of Typographic Style Applied to the Web - 0 views

  •  
    "At the time of writing this is a work in progress - the site is being added to one principle at a time."
  •  
    How to make $ 40,000 in one month with very quickly. What you need. The latest American news article. Immediately visit www.killdo.de.gg www.fiverr.de.gg www.newss.de.gg www.reddit.de.gg www.newsbbc.de.gg
Soul Book

The Incredible Em & Elastic Layouts with CSS - 0 views

  • Elastic design uses em values for all elements. Ems are a relative size, written like this: 1em, 0.5em, 1.5em etc. Ems can be specified to three decimal places like so: 1.063em. “Relative” means: They are calculated based on the font size of the parent element. E.g. If a <div> has a computed font size of 16px then any element inside that layer —a child— inherits the same font size unless it is changed. If the child font size is changed to 0.75em then the computed size would be 0.75 × 16px = 12px. If the user increases (or decreases) text size in their browser, the whole interface stretches (or shrinks.)
  • All popular browsers have a default font size of 16px. Therefore, at the default browser setting, 1em = 16px.
  • The <body> inherits it unless styled otherwise using CSS. Therefore 1em = 16px, 0.5em = 8px, 10em = 160px and so on. We can now specify any element size we need to using ems!
  • ...9 more annotations...
  • However, (gasp) IE has a problem with ems. Resizing text from medium (default) to large in IE5/6 would lead to a huge increase in font size rather than the gradual one expected. So another selector is needed to get IE to behave: html{ font-size:100%; }
  • Let’s give our <body> some more style, and center everything in the viewport (this will be important later for our content wrapper.) Our initial CSS ends up like this: html{ font-size: 100%; } body{ font-size: 1em; font-family: georgia, serif; text-align: center; color: #444; background: #e6e6e6; padding: 0; margin: 0; }
  • 1 ÷ 16 × 740 = 46.25em (1 ÷ parent font-size × required pixel value = em value)
  • While we're here, we might as well add some typographic goodness by selecting a basic leading and adding some vertical rhythm, with everything expressed in ems.
  • Set a 12px font size with 18px line height and margin for paragraphs
  • Dividing the desired line height (18px) by the element font size (12px) gives us the em value for line height. In this example, the line height is 1 and a half times the font size: 1.5em. Add line height and margin properties to the CSS: p{ font-size: 0.750em; line-height: 1.5em; margin: 1.5em; } Now the browser will say to itself, “Oh, line height and margin is set to 1.5em, so that should be 1.5 times the font size. What’s the font size, again? 12px? OK, cool, make line height and margin 1.5 times that, so 18px.”
  • To retain our vertical rhythm we want to set an 18px line height and margin. Easy: If the font size is 18px then 18px in ems is 1em! Let’s add the properties to the CSS (and make the font weight light:) h1{ font-size: 1.125em; line-height: 1em; margin: 1em; font-weight: 300; }
  • Jon, good article and very useful chartm but your text sizing method has one major drawback. If elements with font-sizes set in em’s are nested, i.e with lists, these elements inherit the font size. Therefore each child element will be 0.75em (or 75%) of the previous one: See an example here. (Would have posted the code put it was coming out really ugly!) I would recommend against using that method and setting the global font size in the body tag i.e. 'font-size:75%' for 12px. Then only setting different font-sizes where necessary.
  • Thanks Will, interesting point, but that is solved with a simple font-size:1em on the first child. Retaining the default ensures that even images are sized correctly in ems. IE (surprise) will compute incorrectly against a parent length equivalent to 12px. My preference born out by some minor but painful computed size errors in complex layouts is not to adjust the body, and only set font size where necessary for specific elements.
  •  
    A nice and simple explanation of using EMs to make elastic layouts
Soul Book

CSS techniques I use all the time - 0 views

  • EM calculations Sizing text is always an important part of making a usable design. I start all my CSS files with the following rules: html { font-size:100.01%; } body { font-size:1em; } The explanation for this comes from "CSS: Getting Into Good Coding Habits:" This odd 100.01% value for the font size compensates for several browser bugs. First, setting a default body font size in percent (instead of em) eliminates an IE/Win problem with growing or shrinking fonts out of proportion if they are later set in ems in other elements. Additionally, some versions of Opera will draw a default font-size of 100% too small compared to other browsers. Safari, on the other hand, has a problem with a font-size of 101%. The current "best" suggestion is to use the 100.01% value for this property.
  • I used the following calculation: 14px/16px = .875, 18px/16px = 1.125. So my default text at 1 em would translate to 16px for most users, and my small text I sized at .875em which I can trust to result in 14px for most users, while my large text I sized at 1.125em which I can trust to result in 18px
  • Safe Fluid-width Columns I work with hybrid fluid layouts all the time, usually with max-width set at anywhere from 900 to 1000px. I usually have floated columns with percentage widths, and browsers will calculate these percentage widths to whole pixel values when rendering the columns.
  • ...3 more annotations...
  • A typical problem is the following: when a user has the viewport at a size that makes the outer container 999 pixels wide, if the first column is 60% and the second is 40%, IE 6 will always calculate the two columns as 600 and 400 pixels and as a result, the two will not fit (600+400 = 1 more than 999) and it will drop the second column. This is obviously not intended behavior, and in a world where we still have to use floats for columns (I can't wait for display:table support across all browsers), it's important to work around this problem. I used to give my last column 1 less percent (in this example, it would have 39% instead of 40%, but this would usually result in columns that don't quite fill up the container. Of late I have been giving the last column .4 less percent (in this example, 39.6%), which seems to work perfectly. Browsers will calculate this width and round up, but it will still fit even with an odd container width like 999px and I won't have to worry about dropped columns.
  • Filtering for Old Browsers To be honest, I barely support IE 6 nowadays. If there is something special about my layout that doesn't work in IE 6, I will simply filter it out of the CSS that IE 6 understands
  • Because old browsers like IE 6 don't support the "first child" selector (right caret >), I can do the following to make sure that IE 6 only gets the basic setting and all the new-fangled browsers get the right result: div#container { width:900px; } html>body div#container { width:auto; max-width:900px; } /* This overrides the previous declaration in new browsers only, IE 6 simply ignores it. */
  •  
    Excellent simple collection of CSS tips that are easy to remember and implement. It's an old article, but i think everything is still relevant
Tonny Mathews

Digg Clone by NCrypted - 1 views

  •  
    Social bookmarking websites are very much in-demand as all are using social bookmarking websites to promote their websites on the web. Most of the Users are submitting their content on these types of social bookmarking websites and get traffic from there.
Vernon Fowler

Accordion Pattern - Design Pattern Library - YDN - 2 views

  • Have the most important panel open by default
  • Accordions may be configured to require that there is always a single panel open or to allow for more flexible possibilities (all panels closed, multiple panels open). Some practitioners consider it a best practice to permit only one panel to be open at a time, but others disagree.
  • For keyboard users an accordion usually ends up behaving either as a tree view or as a tab view.
  • ...2 more annotations...
  • An accordion should degrade into something useful when Javacript is off, perhaps opening all panels.
  • Display none shouldn’t be used as this might hide the content from a screen reader. Instead consider setting a height of 0.
Harikrishna Patel

Android App Development: Get More Business ActuaFreeArticles.com free content free arti... - 0 views

  •  
    Don't lag behind when it comes to Android App for your business. Get the services for #AndroidAppDevelopment with the Softqube Technologies. We are ready to create killer and beautiful apps for your business.
Tonny Mathews

Buy Customizable Bookmark Script from NCrypted - 1 views

  •  
    Social bookmarking sites allow people to share their content as well news amongst the group of friends and business partners. All of this can be shared according to categories and amongst the people globally.
srinfosystem

Drupal development services Delhi | Hire Drupal Developer Noida NCR | Drupal company | - 0 views

  •  
    We are the top Drupal website developer provides most amazing features and lightly weighted websites. Our Drupal developers make very easy Drupal website development. Contact us for most amazing websites.
Ahxn Amc

Why Is Blogging Essential for Your Health Business? - 0 views

  •  
    Blogging is a very critical tool for your medical marketing strategy. If done in a professional way it can bring in the new visitors to your healthcare website, which eventually can be converted into paying clients. This story will explain more about why is blogging essential for the success of your healthcare business.
Ahxn Amc

Great Ideas to Create a Successful Dermatology Website - 0 views

  •  
    A dermatology website with the simple design might not be able to attract new patients. Dermatologists need to use high-quality images and videos on their websites to attract more patients. Learn here more about the great ideas to create a successful dermatology website.
Ahxn Amc

How to Make Your Healthcare Site Work for You? - 0 views

  •  
    Having a simple medical website is not the guarantee that your practice will grow, and your medical office will attract new patients. You need to keep in mind that your healthcare website should be fast, and it includes all crucial elements that could boost your practice. Learn here about the eight ways to make your healthcare site work for you.
solaceinfotech

WordPress- Best known for its CMS - 0 views

WordPress- Best content management system

wordpress Website webdesign programming Development web

started by solaceinfotech on 08 May 19 no follow-up yet
wdpnew

What is WordPress and Know the Most Popular WordPress Theme? - 0 views

  •  
    Before choosing a WordPress theme you must aware of What is WordPress?Simplify WordPress is the software to build its websites or blog. It is also known as a Content management system or CMS.
piousitservices

Digital marketing 09891805739 Company Pious IT services in Delhi India. - 1 views

  •  
    Digital Marketing Agency Services Industry Leading SEO Services Online Dedicated Internet Marketing Managers Results Driven Customized Strategy. Complete Transparency And Detailed Reporting. As a one-stop agency digital marketing agency, you can count on TopRank Marketing for specialized marketing consulting services that include: Content Marketing. Search Engine Optimization, Social Media Marketing, Email Marketing, Influencer Marketing, Digital Advertising, Website Analytics. Call Now :- 09891805739
cmsMinds - Web Design & Development

Implement D3 Example in Drupal 8 - 0 views

  •  
    Drupal 8 is a new generation of Drupal. It is a digital experience platform that helps to reach your web content far and wide.
« First ‹ Previous 301 - 320 of 336 Next ›
Showing 20 items per page