SlideShare a Scribd company logo
Welcome Web Designing BUGS
Topics What is a Bug? List of Browsers Deprecated Tags and Attributes Most Common Bugs
  What is a Bug?   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. 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.  Need to follow some web standard rules while converting a mockup into CSS. (validating)
List of Browsers What is a browser, and what browsers are available?  A browser is software that accesses and displays web pages. Commonly-used web browsers, in order of market-share. Firefox 2, 3 & 3.5 Internet Explorer 6,7 & 8 Safari 3.2 & 4.0 Chrome 2 and 3 Opera 9.6 and 10.0 Netscape Navigator 9.0
Deprecated Tags and Attributes 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.
Most Common Bugs Centering a Layout.  Floated Elements. Double Margin on Floated Elements.  CSS Min-Height Bug. Layout Misbehaving.
Centering a Layout. 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.
Centering a Layout. 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. margin:30px 0 0 30px;
Floated Elements  What is float and why we are using this? 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.  A floated list in standards compliant browsers.
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.   How Internet Explorer renders it.
Rules to Remember 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).  2. You must specify a  width  for all floated elements. (though the width can be relative, such as a percentage width)  3. If you need to have a content after a float that shouldn't run along side the float, use the  clear  property.
CLEAR 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're saying “ don't run this div , or  anything after it, along side our floated columns ” .
Double margins on floated elements  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.  Display : inline
Block vs. inline level elements  Most of the HTML elements are block or inline elements. What is the different between them? Block : Always begin on a new line.   Height, line-height and top and bottom margins can be  manipulated.  Width defaults to 100% of their containing element,  unless a width is specified.  Example <div>, <p>, <h1>, <form>, <ul> and <li> Inline Elements : Always begin on the same line.  Height, line-height and top and bottom margins can’t be  changed.  Width is as long as the text/image and can’t be  manipulated.  Example <span>, <a>, <label>, <input>, <img>,  <strong> and <em>
CSS Min-Height Bug 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.  There are two simple solutions To fix this bug. v
Fix 1 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. Fix 2 Simly keep  “overflow-hidden”  to the  style attributes to that specified block.
Layout Misbehaving 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. Firefox   IE ( overflow:hidden )
Thank You

More Related Content

PPTX
HTML CSS and Web Development
PPTX
HTML and blogging lesson 1
PDF
Divs and Links Styles
PPTX
HTML computing
PDF
Tips for creating a blog layout - Phoenix web design
PDF
Spencer Nash - Advanced Custom Fields
PPTX
Htmlcss1
HTML CSS and Web Development
HTML and blogging lesson 1
Divs and Links Styles
HTML computing
Tips for creating a blog layout - Phoenix web design
Spencer Nash - Advanced Custom Fields
Htmlcss1

What's hot (20)

KEY
Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
ODP
Worry free web development
PDF
Designing and Developing Windowed Interfaces for Web Apps
PDF
HTML+CSS: how to get started
PPTX
HTML Lesson 1
PDF
Packages
PDF
Best practice for magento theming by shrikant vaghela
PPTX
Html images syntax
PPTX
Xhtml Css Presentation
PPT
Techtalk
PDF
Getting to Grips with Firebug
PPTX
Getting into WordPress Front-end Development
PDF
Going native with html5 web components
PDF
Le Wagon - UI components design
PPTX
HTML Lesson 2
PPT
Visual Rhetoric March 21st, 2013
PPT
2.1 adding images
PPT
How to use a Template in Dreamweaver CS3
PPTX
HTML to FTP
ODP
Accessible Websites With Lotus Notes/Domino, presented at the BLUG day event,...
Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
Worry free web development
Designing and Developing Windowed Interfaces for Web Apps
HTML+CSS: how to get started
HTML Lesson 1
Packages
Best practice for magento theming by shrikant vaghela
Html images syntax
Xhtml Css Presentation
Techtalk
Getting to Grips with Firebug
Getting into WordPress Front-end Development
Going native with html5 web components
Le Wagon - UI components design
HTML Lesson 2
Visual Rhetoric March 21st, 2013
2.1 adding images
How to use a Template in Dreamweaver CS3
HTML to FTP
Accessible Websites With Lotus Notes/Domino, presented at the BLUG day event,...
Ad

Viewers also liked (20)

PPT
Capistrano Deployment By Nyros Developer
PPT
MVC Architecture in ASP.Net By Nyros Developer
PDF
Global Payment System- Reference Architecture
PPTX
Peter Afanasiev - Architecture of online Payments
PPTX
Payment Gateway
PPT
Payment Gateway
PPT
Payment Gateway
PPTX
Online Payment Gateway System
PDF
Untitled Presentation
PPTX
Dez tendências que podem mudar nosso futuro nos próximos anos
PPT
Orlando SFDC User Group 4/2009
PDF
Tramonex_Corporate Brochure (3)
PPTX
Kenali bentuk asas huruf
PDF
Bases concurso logo, fachada, pagina web
PDF
JBoye Presentation: WCM Trends for 2010
PDF
HR: Recht und Gesprächsführung; Multigenerationen Arbeitsplatz_final
PDF
Measuring the End User
PDF
Hidden cost of_a_failed_manager_infographic
DOC
ValeryBassenkoResume
PDF
ButacaSM
Capistrano Deployment By Nyros Developer
MVC Architecture in ASP.Net By Nyros Developer
Global Payment System- Reference Architecture
Peter Afanasiev - Architecture of online Payments
Payment Gateway
Payment Gateway
Payment Gateway
Online Payment Gateway System
Untitled Presentation
Dez tendências que podem mudar nosso futuro nos próximos anos
Orlando SFDC User Group 4/2009
Tramonex_Corporate Brochure (3)
Kenali bentuk asas huruf
Bases concurso logo, fachada, pagina web
JBoye Presentation: WCM Trends for 2010
HR: Recht und Gesprächsführung; Multigenerationen Arbeitsplatz_final
Measuring the End User
Hidden cost of_a_failed_manager_infographic
ValeryBassenkoResume
ButacaSM
Ad

