Reply
Need Help Replacing header tags with CSS codes
Old 09-22-2004, 08:48 PM Need Help Replacing header tags with CSS codes
hlcl's Avatar
Extreme Talker

Posts: 153
Hi,

I don't know anything about codes so please be easy on me.

I need to replace header tags <h1> through <h4> with CSS codes but I don't know how to do it. Here is an example header.
<h1>Home Loans Car Loans has the best Mortgage Rates for your loan needs</h>

Can someone please show me how I would add the CSS code for it.

Much Appreciated!
Thanks,
Cindy
__________________
Home Loans Car Loans specializes in
Home Equity Loans and Auto Loans
hlcl is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 09-22-2004, 10:36 PM
WebcyteDesign's Avatar
Extreme Talker

Posts: 159
Location: Hamilton
<html>
<head>
<title></title>

<style type="text/css">

h1{color: black; font-family: verdana; font-size: 16px; font-weight: bold;}

</style>

</head>
<body>

</body>
</html>

The above will change all h1 tags on that page to the above attributes. There is also away to import an external style sheet so that you can use these rules accross your entire site. Saves alot of time. Also check out http://www.w3schools.com for examples and help. It's a great site to learn with.
WebcyteDesign is offline
Reply With Quote
View Public Profile Visit WebcyteDesign's homepage!
 
Old 09-26-2004, 08:32 PM CSS Class for Page Titles
Novice Talker

Posts: 8
Location: southern California
You can also setup a style instruction for headings using the class tag...

<style>
.pagetitle {font-family: arial black; font-size:18; font-weight:bold;}
.pagetext {font-family: arial; font-size:14; font-weight:normal;}
</style>
</head>
<body>
<p class="pagetitle">Home Loans...</p>
<p class="pagetext">The best interest rates...</p>



If you run into a special case in the body of your page...

<p style="font-style:italic; color:red;">Note: these interest rates apply only...</p>
Banner Up is offline
Reply With Quote
View Public Profile Visit Banner Up's homepage!
 
Reply     « Reply to Need Help Replacing header tags with CSS codes
 

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

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


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11681 seconds with 12 queries