Hi all,
Here you ll find a draft design with two (header and text img) images.
The space between header picture and text img is around 5px with Firefox while it is 0 with IE. Does anyone know the answer of that question why that difference is?
img{display:block}
img{display:block}
wow, I just asked my
wow, I just asked my question and answer came so fast...
I appreciate that Hugo. Thanks for the answer.
Not a problem,
Not a problem, vertical-align:bottom would also have done the trick.
In the Doctype article,
In the Doctype article, there is a section that lists several different doctypes. How would one know which to use? Or do we actually use all of them? And it goes on every page, right?
from article:
DOCTYPES THAT WORK
So what DOCTYPEs should we use? Glad you asked. The following complete DOCTYPEs are the ones we need:
HTML 4.01 Strict, Transitional, Frameset
XHTML 1.0 Strict, Transitional, Frameset
XHTML 1.1 DTD
There are only two choices
There are only two choices for coding new pages, that is pages that are not being transitioned from old tag soup style code towards a semblance of standards, both of which use the 'Strict' definition.
You may choose to use either HTML 4.01 or XHTML 1.0 either is perfectly valid, select one or the other then ensure that it appears once on each and every page at the very start of the file.
Of course I omit mention of 'Frameset' but then that has had it's day!
Hugo.