Val Sharp a dit : > Christian Biesinger wrote: > <...> > > > > However, this is only the case for pages using the strict mode. It > > works for others, so a doctype like this can be used and the stylesheet > > will work: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 > > Transitional//EN"> (I hope I remember correctly...( > > > > > Then we have another problem because, for example, page > <http://members.netscapeonline.co.uk/valeriegsharp/> has the following > DOCTYPE: > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > >
I think that this is because of your XHTML syntax, try the following DTD : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> Pascal