Board index PBase HTML and Style Sheets Eliminating redundant CSS classes

HTML and Style Sheets

Eliminating redundant CSS classes

Customize your galleries.
arjunrc
 
Posts: 1003

Eliminating redundant CSS classes

Post Tue Apr 27, 2004 8:58 pm


Greetings, quick questions:

Can anyone tell me whats the use of the following CSS classes:

".lid", ".sb", "input"

I did not see any changes when I removed those but maybe I missed something. I want to remove any classes that are not used in the HTML space.

On doing a search in the forums, the only time I saw them was when someone was dumping their CSS code.

regds
arjun

ilanphoto
 
Posts: 876


Post Wed Apr 28, 2004 6:16 am


I asked a similar question some time ago were I gave a long list of classes from CSS that I had no idea what they do. I did not get many answers but from the theory I know that Slug could use one of these classes in the future so they should be defined in a block definition
the thread is http://forum.pbase.com/viewtopic.php?t=2432&highlight=

if you could help fill out the list I believe we will all benefit

Regards
Ilan

arjunrc
 
Posts: 1003

A visual answer (large images)

Post Wed Apr 28, 2004 3:17 pm


Hi Ilan, I read through your previous thread. Webdev had given the right answer in terms of most of the tags are HTML/CSS tags and one may do a View->source and see how various classes affect different parts.

To aid you, Ive taken a snapshot of my thumbnails page and my image page and marked in red the classes that control relevant parts.

The list is not complete - it only lists the classes that I consider important. With respect to what more generic classes like 'div' etc do, its best to read any HTML guide.

Hope this helps:

(Recent Edit: Removed embedded pictures and provided links so that you can see the latest updated pictures)

Thumbnail pages and related classes: (broken into two images,
top part and bottom part, to save space)


http://www.pbase.com/image/28405774/original

Image pages and related classes:

http://www.pbase.com/image/28405762/original

regds
arjun[/b]
Last edited by arjunrc on Sat May 01, 2004 1:20 pm, edited 1 time in total.

ilanphoto
 
Posts: 876


Post Wed Apr 28, 2004 5:38 pm


WOW thanks

some of this I worked out with a lot of trial and error but this is really a wonderful guide
I will ask srijith to add this to his FAQ

Thanks
Ilan

srijith
Moderator
 
Posts: 2321
Location: Amsterdam


Post Thu Apr 29, 2004 12:39 am


Arjun, can I directly link to this from the FAQ? Ofcourse all your copyright notices will remain and I will mention that it is your effort.

arjunrc
 
Posts: 1003


Post Thu Apr 29, 2004 1:31 am


srijith - sure, no problem.
regds
arjun


Board index PBase HTML and Style Sheets Eliminating redundant CSS classes

Who is online

Users browsing this forum: ClaudeBot and 0 guests