Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Presentation...

by holygrail (Scribe)
on Jun 27, 2001 at 16:12 UTC ( [id://91887]=note: print w/replies, xml ) Need Help??


in reply to Presentation...

I voted -- on this. I don't like the idea. Please keep all HTML as basic as possible. No class definition pleeeeeaaaase!

--HolyGrail

Replies are listed 'Best First'.
Re: Re: Presentation...
by RatArsed (Monk) on Jun 27, 2001 at 16:49 UTC
    I'd disagree heavilly with you on that -- the goal of CSS is to move presntational elements out of HTML, moving it back into line with it's goal for being a more structural markup -- it'd also significantly lower the amout of load as the styling information (w|c)ould be separated out into a separate file.

    Therefore using CSS with HTML actually makes the HTML simpler

    --
    RatArsed

      This is fine in principle, but maintain backwards compatibility. The use of CSS in a way which is not Netscape 4 compatible is not acceptable.
        Most of the basic stuff (like background colours, font-families, etc) is pretty well supported from my experience -- certainly all the current styling could be done with CSS to support NS4+, IE3+, Opera and Gecko based browsers.

        Of course, once the classes are in there, if users want to override this and use some of the more obscure constructs to change the general appearance. It'd also mean that I could fix my current alignment problem :)

        By the way, I believe the alignment issue to be due to IE6 inheriting styles from parent nodes correctly - a bug in previous versions meant it didn't do this -- either that or it's being dumb(er than normal)...

        --
        RatArsed

      Oh, and it'd make the site printer friendly with minor additions to the CSS (which non supporting browsers would just ignore) -- it's always nice for print friendly versions...

      --
      RatArsed

Re: Re: Presentation...
by rob_au (Abbot) on Jun 27, 2001 at 16:18 UTC
    While I agree entirely with your sentiments for code simplication, the introduction of classes would allow for much more flexibility in layout and consistently throughout styles and layout of the site, IMHO - Although I must admit I don't use CSS or class definitions in my HTML code either.
     
    Although I don't think RatArsed was entirely clear about exactly what he wanted to achieve, I think that the nodes which I pointed out in my post should offer an acceptible alternative with the application of style sheets independent to the Perl Monks site - This I feel is an acceptable solution allow for HTML purity and stylised eye-candy :)
     
    Cheers
     

     
    Ooohhh, Rob no beer function well without!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-18 07:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found