style sheets

Unknown W. Brackets unknown at simplemachines.org
Sun Jun 4 15:19:34 PDT 2006


My suggestions:

This won't affect anything, but you are using HTML 4, but your head 
element's children are all closed in the XHTML manner.  Just search and 
replace " />" with ">".

I've made a diff with suggested changes.  These make it look better, in 
my opinion, on Internet Explorer and Firefox.  I will check it on Safari 
shortly, and possibly offer additional suggestions.

Most important is setting the default margin back to 0 for the form tag, 
fixing your immediate concern, and placing padding and such styles in 
the right place for ditsy IE.

Hope that helps,
-[Unknown]


> I took out the:
> 
>     height=0;
> 
> lines in www.digitalmars.com/d/style.css, so it works in mozilla, but 
> now it doesn't look right in Explorer (excessive vertical spacing).
> Also, the tabs on the upper right are one pixel too low in mozilla.
> 
> Anyone know how to write a style sheet that will work in both?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: style.css.diff
Url: http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20060604/a9dbcd24/attachment.txt 


More information about the Digitalmars-d-announce mailing list