3 replies [Last post]
craigtaylor74
craigtaylor74's picture
Offline
Regular
Barcelona
Last seen: 16 years 42 weeks ago
Barcelona
Timezone: GMT+1
Joined: 2004-02-04
Posts: 31
Points: 0

Is this the corect format if I want to have two different h3 classes

h3.center_intro{
}
h3.center_text{
}

Thanks,
Craig.

http//www.ctam.co.uk

co2
co2's picture
Offline
Leader
UK
Last seen: 12 years 32 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

2 different classes for an h tag

Yep, that is fine... you can then use them as:

<h1 class="center_intro">This is the Center Intro H1</h1>
<h1 class="center_text">This is the Center Text H1</h1>

The next sentence is true. The previous sentence is false. Discuss...

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 4 years 43 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

2 different classes for an h tag

Well,

<h3 class="center_intro">This is the Center Intro H3</h3>
<h3 class="center_text">This is the Center Text H3</h3>

may work better... Wink

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.

co2
co2's picture
Offline
Leader
UK
Last seen: 12 years 32 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

2 different classes for an h tag

Maybe, but I'm thinking big \:D/ Laughing out loud

(Thanks for the correction, wasn't looking!) Wink

The next sentence is true. The previous sentence is false. Discuss...