Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

CSS-question / lines

My question is not really CD related. I have included weather reports, which includes some very thin lines, but within CD they become very thick.

When i make a direct Preview of that box with the weather report all looks fine (no template, no css), same in Frontpage), but when i review the whole site the lines are thick again.

Does somebody a hint for me?

This ist the direct link without using my portal site:

http://home.arcor.de/guersch

Thanks for your help in advance.
Martin

Martin Gürsch
Tuesday, August 31, 2004

Can you provide more information?  I went out to your site and found two links to CSS Stylesheets--could that account for the difference?

David Burch
Tuesday, August 31, 2004

David,

thanks for looking.

The Prosimii Template is working with about 3 Stylesheets.
One for printing, one for pages with a menu on the left and nothing on the right side and one for pages with a right column for news and additional information.

There must be something elsewhere what defines the lines so thick.

Martin Gürsch
Tuesday, August 31, 2004

Martin,

It has to be something in the CSS.  Take out the links to the stylesheets and the other style tag in the head and the lines are gone, so CSS is handling all the line information as far as I can see.

David Burch
Tuesday, August 31, 2004

Okay, I took out all the CSS and I finally see the thick lines you were talking about--I misunderstood your problem and thought you were talking about the line thickness of the boxes.

I don't understand this, but humor me and replace
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

with

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I don't know why, but the thick bars become thin lines when I take out your DOCTYPE definition.

David Burch
Tuesday, August 31, 2004

David,

thanks a lot. Your hint does it for me.

Now i have to take a great look to the differences between strict and transitional.

Martin

Martin Gürsch
Wednesday, September 01, 2004

I just ran the w3c xhml validator on this site.  There are dozens of problems.  The site looks nice to me, but often xhtml or html errors can cause weird problems with formatting, etc. 

Take a look at validation.  Its a good place to start whenever you feel you are ready to go live.  Then fix (or at least understand) all the problems.

It looks like going from html to xhtml caused lots of these errors.

joel goldstick
Tuesday, September 14, 2004

*  Recent Topics

*  Fog Creek Home