|
Posted by Jukka K. Korpela on 09/16/07 06:26
Scripsit dorayme:
>> Is it possible to see how a front-end (the web-page) would look like,
>> if you have just the .css files and no .html files.
>
> Can you have a smile without a face?
I remember having read a book where a cat's smile appears without a cat.
> CSS sheets are instructions for styling things. They are like
> giant conditional statements, if there is a paragraph <p>, then
> indent it thus, font it thus and so on. If there is no <p>, then
> the status of the consequent does not arise.
Yes, but if you just have a style sheet, you could use a _generic_ HTML
document to see how it gets formatted, such as
http://www.cs.tut.fi/~jkorpela/www/testel.html
It won't tell you everything, since it won't e.g. reveal how a <p> element
gets rendered when it appears inside <div class="foo">, which might be
something special if the style sheet contains a rule like div.foo p {
font-size: 6px; }.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|