I've tried floating them both left, both right, one left/one right, and in all cases 
the right div drops down a line.

> -----Original Message-----
> From: Hill, Tim [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 30, 2004 11:06 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [WSG] Aligning two DIVs horizontally
> 
> 
> Could you float both perhaps? Or would that not work?
> The divs would need to be the same height I guess though.
> 
> 
> Tim Hill
> Computer Associates
> Graphic Artist
> tel: +612 9937 0792
> fax: +612 9937 0546
> [EMAIL PROTECTED]
>  
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Miles Tillinger
> Sent: Friday, 30 April 2004 11:24 AM
> To: Web Standards Group (E-mail)
> Subject: [WSG] Aligning two DIVs horizontally
> 
> I thought this would be simple but it's making me feel a bit useless!
> 
> I'm simply trying to align two DIVs horizontally for the Search form :
> 
> http://www.streetdaddy.com/wsg/test.html
> http://www.streetdaddy.com/wsg/domainname.css
> 
> The div with submit button (green border) always gets stacked 
> vertically
> under the div with the textfield (red border) but I want it to be
> aligned with the textfield and select list.  I originally had 
> the whole
> form in one div however differences in the size of form elements made
> some small pixel differences between browsers.  Pixel perfect isn't
> necessary, however I'm sure there must be a simple way to 
> align the two
> divs!
> 
> Am I even close?
> 
> Regards,
> 
> Miles Tillinger
> Web Developer
> education.au limited
> 178 Fullarton Road
> Dulwich SA 5065
> Ph. (08) 8334 3247
> Fax. (08) 8334 3211
> Email: [EMAIL PROTECTED]
> Please visit our websites: 
> <http://www.edna.edu.au/>
> <http://www.educationau.edu.au/>
> Building and managing online information services and 
> knowledge networks
> 
> 
> *****************************************************
> The discussion list for http://webstandardsgroup.org/ See
> http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
> ***************************************************** 
> 
> 
> *****************************************************
> The discussion list for http://webstandardsgroup.org/
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
> ***************************************************** 
> 
> 
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************

Reply via email to