• Dot

    (@dianetingleyhotmailcom)


    Hello
    I’m looking to select certain parts of my page for my CSS: am I right that if that part has an existing element (for example, the header image) I need to know the name of this? If so, how do I find it out please?
    Diane

Viewing 2 replies - 1 through 2 (of 2 total)
  • You need to know the class names, or id names, or both, and maybe the name of the tag. You can get that by reading the PHP sourceb ut it tends to be easier to look at the generated source of the web page itself. You can do that is a couple of different ways.

    Open the page in a web browsers, then CTRL+U. Search for your element. That is quick and I believe it works in all browsers.

    The best thing to do though is to install the FireFox extension FireBug then open the page, right click on your element and select “Inspect with FireBug”. Chrome also has an “inspect” feature.

    Thread Starter Dot

    (@dianetingleyhotmailcom)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘class attributes’ is closed to new replies.