HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
no clue with CSS
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
krieg-engel



Joined: 20 Sep 2005
Posts: 3

PostPosted: Tue Sep 20, 2005 1:07 am     no clue with CSS Reply with quote

ahem. yes i am have major problems in setting up an external style sheet for my html page.
i have read several of the forums on here and nothing is explained in a way that i understand.
do i have to stick to applying styles to the standard tags such as
Code:
<p>. <h1>
and so forth? or can i create my own styles eg.
Code:
<test1>
?
thank you in advance.
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8267
Location: Castle Rock CO USA

PostPosted: Tue Sep 20, 2005 3:57 am     Reply with quote



You should not create you own tags yet you can create names for your tables / divs
Code:
div.mainheader
{
   width: 800px;
    height: 67px;
}
div.logo
{
     width:478px;
     text-align: right;
     float: left;
}
div.header
{
     width:322px;
     text-align: right;
     float: right;
}
and then in the <body>
Code:
<div class="mainheader">
<div class="logo"></div>
</div>
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial