Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: (OT) CSS Codes

by JavaFan (Canon)
on Jun 07, 2009 at 12:06 UTC ( [id://769261]=note: print w/replies, xml ) Need Help??


in reply to (OT) CSS Codes

You mention HTML and CSS, but this site is about Perl. Beside the fact that HTML markup ought to be used for semantics1, and CSS for presentation (and hence, there's generally2 no translation from one to the other), what kind of answer do you expect here?

  1. Ought to. Nowadays, HTML documents are just collections of DIV and SPAN elements, completely unreadable without the stylesheet. A sad regression of the state of a dozen years ago.
  2. Generally I said. Don't bother mentioning the counter examples. I know about them, otherwise, I would have omit the word "generally".

Replies are listed 'Best First'.
Re^2: (OT) CSS Codes
by Cody Pendant (Prior) on Jun 07, 2009 at 23:31 UTC
    HTML markup ought to be used for semantics1, and CSS for presentation (and hence, there's generally2 no translation from one to the other)

    Something of a strange thing to say, and only makes sense if you ignore the entire history of HTML.

    HTML has a <font> element. For many years, in HTML 1, 2 and 3 it was used to set fonts. Now it's deprecated in HTML 4, but it still works and you can translate between the font tag and a CSS font declaration perfectly well.



    Nobody says perl looks like line-noise any more
    kids today don't know what line-noise IS ...
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://769261]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-19 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found