SlideShare ist ein Scribd-Unternehmen logo
1 von 39
18 CSS Exercises MMC 4341 University of Florida
The next 36 slides show  the first CSS exercise by students  in an advanced Web design course.  In each pair, the first slide shows the page  in Firefox 1.5 and the second shows  the same page in IE 6.  All screenshots were taken  from Windows XP on a monitor  at 1024 x 768. The browser windows  were maximized.  The full screen was captured.
Firefox 1.5
IE 6 – Page is virtually identical in both browsers.
Firefox 1.5
IE 6 – Note scrollbars both at bottom and at right. Design is too large for 1024 x 768. This is probably a matter of margins or padding or both.
Firefox 1.5 – Text butts up against photo on the left edge
IE 6 – Note how the position of both the body text and the footer text changes between the two browsers.
Firefox 1.5
IE 6 – Note the bottom scrollbar – this is too wide for 1024 x 768.
Firefox 1.5 – Design is not centered, but that’s okay for this assignment.
IE 6 – Note how the top and left margins are slightly different in IE and in Firefox. This is a characteristic of the browsers. You should always specify { margin: 0; } for the body in your CSS.
Firefox 1.5
IE 6 – Notice different LINK color (bottom left) and also different margin above the heading. These were not spec’d (in the CSS) to make them match in the two browsers. They should have been.
Firefox 1.5
IE 6 – A perfect match in both browsers.
Firefox 1.5 – Some inappropriate touching can be seen where the corners of the text hits up on the image.
IE 6 – An almost perfect match in both browsers. In IE, the touching is less severe.
Firefox 1.5 – Justified text is bad, bad, bad. Never use { text-align: justify; } in your CSS!
IE 6 – The design was centered in Firefox, but notice that here, it is not. It is stuck to the left-hand edge of the window.
Firefox 1.5 – The lines of the body text are too long for good legibility.
IE 6 – In Firefox, this design was centered vertically. But here, it sticks to the top edge instead.
Firefox 1.5 – Note scrollbar at right. Too tall for 1024 x 768.
IE 6 – Same height problem here, but the design is almost exactly the same in both browsers (good).
Firefox 1.5 -- Too tall for 1024 x 768. We cannot read the footer unless we scroll.
IE 6 – Same problem (too tall).
Firefox 1.5
IE 6 – Slightly different (probably an issue with margins or padding) but nothing to worry about.
Firefox 1.5
IE 6 – Notice how the body text is in a completely different place here. There is no margin between the right-hand edge of the text and the left edge of the picture. This CSS needs some work.
Firefox 1.5
IE 6 – There are two minor differences between the two browsers. (1) Color of LINK text. (2) Vertical position of the attribution (below the body text).
Firefox 1.5
IE 6 – Uh-oh, big problem here. Probably related to the widths, margins and padding of the two DIVs.
Firefox 1.5 – No “h” in Gettysburg.
IE 6 – This is a perfect match except for a slight variation in the vertical position of both picture and text – but that is quite insignificant.
Firefox 1.5
IE 6 – Notice the two white corners peeking out below the comic balloon. Another reason to test in both browsers – always! Also note the bottom scrollbar – this is too wide for 1024 x 768.
18 CSS Exercises MMC 4341 University of Florida

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
vikasgaur31
 

Was ist angesagt? (20)

Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation
 
CSS
CSSCSS
CSS
 
Html
HtmlHtml
Html
 
Css lists
Css listsCss lists
Css lists
 
Lecture 1 intro to web designing
Lecture 1  intro to web designingLecture 1  intro to web designing
Lecture 1 intro to web designing
 
Html
HtmlHtml
Html
 
Html ppt
Html pptHtml ppt
Html ppt
 
1. flutter introduccion v2
1.  flutter introduccion v21.  flutter introduccion v2
1. flutter introduccion v2
 
HTML5 & CSS3
HTML5 & CSS3 HTML5 & CSS3
HTML5 & CSS3
 
Web design and development trends
Web design and development  trendsWeb design and development  trends
Web design and development trends
 
HTML CSS JS in Nut shell
HTML  CSS JS in Nut shellHTML  CSS JS in Nut shell
HTML CSS JS in Nut shell
 
Best PHP Frameworks
Best PHP FrameworksBest PHP Frameworks
Best PHP Frameworks
 
Introduction to flutter's basic concepts
Introduction to flutter's basic conceptsIntroduction to flutter's basic concepts
Introduction to flutter's basic concepts
 
