Problems with defining class

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 3rd, 2006, 09:30
Junior Member
Join Date: Jan 2006
Age: 42
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
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>
Reply With Quote

  #2 (permalink)  
Old Feb 3rd, 2006, 21:28
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with defining class

I don't understand the question.
Reply With Quote
  #3 (permalink)  
Old Feb 4th, 2006, 04:22
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herkalees Send a message via MSN to herkalees Send a message via Yahoo to herkalees
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>
Reply With Quote
  #4 (permalink)  
Old Feb 6th, 2006, 07:47
Junior Member
Join Date: Jan 2006
Age: 42
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with defining class

Quote:
Originally Posted by herkalees
Just stick inline CSS into the index file in the element you want to affect...

<p style="color:#f90; font-weight:bold;">stuff</p>
Thanks for that , thats great.
Reply With Quote
Reply

Tags
problems, defining, class

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 02:54.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43