The street field and the apartment number field overlap. When entering data into both fields, both sets of data are visible but they are directly on top of one another. I don't know if this is an issue with the theme I am using (garland) or something else. I have attached an image showing the problem. In the image, the street field is filled with "data1" while the apt # field contains "data2." Thank you in advance.

Comments

rconstantine’s picture

Um, which browser? The latest firefox is fine so far as I can tell. I use garland for testing.

As for a fix, adjust the css file to suit. I've got a bit more experience with theme functions now and will try to implement one when I can get to it (soon).

raddevon’s picture

It looks like on another computer running Firefox with a nearly identical set of extensions, the fields appear normal. I guess the problem is on my end. Thanks for the reply.

rconstantine’s picture

Even so, it should work with all setups, so if you adjust the CSS file such that it works for you, please post a copy here so I can review it and possibly make the changes available to others that run into the same issue.

Thanks.

rconstantine’s picture

Nevermind, I was thinking of another module that doesn't have a theme function for display.

Anyway, were you on different OSs? Perhaps there's an issue there with the same browsers on different platforms?

If I don't hear more from you, I can't fix anything. I don't see any problems with the code. I typically give such issues 2 weeks or so before closing them. If you come back and it's closed, be sure to reopen it by setting it to active.

tanjerine’s picture

StatusFileSize
new7.01 KB

hi, the same thing happens to me. im using drupal 5.2 with cck_address-5.x-1.x-dev on firefox. with the default garland theme and i haven't made any css changes. thanks.

rconstantine’s picture

Which OS? I'd like to narrow this down. I've got the same versions you have on WinXP and things are fine.

Have you tried to play with the CSS file and make things better? Please do.

sw0rdf1sh’s picture

I have the same issue with Mozilla Firefox 2.0.0.6 at Windows XP.
Here is the decision of the problem:

div.cck-address-street1 .form-item {margin-right:.5em;}
instead of
div.cck-address-street1 .form-item {float:left; margin-right:.5em;}

rconstantine’s picture

I'm wondering if I didn't update the css file. What I have is this:

@CHARSET "UTF-8";
fieldset.cck-address-fieldset .form-item {padding:0; margin:0;}
div.cck-address-street1 .form-item {clear:left; float:left; margin-right:.5em;}
div.cck-address-apt .form-item {clear:left; margin-right:1em;}
div.cck-address-street2 .form-item {clear:left; margin-right:.5em;}
div.cck-address-city .form-item {clear:left; float:left; margin-right:.5em;}
div.cck-address-state .form-item {float:left; margin-right:.5em;}
div.cck-address-zip .form-item {float:left; margin-right:.5em;}
div.cck-address-country .form-item {float:left; margin-right:.5em;}
div.cck-address-other .form-item {clear:left; margin-right:.5em;}
fieldset.cck-address-fieldset .description {clear: both;}

but your comment would suggest that you don't have the same file. I'm going to check the CVS right now.

rconstantine’s picture

Status: Active » Closed (duplicate)

It seems you guys aren't using the dev version. I thought you were, so I thought this was a new issue with the display, but it looks to be the exact same thing as this: http://drupal.org/node/133175

So unless the css file I've quoted above doesn't do it for you, I'm marking this as a duplicate.

sw0rdf1sh’s picture

StatusFileSize
new16.73 KB

I have just installed latest version (5.x-1.x-dev)
now CSS file is same as was posted, but still the same bug in Firefox (screenshot attached)