Practical file on web technology(html)
Practical file on web technology(html)Practical file on web technology(html)
Practical file on web technology(html)
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Syntax analysis
Syntax analysisSyntax analysis
Syntax analysis
 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopHtml & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshop
 
HTML Tags
HTML TagsHTML Tags
HTML Tags
 
HTML5 &CSS: Chapter 08
HTML5 &CSS: Chapter 08HTML5 &CSS: Chapter 08
HTML5 &CSS: Chapter 08
 
How To be a Backend developer
How To be a Backend developer    How To be a Backend developer
How To be a Backend developer
 

Ähnlich wie CSS Exercise 1: 18 Examples

Progressive Enhancement & Intentional Degradation 2
Progressive Enhancement & Intentional Degradation 2Progressive Enhancement & Intentional Degradation 2
Progressive Enhancement & Intentional Degradation 2
elliotjaystocks
 
Modern Browser Support
Modern Browser SupportModern Browser Support
Modern Browser Support
Mark Meeker
 

Ähnlich wie CSS Exercise 1: 18 Examples (12)

Responsive web design: WordUp Pompey! Feb-2012
Responsive web design: WordUp Pompey!  Feb-2012Responsive web design: WordUp Pompey!  Feb-2012
Responsive web design: WordUp Pompey! Feb-2012
 
Web design for right-to-left languages
Web design for right-to-left languagesWeb design for right-to-left languages
Web design for right-to-left languages
 
Cross Browser Issues - few solutions inspired by smashing magazine
Cross Browser Issues - few solutions inspired by smashing magazineCross Browser Issues - few solutions inspired by smashing magazine
Cross Browser Issues - few solutions inspired by smashing magazine
 
Design Fast Websites
Design Fast WebsitesDesign Fast Websites
Design Fast Websites
 
The Fast And The Fabulous
The Fast And The FabulousThe Fast And The Fabulous
The Fast And The Fabulous
 
Make your first webpage
Make your first webpageMake your first webpage
Make your first webpage
 
Progressive Enhancement & Intentional Degradation 2
Progressive Enhancement & Intentional Degradation 2Progressive Enhancement & Intentional Degradation 2
Progressive Enhancement & Intentional Degradation 2
 
Stc 2015 preparing legacy projects for responsive design - technical issues
Stc 2015   preparing legacy projects for responsive design - technical issuesStc 2015   preparing legacy projects for responsive design - technical issues
Stc 2015 preparing legacy projects for responsive design - technical issues
 
Fewd week3 slides
Fewd week3 slidesFewd week3 slides
Fewd week3 slides
 
Web Designer Gurugram |Web Designer in Gurugram
Web Designer Gurugram |Web Designer in GurugramWeb Designer Gurugram |Web Designer in Gurugram
Web Designer Gurugram |Web Designer in Gurugram
 
It's Business Time: The Graceful Degradation of CSS3
It's Business Time: The Graceful Degradation of CSS3It's Business Time: The Graceful Degradation of CSS3
It's Business Time: The Graceful Degradation of CSS3
 
Modern Browser Support
Modern Browser SupportModern Browser Support
Modern Browser Support
 

Mehr von Mindy McAdams

Mehr von Mindy McAdams (20)

Just Enough Code
Just Enough CodeJust Enough Code
Just Enough Code
 
Multimedia Journalism Innovations in the Classroom
Multimedia Journalism Innovations in the ClassroomMultimedia Journalism Innovations in the Classroom
Multimedia Journalism Innovations in the Classroom
 
Summary of journalism faculty curriculum workshop
Summary of journalism faculty curriculum workshopSummary of journalism faculty curriculum workshop
Summary of journalism faculty curriculum workshop
 
Crowdsourcing
CrowdsourcingCrowdsourcing
Crowdsourcing
 
U.S. j-schools and digital skills
U.S. j-schools and digital skills U.S. j-schools and digital skills
U.S. j-schools and digital skills
 
New skill sets for journalism
New skill sets for journalismNew skill sets for journalism
New skill sets for journalism
 
Journalism blogs: An introduction
Journalism blogs: An introduction Journalism blogs: An introduction
Journalism blogs: An introduction
 
Why Your Newsroom Should Be Using WordPress - ONA13
Why Your Newsroom Should Be Using WordPress - ONA13Why Your Newsroom Should Be Using WordPress - ONA13
Why Your Newsroom Should Be Using WordPress - ONA13
 
Journalism's Future: Journalism, Not Newspapers
Journalism's Future: Journalism, Not NewspapersJournalism's Future: Journalism, Not Newspapers
Journalism's Future: Journalism, Not Newspapers
 
