Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

strange but true

Status
Not open for further replies.

jez

Programmer
Apr 24, 2001
370
VN
Hi there everybody,

I like to use CSS most of the time, and at the moment i am doing some 'mock-up' pages of a design for the company i am working for.....

I created a new page from one of the ones i had already done and added my content etc (built the page).

I copied and pasted the CSS for the other pages into the head section and my page wouldnt render, atall, not a sausage!

So, i removed the css styles and page rendered.
So i added each style declaration one by one, and it worked!
The only error i could find was that Arial was spelt wrong as the second font of a 3 font declaration e.g. Verdana,Aeriel, Helvetica

The page now works, but it has left me wondering just what was the cause, as it shouldnt simply be the spelling, should it?

This just for interest, but any ideas anyone.


Thanks

JEz



 
In theory it shouldn't effect it. The browser should just look for a font called Aeriel not find it and move on to helvetica BUT nothing surprises me anymore. Were you viewing the page in Netscape? it seems to be slightly less forgiving than the IE

MrBelfry
 
No, it was IE.

Initially it was homesite that wouldnt preview it, then i tried in IE and it didnt work, then in opera and netscape 7 too.

I can only guess that there is a lot going on that page, e.g. nested tables and things, and i bad style threw it for some reason. - a lesson really that although HTML is THE most forgiving code EVER, it can still go wrong if you 're not careful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top