This is a discussion on "Problems with defining class" within the Web Page Design section. This forum, and the thread "Problems with defining class are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Problems with defining class
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Problems with defining class
For some reason the class l have defined it is not working, see coding:
I am using an external style sheet which is the reaosn it is not working , would like to define an interenal class which is only applicable to the index file <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>A social club for people to go and have a good time and try new activities</title> <meta name="keywords" content="social clubs southampton,clubs southampton,single events hampshire,new friends hampshire,new friends southampton,looking new friends,meeting new people,social clubs south coast,looking friendship uk,social clubs UK"> <meta name="description" content="A social club for people to go out enjoy themselves and try new activites"> <meta name="robots" content="index,follow"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="home_page_style.css" rel="stylesheet" type="text/css" /> <style type="text/css"> p.leftmargin {margin-left: 5cm} </style> </head> <body> |
|
|
|
||||
|
Re: Problems with defining class
I don't understand the question.
|
|
||||
|
Re: Problems with defining class
Just stick inline CSS into the index file in the element you want to affect...
<p style="color:#f90; font-weight:bold;">stuff</p> |
|
|||
|
Re: Problems with defining class
Quote:
|
![]() |
| Tags |
| problems, defining, class |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] div class and div id | danny322 | Web Page Design | 1 | Nov 22nd, 2007 12:52 |
| MYSQL PHP query class | jhappeal | Databases | 1 | Aug 17th, 2007 01:52 |
| array of class | janper | Flash & Multimedia Forum | 4 | Apr 9th, 2007 13:54 |
| is it possible to change 'class' property | jthomas | JavaScript Forum | 1 | Mar 7th, 2007 09:44 |
| Pre-defining a function that can pass variables. | aluminumpork | JavaScript Forum | 3 | Jul 24th, 2006 12:16 |