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!
not sure if this is right
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
daggydoo



Joined: 22 Apr 2008
Posts: 10

PostPosted: Fri May 02, 2008 4:52 am     not sure if this is right Reply with quote

first time ever doing css i still new at html I just would like to know what mistake are there. Now the only one i know is the <br> But I can not work out what is the css for that so as have the input fields apart. Any advice thanks
<html>
<head>
<title></title>
<style type="text/css">
.right {
border: 3px solid black;
padding: 10px;
margin: 10px;
float: right;
width: 33%;
height: 100%}
.bottom { clear : both }
</style>
</head>
<body>
<form>
<p class="right">
<INPUT style="width:200px;" name="address" value=""
valtype="mandatory"
valmsg="Street address field is blank."><br>
<br><INPUT style="width:200px;" name="address" value=""
valtype="mandatory"
valmsg="Street address field is blank."><br>
<br><INPUT style="width:200px;" name="address" value=""
valtype="mandatory"
valmsg="Street address field is blank."><br>
<br><INPUT style="width:200px;" name="address" value=""
valtype="mandatory"
valmsg="Street address field is blank."><br>
<br><INPUT style="width:200px;" name="address" value=""
valtype="mandatory"
valmsg="Street address field is blank."><br>
<br><INPUT style="width:200px;" name="address" value=""
valtype="mandatory"
valmsg="Street address field is blank."><br>
<br><INPUT style="width:200px;" name="address" value=""
valtype="mandatory"
valmsg="Street address field is blank."><br>
<br><INPUT style="width:200px;" name="address" value=""
valtype="mandatory"
valmsg="Street address field is blank."><br>
<br><INPUT style="width:200px;" name="address" value=""
valtype="mandatory"
valmsg="Street address field is blank."></p><br>
</form>
<p class= "main" >
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc</p>

</body>

</html>
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8314
Location: Castle Pines North, CO USA

PostPosted: Fri May 02, 2008 7:14 am     Reply with quote



It is somewhat correct but I get the feeling it is not showing up right or something and you want it to be somewhere else?

You might check out Creating a Form for one way to create the form.

You have
Code:
<p class= "main" >
but that was not listed in your CSS.

_________________
Corey
Toll Free Numbers | Merchant Accounts
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