User Profile

Collapse

Profile Sidebar

Collapse
John Mollman
John Mollman
Last Activity: Feb 23 '12, 01:10 AM
Joined: Jul 7 '11
Location: Cincinnati, OH, USA
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • John Mollman
    replied to how to align form controls
    Hi,

    I know this is one week later, but I'll try to help you out here. It seems you already found a solution, but as you said it looks messy. Maybe I can give it a try. I think you're trying to have a clean row of controls, correct?

    Try this:
    Code:
    <html>
    	<head>
    		<title>Title</title>
    	</head>
    	
    	<body>
    		<div>
    			<input type="text"
    ...
    See more | Go to post

    Leave a comment:


  • As Rabbit said, you could apply padding (spacing on the inside) to the outer div, and then margins (spacing on the outside) to the inner div.

    Try this:

    HTML
    Code:
    <html>
    	<head>
    		<title>Title</title>
    		<link rel="stylesheet" type="text/css" href="index.css" />
    	</head>
    	
    	<body>
    		<div
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...