Similar to Web Designing Bugs - Fixes By Nyros Developer (20)

PPT
Making Your Site Look Great in IE7
PPT
Advance Css
PPT
Advance Css 1194323118268797 5
PPTX
CSS Layout Tutorial
PPTX
Lecture-7.pptx
PDF
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
PPTX
Css, xhtml, javascript
PDF
Organize Your Website With Advanced CSS Tricks
PPT
Welcome to IE8 - Integrating Your Site With Internet Explorer 8
PPT
Page Layout 2010
PPT
Page Layout 2010
PPTX
Module 5-Positioning and Navigation(Chapters 5 & 6).pptx
PPTX
Presentation about html5 css3
DOCX
Basic CSS concepts by naveen kumar veligeti
ODP
Creating Web Sites with HTML and CSS
DOCX
ARTICULOENINGLES
PDF
Flex Web Development.pdf
PDF
Tfbyoweb.4.9.17
PDF
Tfbyoweb.4.9.17
PPTX
Making Your Site Look Great in IE7
Advance Css
Advance Css 1194323118268797 5
CSS Layout Tutorial
Lecture-7.pptx
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Css, xhtml, javascript
Organize Your Website With Advanced CSS Tricks
Welcome to IE8 - Integrating Your Site With Internet Explorer 8
Page Layout 2010
Page Layout 2010
Module 5-Positioning and Navigation(Chapters 5 & 6).pptx
Presentation about html5 css3
Basic CSS concepts by naveen kumar veligeti
Creating Web Sites with HTML and CSS
ARTICULOENINGLES
Flex Web Development.pdf
Tfbyoweb.4.9.17
Tfbyoweb.4.9.17

More from Nyros Technologies (20)

PPT
Silver Light By Nyros Developer
PPT
Web 2.0 Design Standards By Nyros Developer
PPT
Web 2.0 By Nyros Developer
PPT
Caching By Nyros Developer
PPT
Language Integrated Query By Nyros Developer
PPT
New Features in .Net Framework 4.0 By Nyros Developer
PPT
Oops in PHP By Nyros Developer
PPT
Connect with Facebook to Rails Application By Nyros Developer
PPT
Github By Nyros Developer
PPT
Research on Audio and Video Streaming
PPT
User Interface
PPT
Audio and Video Streaming
PPT
Deploying Rails Apps with Capistrano
PPT
Capistrano - Deployment Tool
PPT
Social Networking
PPT
GIT By Sivakrishna
PPT
Test Drive Development in Ruby On Rails
PPT
Biz Talk Server
Silver Light By Nyros Developer
Web 2.0 Design Standards By Nyros Developer
Web 2.0 By Nyros Developer
Caching By Nyros Developer
Language Integrated Query By Nyros Developer
New Features in .Net Framework 4.0 By Nyros Developer
Oops in PHP By Nyros Developer
Connect with Facebook to Rails Application By Nyros Developer
Github By Nyros Developer
Research on Audio and Video Streaming
User Interface
Audio and Video Streaming
Deploying Rails Apps with Capistrano
Capistrano - Deployment Tool
Social Networking
GIT By Sivakrishna
Test Drive Development in Ruby On Rails
Biz Talk Server

Web Designing Bugs - Fixes By Nyros Developer

  • 2. Topics What is a Bug? List of Browsers Deprecated Tags and Attributes Most Common Bugs
  • 3. What is a Bug? 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. 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. Need to follow some web standard rules while converting a mockup into CSS. (validating)
  • 4. List of Browsers What is a browser, and what browsers are available? A browser is software that accesses and displays web pages. Commonly-used web browsers, in order of market-share. Firefox 2, 3 & 3.5 Internet Explorer 6,7 & 8 Safari 3.2 & 4.0 Chrome 2 and 3 Opera 9.6 and 10.0 Netscape Navigator 9.0
  • 5. Deprecated Tags and Attributes 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.
  • 6. Most Common Bugs Centering a Layout. Floated Elements. Double Margin on Floated Elements. CSS Min-Height Bug. Layout Misbehaving.
  • 7. Centering a Layout. 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.
  • 8. Centering a Layout. 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. margin:30px 0 0 30px;
  • 9. Floated Elements What is float and why we are using this? 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. A floated list in standards compliant browsers.
  • 10. 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. How Internet Explorer renders it.
  • 11. Rules to Remember 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). 2. You must specify a width for all floated elements. (though the width can be relative, such as a percentage width) 3. If you need to have a content after a float that shouldn't run along side the float, use the clear property.
  • 12. CLEAR 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're saying “ don't run this div , or anything after it, along side our floated columns ” .
  • 13. Double margins on floated elements 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. Display : inline
  • 14. Block vs. inline level elements Most of the HTML elements are block or inline elements. What is the different between them? Block : Always begin on a new line. Height, line-height and top and bottom margins can be manipulated. Width defaults to 100% of their containing element, unless a width is specified. Example <div>, <p>, <h1>, <form>, <ul> and <li> Inline Elements : Always begin on the same line. Height, line-height and top and bottom margins can’t be changed. Width is as long as the text/image and can’t be manipulated. Example <span>, <a>, <label>, <input>, <img>, <strong> and <em>
  • 15. CSS Min-Height Bug 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. There are two simple solutions To fix this bug. v
  • 16. Fix 1 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. Fix 2 Simly keep “overflow-hidden” to the style attributes to that specified block.
  • 17. Layout Misbehaving 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. Firefox IE ( overflow:hidden )