Getting rid of H1 default css.

How do I get rid of H1 default text?

Towrd teh bottom of the page there is a paragraph I'm playing with.. it has an h1 tag right in the middle, how would I make that text just fall in line in the paragraph, keeping the same look as the paragraph and also keeping the h1 tag on the selected text?

http://www.versatables.com/index2.php
cstormerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ZylochCommented:
I am not too sure why this disrupts the style after the <h1> tag, but as a block element (I think it's block, correct me if I'm wrong), you can always add style="display:inline;" to it to make it continue on the line.

As for disrupting the style, the only solution I can think of is maybe putting your font size on a span tag and have it both before and after the <h1> tag.

Another probably better option is just to use a span tag and stylize your own h1 tag.
0
cstormerAuthor Commented:
I am actually styling the h1 tag.. (the last line of the css..)
0
ZylochCommented:
Ah, I didn't see that, but in your case, it's even more logical to do away with the h1 tag and just style a class for a span tag with the same styles as well.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

cstormerAuthor Commented:
Zylock,  I need to get teh H1 in there for other purposes ;)
0
ZylochCommented:
SEO?

You could split up the paragraph styling with <span> tags like I suggested, have <span> tag wrappers both for text before <h1> tag and after as well.
0
cstormerAuthor Commented:
pretty much, ya ok i'll try that a little later .. is there a way to strip all default css from a tag?
0
ZylochCommented:
I do not know of anyway to do this. Usually, when this functionality is needed, classes are used for the rest of the document and the tag that need not have styles remain unclassed.
0
r_m_shyamCommented:
Hi,

Enclose the last para text inside <div> tags.

Use it as follows,

<div class="maintext">
  <p align="left">Versa Products Inc. is a manufacture of high quality computer tables, computer desks and computer lab furniture for a variety of environments ranging from schools to private training facilities.  We specialize computer tables that are adjustable and fixed height enclosed computer desks for the school&#160;<H1>computer furniture</H1>&#160;market.  All of our computer tables are designed specifically for a classroom environment. Each table is built only from high quality materials that make them the perfect classroom computer furniture.  Computer tables that are used for as computer lab furniture must be both extremely reliable while also offering a variety of configurations something our school computer furniture excels at.  It is important when shopping for computer tables, computer desks and other computer lab furniture to look for a lifetime warranty like the one that is included with every product we product.  We also make enclosed computer desks which are non-adjustable but can be accessorized in a variety of ways.  Here at Versa Products we take pride in the high level of craftsmanship that goes into all aspects of our classroom computer furniture and we think it is important that our customers know when they purchase from us that they are getting school computer furniture they can depend on.
  </p>
</div>

also, give inline stylesheet for <h1> as follows,

<style type="text/css">
h1
{
font: arial 9px
}
</style>

This will solve the problem since we are making the whole para as a block using div and then applying style.

Regards - Shyam.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cstormerAuthor Commented:
close..  but it seems like we have a line break before the computer furniture tag?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.