Your SlideShare is downloading. ×
0
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Web Designing Bugs - Fixes By Nyros Developer

1,330

Published on

Web Designing Bugs - Fixes By Nyros Developer

Web Designing Bugs - Fixes By Nyros Developer

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,330
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Welcome Web Designing BUGS
  • 2. Topics <ul><li>What is a Bug? </li></ul><ul><li>List of Browsers </li></ul><ul><li>Deprecated Tags and Attributes </li></ul><ul><li>Most Common Bugs </li></ul>
  • 3. What is a Bug? <ul><li>The design bug is basically arrived from a bad CSS code or from the programming code. Actually what a bug exactly means a div or a table or any other HTML tag is behaving differently with the corresponding browsers. </li></ul><ul><li>We write styles for an element through using CSS but when we are writing the styles we have to follow the CSS coding standards carefully. </li></ul><ul><li>Need to follow some web standard rules while converting a mockup into CSS. (validating) </li></ul>
  • 4. List of Browsers <ul><li>What is a browser, and what browsers are available? </li></ul><ul><li>A browser is software that accesses and displays web pages. </li></ul><ul><li>Commonly-used web browsers, in order of market-share. </li></ul><ul><li>Firefox 2, 3 &amp; 3.5 Internet Explorer 6,7 &amp; 8 Safari 3.2 &amp; 4.0 Chrome 2 and 3 Opera 9.6 and 10.0 </li></ul><ul><li>Netscape Navigator 9.0 </li></ul>
  • 5. Deprecated Tags and Attributes <ul><li>In HTML 4, some tags and attributes are defined as deprecated. Deprecated means that they will not be supported in future versions of HTML and XHTML. Avoid the use of deprecated tags and attributes. </li></ul>
  • 6. Most Common Bugs <ul><li>Centering a Layout. </li></ul><ul><li>Floated Elements. </li></ul><ul><li>Double Margin on Floated Elements. </li></ul><ul><li>CSS Min-Height Bug. </li></ul><ul><li>Layout Misbehaving. </li></ul>
  • 7. Centering a Layout. <ul><li>When we making a layout to the center, the Firefox and other exist able browsers take the layout to the center except Internet explorer. we are using margin:0px auto; attribute to center a layout in all browsers but when coming to IE some times it may not take the page to the center. </li></ul>
  • 8. Centering a Layout. <ul><li>The cause for this problem is when we making a project our self with our CSS it will not arise because we will write the CSS to exist the layout fix to the center in all web browsers. Once we are modifying the others(the projects given by client) CSS, we are facing this type of problems the solution to fix this problem. </li></ul><ul><li>margin:30px 0 0 30px; </li></ul>
  • 9. Floated Elements <ul><li>What is float and why we are using this? </li></ul><ul><li>Float is an CSS element used to fix a block to left or right or to fix some bulk of related blocks side by side with in a HTML tag. </li></ul><ul><li>A floated list in standards compliant browsers. </li></ul>
  • 10. <ul><li>In IE If we are not applying float:left then it will show like this. This can be fixed by specifying float:left attribute for each DIV. </li></ul>How Internet Explorer renders it.
  • 11. <ul><li>Rules to Remember </li></ul><ul><li>1. If you want to have a right-floated box, you need to put the HTML for the floated box before the non-floated content (not after as you might expect). </li></ul><ul><li>2. You must specify a width for all floated elements. (though the width can be relative, such as a percentage width) </li></ul><ul><li>3. If you need to have a content after a float that shouldn&apos;t run along side the float, use the clear property. </li></ul>
  • 12. <ul><li>CLEAR </li></ul><ul><li>The clear property is way of saying “ Make sure this element dose not run along side a previous float “. By putting a div with clear:both after our floated columns, we&apos;re saying “ don&apos;t run this div , or anything after it, along side our floated columns ” . </li></ul>
  • 13. Double margins on floated elements <ul><li>When we want to make a block a little to the left we will use “margin-left” property. This style will make a block to the left with some specified value in the existed browsers . But when coming to the IE it will take the value as DOUBLE. </li></ul><ul><li>Display : inline </li></ul>
  • 14. <ul><li>Block vs. inline level elements </li></ul><ul><li>Most of the HTML elements are block or inline elements. What is the different between them? </li></ul><ul><li>Block : </li></ul><ul><li>Always begin on a new line. </li></ul><ul><li>Height, line-height and top and bottom margins can be </li></ul><ul><li>manipulated. </li></ul><ul><li>Width defaults to 100% of their containing element, </li></ul><ul><li>unless a width is specified. </li></ul><ul><li>Example &lt;div&gt;, &lt;p&gt;, &lt;h1&gt;, &lt;form&gt;, &lt;ul&gt; and &lt;li&gt; </li></ul><ul><li>Inline Elements : </li></ul><ul><li>Always begin on the same line. </li></ul><ul><li>Height, line-height and top and bottom margins can’t be </li></ul><ul><li>changed. </li></ul><ul><li>Width is as long as the text/image and can’t be </li></ul><ul><li>manipulated. </li></ul><ul><li>Example &lt;span&gt;, &lt;a&gt;, &lt;label&gt;, &lt;input&gt;, &lt;img&gt;, </li></ul><ul><li>&lt;strong&gt; and &lt;em&gt; </li></ul>
  • 15. CSS Min-Height Bug <ul><li>Some times we need to create some blocks with a small height for ex:- 2px. As it is necessary we will fix that to 2px it will take 2vpx height only in existed browsers .but in IE it will definitely take double value. </li></ul><ul><li>There are two simple solutions To fix this bug. </li></ul>v
  • 16. <ul><li>Fix 1 </li></ul><ul><li>IE will not take the small height rather than the font-size as we specify in the body tag or the main container div itself. If we fix font-size as “0” in the style attributes to that specified block you can keep the height for that as you like to keep. </li></ul><ul><li>Fix 2 </li></ul><ul><li>Simly keep “overflow-hidden” to the style attributes to that specified block. </li></ul>
  • 17. Layout Misbehaving <ul><li>One of the important concepts of building table-less layouts using CSS is floating elements. If we are keeping an unbreakable text in an fixed width block, the text will come outside exceeding the specified width in all the existed browsers. But in case in IE the fixed width block will prolong with the unbreakable text. </li></ul><ul><li>Firefox IE ( overflow:hidden ) </li></ul>
  • 18. <ul><li>Thank You </li></ul>

×