Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

css not behaviouring proper! grrr

Status
Not open for further replies.

Goat

Programmer
Jul 13, 2000
36
DK
Greetings all. Hopefully someone out there can help.

I am design a site and am using css.

Please take a look at this site:
I have applied css to the text in the iframe. Mostly it is working well but, if you notice the headings (h2) have a border around them with a panel of colour beside them. I am wanting the panel of colour to be behind the text rather than beside it. Can someone tell me what I am doing wrong?

Thanks in advance.
 
It's just tha you have accidentally put a span inside the H@ where you don't need it, and it has the same class as the body [shiatsu_text]

<H2 class=text align=justify>
<SPAN class=shiatsu_text>The Birth of Shiatsu Therapy</SPAN>
</H2>

Get rid of the span - and modify the style 'text' to get the right effect.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top