Sports Babble - sports forum
PHP and CSS? - Printable Version

+- Sports Babble - sports forum (https://www.sportsbabble.co.uk)
+-- Forum: Football (https://www.sportsbabble.co.uk/forumdisplay.php?fid=1)
+--- Forum: English Football Leagues (https://www.sportsbabble.co.uk/forumdisplay.php?fid=2)
+---- Forum: Sky Bet Championship (https://www.sportsbabble.co.uk/forumdisplay.php?fid=49)
+----- Forum: West Bromwich Albion (https://www.sportsbabble.co.uk/forumdisplay.php?fid=21)
+----- Thread: PHP and CSS? (/showthread.php?tid=1135)

Pages: 1 2


PHP and CSS? - Stairs - 07-01-2015

Throwing this out there but expecting tumble weed:

Anyone an expert on PHP and CSS Whistle


RE: PHP and CSS? - Dingle-Dingle - 07-01-2015

Sounds like something you should see the Doctor with. DD  Huh  Huh

   

Your wish is my command.


RE: PHP and CSS? - Salopbaggie - 07-01-2015

What you need to know Stairs and for any particular programme. pm me if you prefer?


RE: PHP and CSS? - struth - 08-01-2015

I aint expecting at moment Laugh


RE: PHP and CSS? - Luke_East_Baggie - 08-01-2015

I can cast an eye over too, but only on the CSS side. I did quite a lot in CSS (hardly touched PHP did all my stuff in HTML and XHTML, which I gather is similar anyway) and made a couple of websites for university projects / dissertations, but it was a couple of years ago. (Hence the underscores in my name when I first started going on the forums on 606 years back)

(and when you say expect, I guess you mean expert!)

If you need any additional eyes / input - let me know.


RE: PHP and CSS? - Slick_Footwork - 08-01-2015

I know CSS but very little in the way of PHP as I only really do front end stuff.

Will help if I can. What is it that you were after?


RE: PHP and CSS? - spireitematt - 08-01-2015

I know some CSS from when I was at college.


RE: PHP and CSS? - BBB - 09-01-2015

Can some kind soul tell me what the hell you are taling about? Computers is it?? Confused


RE: PHP and CSS? - Luke_East_Baggie - 09-01-2015

http://lmgtfy.com/?q=What+is+CSS%3F


RE: PHP and CSS? - BBB - 09-01-2015

Wow Luke, I thank you for that. However after a half an hour of puzzling over it, and not understanding much of it, i'll stick with Words and the help it gives. Blush

Here's a sample of why
-----------------------------------------------------------------------------
One of the goals of CSS is to allow users greater control over presentation. Someone who finds red italic headings difficult to read may apply a different style sheet. Depending on the browser and the web site, a user may choose from various style sheets provided by the designers, or may remove all added styles and view the site using the browser's default styling, or may override just the red italic heading style without altering other attributes.

CSS Priority scheme (highest to lowest)[edit]


High Priority

CSS Source Type

Description

1 Importance The ‘!important’ annotation overwrites the previous priority types
2 Inline A style applied to an HTML element via HTML ‘style’ attribute
3 Media Type A property definition applies to all media types, unless a media specific CSS defined
4 User defined Most browsers have the accessibility feature: a user defined CSS
5 Selector specificity A specific contextual selector (#heading p) overwrites generic definition
6 Rule order Last rule declaration has a higher priority
7 Parent inheritance If a property is not specified, it is inherited from a parent element
8 CSS property definition in HTML document CSS rule or CSS inline style overwrites a default browser value
9 Browser default The lowest priority: browser default value is determined by W3C initial value specifications

Specificity[edit]

Specificity describes the relative weights of various rules.[11] It determines which styles are applied to an element when more than one rule could apply. Based on specification, a simple selector (e.g., H1) has a specificity of 1, class selectors have a specificity of 1,0, and ID selectors a specificity of 1,0,0. Because the specificity values do not carry over as in the decimal system, commas are used to separate the "digits"[12] (a CSS rule having 11 elements and 11 classes would have a specificity of 11,11, not 121).

Thus the following rules selectors result in the indicated specificity:


Selectors

Specificity

H1 {color: white;} 1
P EM {color: green;} 2
.grape {color: red;} 1,0
P.bright {color: blue;} 1,1
P.bright EM.dark {color: yellow;} 2,2
#id218 {color: brown;} 1,0,0
style=" " 1,0,0,0

BBB Big Grin

Ah maybe someone might help me with:

1. I have no pound sign on my laptop, have dollars, anyone know how to get this?

2. On reading a script, and wanting to compare it alongside another, how do I do this as I know it can be done.

3. Is words the only Free format.

would be grateful for Any answers Thumb up

BBB