Author Topic: CSS + paragraphs  (Read 14314 times)

Canuck

  • Eh?!!
  • Founders
  • Posts: 792
  • Karma: +51/-3
  • Andy Moog Fan
    • My Website
CSS + paragraphs
« on: August 13, 2005, 03:04:53 PM »
On my Andy Moog site I have some information which is as follows:

Name: Andy Moog

Date of Birth: Whenever...


I wanted to make Name and Date of Birth bold, and place the other text next to it.  I used a p class to make the headings bold, and put the text besided it in another p tags

Name:

 

Andy Moog



The text always goes to a new line, and I dont know how to stop it from going to a new line.  Is there any way I can accomplish this with CSS?

Thanks

Perspective

  • badfish
  • Jackass In Charge
  • Posts: 4635
  • Karma: +64/-22
    • http://jeff.bagu.org
CSS + paragraphs
« Reply #1 on: August 13, 2005, 03:09:21 PM »
use a tag instead of a

.


Canuck

  • Eh?!!
  • Founders
  • Posts: 792
  • Karma: +51/-3
  • Andy Moog Fan
    • My Website
CSS + paragraphs
« Reply #2 on: August 13, 2005, 03:48:41 PM »
Thanks, that worked.

Ive never used a span tag before, Ill have to read up on it.

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14310
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
CSS + paragraphs
« Reply #3 on: August 13, 2005, 05:57:43 PM »
It's an inline tag, where

tags are block tags.  You can change how they behave if you really want, but you should use them as they're intended.