Login breaks floated template

Started by nexus4, November 14, 2005, 03:58:44 AM

Previous topic - Next topic

nexus4

Hope this isn't a FAQ, but I tried to search without success, so...

I kept trying to integrate SMF wrapped into Joomla using templates that rely on float positioning, but it kept breaking.  Finally I tracked it to

<option value="-1" selected="selected">', $txt['smf50'], '</option>
</select>
<input type="submit" value="', $txt[34], '" /><br />

in mod_smf_login.php.  Adding a <br /> after the end of the closing select tag moves the login button down.
I believe the problem had to do with the selection box + the login button being too wide, although I'm not quite sure why it was too wide.  Hope this helps template hackers.

I don't recall all I did, but I did try shrinking the column content and other things to get around the problem before I found this fix, none of which worked.  If anyone can give me an idea why that might be, I'd like to hear it.

Best,
Hod

Advertisement: