HighDots Forums  

efficiency?

Websites/HTML pages critique & reviews Discuss and review existing WWW material (alt.html.critique)


Discuss efficiency? in the Websites/HTML pages critique & reviews forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Terry Kimpling
 
Posts: n/a

Default efficiency? - 11-29-2004 , 09:09 PM






I just discovered this works (yes I know ;-). What I was wondering is
has anyone used this effectively? I see possibilities for a leaner,
more efficient css file. I also see the possibility of a bloated html -
before I waste too much time with this I thought I would ask what
experience the group has with this method.

css
..red {color: red;}
..big {font-size: 200%;}
..i {font-style: italic;}

html
<li class="i">bla</li>
<li class="big">bla</li>
<li class="red big i">bla</li> <!--This will have all 3 atributes-->

Sorry to those who consider this off topic - IMHO it is not *that* far
off the mark.
TIA
TK
http://www.wejuggle2.com
Still Having a Ball






Reply With Quote
  #2  
Old   
Neal
 
Posts: n/a

Default Re: efficiency? - 11-29-2004 , 09:37 PM






On Mon, 29 Nov 2004 20:09:21 -0600, Terry Kimpling <tknospa (AT) wejuggle2 (DOT) com>
wrote:

Quote:
I just discovered this works (yes I know ;-). What I was wondering is
has anyone used this effectively? I see possibilities for a leaner,
more efficient css file. I also see the possibility of a bloated html -
before I waste too much time with this I thought I would ask what
experience the group has with this method.
In principle - it's an effecive technique.

As you've executed it - it's no better, perhaps worse, than doing it the
old-fashioned way.

Why is the text large? Italic? Colored? Use class and id names which
reflect the semantic purpose of the style, not the effect.


Reply With Quote
  #3  
Old   
Terry Kimpling
 
Posts: n/a

Default Re: efficiency? - 11-30-2004 , 08:37 AM



Neal wrote:
Quote:
On Mon, 29 Nov 2004 20:09:21 -0600, Terry Kimpling
tknospa (AT) wejuggle2 (DOT) com> wrote:

I just discovered this works (yes I know ;-). What I was wondering is
has anyone used this effectively? I see possibilities for a leaner,
more efficient css file. I also see the possibility of a bloated html
- before I waste too much time with this I thought I would ask what
experience the group has with this method.


In principle - it's an effecive technique.

As you've executed it - it's no better, perhaps worse, than doing it the
old-fashioned way.

Why is the text large? Italic? Colored? Use class and id names which
reflect the semantic purpose of the style, not the effect.
Sorry, I was unclear (again) - I meant that as a very simple example of
the effect - not a full-blown copy.
<grin>Don't want to give away my secrets</grin>
Thanks for the info - I will play with it a bit.
TK
http://www.wejuggle2.com
Still Having a Ball







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.