Board index PBase HTML and Style Sheets CSS - I have the problem which I can't solve

HTML and Style Sheets

CSS - I have the problem which I can't solve

Customize your galleries.
flemmingbo
 
Posts: 435
Location: Denmark, Copenhagen


Post Thu Feb 14, 2008 8:37 pm


Pbase is actually exceptional in the amount of control over the css that they offer us. Have a look at my pages, 100% customized (close anyway, there's a few things we can't control).

The fact that IE is the worst browser in the world with no regards for standards is not Pbase fault :D

Glad to help, no worries!

regards,

Flemming
Flemming Bo Jensen Photography
Gallery: http://www.pbase.com/flemmingbo
My photography blog: http://flemmingbo.wordpress.com

piotrstankiewicz
 
Posts: 466


Post Fri Feb 15, 2008 11:18 pm


flemmingbo wrote:Glad to help, no worries!

:)

piotrstankiewicz
 
Posts: 466


Post Sun Feb 17, 2008 3:12 pm


Btw, what is the difference between:

#inline_slideshow td

and

TD.thumbnail

Why sometimes we have first class name and then hmtl tag and sometimes first we have html tag then dot and then class name?

flemmingbo
 
Posts: 435
Location: Denmark, Copenhagen


Post Sat Feb 23, 2008 9:16 am


hi,

It can be confusing, helps if you're used to object programming and classes etc.

In your example the number sign # just means it is a DIV.

#inline_slideshow td means that ANY TD tag only within this DIV called #inline_slideshow are affected by this definition.

TD.thumbnail means that any TD definition in the html code with class=thumbnail will get affected by this definition.

This also means that a single TD tag can be controlled by many different bits of definitions in the CSS.

hope this helped a bit,

regards,

Flemming
Flemming Bo Jensen Photography
Gallery: http://www.pbase.com/flemmingbo
My photography blog: http://flemmingbo.wordpress.com

Previous

Board index PBase HTML and Style Sheets CSS - I have the problem which I can't solve

Who is online

Users browsing this forum: No registered users and 1 guest