| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 34
|
Cannot convince two divs to come together?
I am having a bit of trouble. I cannot convince a certain div to line up properly. It works on many pages, but on this page and another, its a no go. Look down where the footer hits the main content. You'll see it. vewd.org/photo/register_form.php Any ideas are welcome. |
|
|
|
|
|
#4 (permalink) |
|
id
Join Date: May 2008
Location: Ottawa
Posts: 209
|
Are you talking about: <div class="useragree"> Read the user agreement, if you understand and agree to it, check the box to the left to continue. If you have questions or concerns, contact us. info [at] vewd [dot] org </div> ? If so have you tried putting the input, em, agree copy and the explaination text inside a single div and going from there? As it stands now you'll likely run into trouble trying to align multiple content elements that are not contained in some manner and have it work across all browsers. Even something like the following might be more workable: <div class="ctrlHolder"> <label for="i_agree"> Agree to terms</label> <div class="useragree"> <input type="checkbox" value="1" id="i_agree" name="i_agree"/> <em>*</em> I have read and agree to the terms.<br> <i>Read the user agreement, if you understand and agree to it, check the box to the left to continue. If you have questions or concerns, contact us. info [at] vewd [dot] org</i> </div> </div> hth |
|
|
|
#6 (permalink) |
|
shiro
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,007
|
If you are developing for ff3, you are somewhat jumping the gun. It's still in beta release, so the general population isn't using it yet. Develop for FF2, and prepare afterwards for FF3. If you are developing first for ff3, you are developing for an incomplete browser that the public doesn't use. This space for rent.
|
|
|
|
#7 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 34
|
I should add that it also breaks in FF2, which I am developing for, I just meant to say, even with FF3, it breaks. Sorry about that. On another page now, the border never begins, but the top portion of the border is there. I am so confused on this. |
|
|
|
#8 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 34
|
Okay, so I am still working on this. It seems the div called "content" that works on many other pages, is not working on this page or a couple others. It comes to the very next </div> and ends. It goes only as far as it wants, why have I lost control of this? |
|
|
|
#9 (permalink) |
|
id
Join Date: May 2008
Location: Ottawa
Posts: 209
|
I'm still not sure I understand fully but your form (class uniForm) has margin:30px; and your fieldset has margin:1em 0pt; --- setting both to margin-bottom: 0; pulls the footer snug to the container above. Is that the issue? |
|
|
|
#10 (permalink) |
|
shiro
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,007
|
The first thing you should do is fix the errors in your code. Problems like unclosed tags (which you have a few) can cause weird, unpredictable results, such as the ones you are having. After you have done that, lets look at your problems again. They may go away with that. This space for rent.
|
|
|
|
#13 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 34
|
Alright, so now the page works fine in anything but IE. Any ideas? The subnavigation loses its place, the main area here that changes to a pink color if there is an error with jQuery becomes instantly pink, and entire areas lose formatting. The CSS effecting the subnavigation is this: Code:
I don't know a thing about IE. Attached are two screenshots, one in IE and another in FF. ![]() ![]() |
|
|
|
#14 (permalink) | |
|
shiro
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,007
|
Quote:
They are all correct - I can see the errors for myself in your source code. You have: * two link opening tags with no closing tags (although you can self-close them) * an image tag with no closing tag (again you can self-close it) * an input tag with no closing tag (self close ok) * a br tag with no closing tag (self close ok) You also have some other errors (missing alt tag, use of capital letters for onSubmit), but they are not likely to cause your problems. The items I listed can cause problems like you are having though. The problem is that you are using an XHTML doctype, but your coding isn't matching the XHTML standard. So the browser is looking for closing tags, and not finding them, so it has to guess what to do. Different browsers guess in different ways, and this causes discrepancies between browsers, and/or strange results within a browser. This space for rent.
|
|
|
|
|
#15 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 34
|
Haku, I pmed you, to anyone else, I offer employment to make this website IE compliant. I have no idea how to do it, and not the time to learn. If anyone wants to offer advice, I will gladly take it. I have to finish this project in time for a conference we are supposed to launch at. Anyone interested? ...probably not after seeing that mess. |
|
![]() |