Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3
This is the forum to discuss the Wrox book Beginning CSS: Cascading Style Sheets for Web Design by Richard York; ISBN: 9780764576423
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 6th, 2005, 12:31 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Fairfield, Iowa, USA.
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default Final JT's dinner menu.

Richard, is there any reason why the website will not display correctly on opera 7.5? The menu gets weirdly displayed on IE, but my guess is that happens because of the bad css support of IE, but I thought opera had a pretty good CSS support.


Thanks
Christian(My head is spinning with all the CSS)

Christian
__________________
Christian
  #2 (permalink)  
Old April 6th, 2005, 07:11 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

IE gets fixed in Chapter 18. It ought to display fine in Opera, though the menus are a little buggy. I never figured out how to get around the buggy dropdowns in Opera. I know that it is possible to get around, because I've seen stable menus in that browser.

Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
  #3 (permalink)  
Old April 6th, 2005, 07:24 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

The real JT's site, BTW, at http://www.chokoloskee-island.com contains bug fixes that I've done since I did the book. You might be interested in comparing the site there with what's in the book. I worked quite a bit to optimize the "IE7" javascripts so that they're hardly noticeable. Still pretty good considering all the advanced CSS I'm using in a browser that doesn't support most of it natively.

I've also learned more since even then, but haven't yet gotten around to updating the site. The IE7 library works exponentally faster when ambiguous selectors are avoided (for instance the * universal selector, the more specific the selector, the better).

Also those problems with the background in IE could also be solved by removing any cascading. In other words, because I specify a background image for the same element more than once and take advantage of the cascade to choose the right one to display, it makes it way buggier in IE.

Another thing that I discovered since the book was published is the KHTML browsers don't display really small em measurements, like 0.05. For that I decided to switch to pixels instead for really small measurements, which is fine because I could still use ems for everything else.

In a perfect world I'd have had time to extensively test this example in all those browsers and discover all of this before publishing. But given I had to explain everything I was doing as I was doing it, and had only six months to write 600 pages, it left me with a less than perfect example.

Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
  #4 (permalink)  
Old April 6th, 2005, 05:00 PM
Friend of Wrox
 
Join Date: Jun 2004
Location: Fairfield, Iowa, USA.
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Richard, I didn't mean to criticize your work. I think u have done a fantastic job. I love the book.

Christian
  #5 (permalink)  
Old April 6th, 2005, 06:40 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

I didn't think you were criticizing ;).

Which menu example are you running, BTW?

Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
  #6 (permalink)  
Old April 6th, 2005, 07:20 PM
Friend of Wrox
 
Join Date: Jun 2004
Location: Fairfield, Iowa, USA.
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have been following the TJ site allong the chapters, I even decided to type all the code, because after every single change I will try to find the reason for that change,at the end it looked awsome on FF, but then I wanted to see how it would look on IE(since by now I know IE has a reall y badd CSS support) and in Opera. I then took a look at chapter14 try-it-out example 14-4 and the output was exactly the same. I decided to not keep reading until I completely understand(and can anticipate the result of using)position.



Christian
  #7 (permalink)  
Old April 7th, 2005, 09:20 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Ok, well in Chapter 14 you can see the final result in Gecko browsers.

I'm looking at it in Opera 8 Beta, and it looks pretty darn close. The same as what I saw several months ago in Opera 7.54. The menus are still buggy but they are usable in Opera 8. No rounded corners, of course. The fixed positioning is buggy at best, and the bottom of the logo doesn't line up with the bottom of the navigation menus.

Those are things I would tweak with a server-side browser-sniffing script like PHP.

In IE the navigation is a mess. That's why I did a whole Chapter on IE, and even that wasn't really enough. It has so many bugs and so many different ways of approaching them. At the same time, however, IE at least provides many work-arounds for that lack of support. It's scripting engine combined with various proprietary features make it possible to use CSS it doesn't yet understand. So, just put IE aside for now till you get to Chapter 18.



Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyword final Leville Java Basics 4 September 19th, 2008 09:35 PM
XML final output sanek55555 XSLT 8 November 2nd, 2006 04:12 AM
Blank Final Consigliori Java Basics 1 September 27th, 2006 09:25 AM
Blank Final Consigliori Java GUI 0 September 7th, 2006 01:57 PM
Difference between static and final ravikumar681 J2EE 2 June 24th, 2004 07:54 AM



All times are GMT -4. The time now is 06:29 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.