Introduction to HTML5 Canvas
Introduction to HTML5 CanvasIntroduction to HTML5 Canvas
Introduction to HTML5 Canvas
 
Beginning jQuery
Beginning jQueryBeginning jQuery
Beginning jQuery
 
An Introduction to the DOM
An Introduction to the DOMAn Introduction to the DOM
An Introduction to the DOM
 
JavaScript 101
JavaScript 101JavaScript 101
JavaScript 101
 
HTML and Responsive Design
HTML and Responsive Design HTML and Responsive Design
HTML and Responsive Design
 
Design Concepts and Web Design
Design Concepts and Web DesignDesign Concepts and Web Design
Design Concepts and Web Design
 
Learning Python - Week 4
Learning Python - Week 4 Learning Python - Week 4
Learning Python - Week 4
 
Learning Python - Week 2
Learning Python - Week 2Learning Python - Week 2
Learning Python - Week 2
 
Learning Python - Week 1
Learning Python - Week 1Learning Python - Week 1
Learning Python - Week 1
 
Learning Python
Learning PythonLearning Python
Learning Python
 
Freedom of Speech - Louis Brandeis
Freedom of Speech - Louis BrandeisFreedom of Speech - Louis Brandeis
Freedom of Speech - Louis Brandeis
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

CSS Exercise 1: 18 Examples

  • 1. 18 CSS Exercises MMC 4341 University of Florida
  • 2. The next 36 slides show the first CSS exercise by students in an advanced Web design course. In each pair, the first slide shows the page in Firefox 1.5 and the second shows the same page in IE 6. All screenshots were taken from Windows XP on a monitor at 1024 x 768. The browser windows were maximized. The full screen was captured.
  • 4. IE 6 – Page is virtually identical in both browsers.
  • 6. IE 6 – Note scrollbars both at bottom and at right. Design is too large for 1024 x 768. This is probably a matter of margins or padding or both.
  • 7. Firefox 1.5 – Text butts up against photo on the left edge
  • 8. IE 6 – Note how the position of both the body text and the footer text changes between the two browsers.
  • 10. IE 6 – Note the bottom scrollbar – this is too wide for 1024 x 768.
  • 11. Firefox 1.5 – Design is not centered, but that’s okay for this assignment.
  • 12. IE 6 – Note how the top and left margins are slightly different in IE and in Firefox. This is a characteristic of the browsers. You should always specify { margin: 0; } for the body in your CSS.
  • 14. IE 6 – Notice different LINK color (bottom left) and also different margin above the heading. These were not spec’d (in the CSS) to make them match in the two browsers. They should have been.
  • 16. IE 6 – A perfect match in both browsers.
  • 17. Firefox 1.5 – Some inappropriate touching can be seen where the corners of the text hits up on the image.
  • 18. IE 6 – An almost perfect match in both browsers. In IE, the touching is less severe.
  • 19. Firefox 1.5 – Justified text is bad, bad, bad. Never use { text-align: justify; } in your CSS!
  • 20. IE 6 – The design was centered in Firefox, but notice that here, it is not. It is stuck to the left-hand edge of the window.
  • 21. Firefox 1.5 – The lines of the body text are too long for good legibility.
  • 22. IE 6 – In Firefox, this design was centered vertically. But here, it sticks to the top edge instead.
  • 23. Firefox 1.5 – Note scrollbar at right. Too tall for 1024 x 768.
  • 24. IE 6 – Same height problem here, but the design is almost exactly the same in both browsers (good).
  • 25. Firefox 1.5 -- Too tall for 1024 x 768. We cannot read the footer unless we scroll.
  • 26. IE 6 – Same problem (too tall).
  • 28. IE 6 – Slightly different (probably an issue with margins or padding) but nothing to worry about.
  • 30. IE 6 – Notice how the body text is in a completely different place here. There is no margin between the right-hand edge of the text and the left edge of the picture. This CSS needs some work.
  • 32. IE 6 – There are two minor differences between the two browsers. (1) Color of LINK text. (2) Vertical position of the attribution (below the body text).
  • 34. IE 6 – Uh-oh, big problem here. Probably related to the widths, margins and padding of the two DIVs.
  • 35. Firefox 1.5 – No “h” in Gettysburg.
  • 36. IE 6 – This is a perfect match except for a slight variation in the vertical position of both picture and text – but that is quite insignificant.
  • 38. IE 6 – Notice the two white corners peeking out below the comic balloon. Another reason to test in both browsers – always! Also note the bottom scrollbar – this is too wide for 1024 x 768.
  • 39. 18 CSS Exercises MMC 4341 University of Florida