Wrox Programmer Forums
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 12th, 2004, 02:51 AM
cat cat is offline
Authorized User
 
Join Date: Jul 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default refuses to centre a graphic

hi all,

i've run into problems with what i thought would be a simple matter

as you can see here, my right graphics are not centered.

http://www.katzidesign.com/katz/about/index4.htm

here's the css -->> http://www.katzidesign.com/katz/wide.css

so, has anyone run into this before?

c
 
Old October 12th, 2004, 03:26 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I found a typo in your stylesheet, which may or may not have something to do with the problem.

* hack to fix IE/Win's broken rendering of block-level anchors in lists */

/* hack to fix IE/Win's broken rendering of block-level anchors in lists */

HTH,

-Snib <><
Try new FreshView 0.2!
There are only two stupid questions: the one you don't ask, and the one you ask more than once ;)
 
Old October 12th, 2004, 06:28 PM
cat cat is offline
Authorized User
 
Join Date: Jul 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

dang, had to edit that 'yahhhh hoooo! you are a god!'

to the below :-(

i opened the wrong file. i've jerry rigged up a file, asÊÊyou can see here -->> http://www.katzidesign.com/katz/about/

but that's not supposed to be good css practice

dang dang dang

the one that's still broke is here -->> http://www.katzidesign.com/katz/about/index4.htm

pooh

cat
 
Old October 13th, 2004, 09:45 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Just wanted to let you know that there are a few tools that help you find typos such as these.

The first is built directly into the latest Firefox browser, select Tools -> JavaScript Console, this window shows Javascript *and* CSS errors (I'm pretty sure the CSS error reporting feature started in FF 1.0PR).

Another place to go is the W3C CSS validator, http://jigsaw.w3.org/css-validator/

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
 
Old November 1st, 2004, 04:30 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default

I have Firefox as well and I've used the Javascript Console once already. Very good tool for finding errors in your Javsscript code.;) I've never heard of the CSS error reporting. Guess I'll have to check that out.

Ben Horne
-------------------------
I don't want to sound like I haven't made any mistakes. I'm confident I have.

Welcome to the New Age
 
Old November 6th, 2004, 10:54 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

The CSS error reporting feature is very handy. If it isn't in FF 1.0 PR, then it was in Mozilla 1.8 alpha 4 that I used it.

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail





Similar Threads
Thread Thread Starter Forum Replies Last Post
Contact Centre Softwares carollinamosbah Flash (all versions) 0 June 25th, 2008 07:36 AM
How centre a form for printin using Print Form VBProg VB.NET 2002/2003 Basics 0 October 23rd, 2006 03:12 PM
Graphic Validation chemi J2EE 0 January 3rd, 2006 01:00 PM
DIV - Centre Positioning Prob socoolbrewster CSS Cascading Style Sheets 3 June 5th, 2005 09:23 AM
How to interpret a graphic ? faridahhani BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 June 19th, 2003 04:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.