[Webpro] RE: CSS Quirk or Newbie Coder?
Jason Van Pelt
jvanpelt at integralpro.com
Fri Jul 30 11:37:00 EDT 2004
Jeanne, try putting all of the code in the <div id="topnav".... into
one line. I think it's picking up whitespace in the code. I tried it
locally and it worked fine like that.
j.
-----Original Message-----
From: webpro-bounces at webdesign-list.com
[mailto:webpro-bounces at webdesign-list.com] On Behalf Of Jeanne
Sent: Thursday, July 29, 2004 7:19 PM
To: webpro at webdesign-list.com
Subject: [Webpro] RE: CSS Quirk or Newbie Coder?
Thanks, Jason, but the problem persists. :-/
I went to Strict 1.0 as well and cleaned up all the code with a
validator
(the only thing I'm missing are my alt tags which I'll later). Got rid
of
some font tags, too (so I need to reformat some text with css yet).
Any other ideas? Here's the files & it's that gap in the eagle I'm
trying to
get rid of IE6:
http://www.tech-ease.net/portfolio/record-eagle
http://www.tech-ease.net/portfolio/record-eagle/r-e.css
Thanks!
Jeanne Hubbard
Owner, Web Designer
Tech-Ease Computer Solutions
jeanne at tech-ease.net
www.tech-ease.net
> From: "Jason Van Pelt" <jvanpelt at integralpro.com>
> Subject: RE: [Webpro] CSS Quirk or Newbie Coder?
> Jeanne,
> Try giving topnav "line-height: 0;" and that should clear it up.
> The problem is the images (which are in-line elements) are
> aligned with
> the baseline. Imagine if you had some text in that div. The images
> would align with the bottom of the line of text, but there's the space
> below to allow for letters like y g p q with descenders.
> I would also recommend that you start using an xhtml strict
> doctype.
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> I personally found that it made things much more consistent across
> various browsers.
>
> j.vanpelt
------------------------------------------------------------------
send message to the list: mailto:webpro at webdesign-list.com
[WebPro] list info, subscribe, archive: http://webdesign-list.com/
There's also a FlashPro mailing list: http://flash-list.com/
cutting-edge sounds for flash: http://flash-sounds.com/
More information about the Webpro
mailing list