Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

height problem

Status
Not open for further replies.
BillyRayPreachersSon, tank you.

Works perfect now.


George
 
last problem, I promise.
How can I make a br between upload and the fileinput.

I could to it like this but it don't feel right doing like this.
Code:
<div style="clear: left; float: left;"><br>Description<br><input type="file" name="picture" size="50"></div><br>			
<div style="clear: left; float: left;"></div>											
<div style="clear: left; float: left;"><input  type="submit" value="Upload1"></div>

it doesn't work when I use <br>
 
Well - you need to have the clear because you're floating your elements... although having said that, I'm not entirely sure why you're using floats at all for anything other than the 2 columns... perhaps putting one clear after those, and then you should be able to remove all the other clears and floats, and then your br should work as expected.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
And then again, using margins is far more precise, semantically correct and easier than using <br>s.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top