[dw-free] Tropo Red: more misaligned table problems
[commit: http://hg.dwscoalition.org/dw-free/rev/a4b522627a75]
http://bugs.dwscoalition.org/show_bug.cgi?id=327
Fix CSS for 'users interested in' section.
Patch by
denise.
http://bugs.dwscoalition.org/show_bug.cgi?id=327
Fix CSS for 'users interested in' section.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
-------------------------------------------------------------------------------- diff -r 83b7fff60cef -r a4b522627a75 cgi-bin/LJ/User.pm --- a/cgi-bin/LJ/User.pm Fri Feb 20 09:52:05 2009 +0000 +++ b/cgi-bin/LJ/User.pm Fri Feb 20 09:54:54 2009 +0000 @@ -7914,8 +7914,7 @@ sub user_search_display { # we request. next unless LJ::isu($u); - $ret .= "<div style='width: 300px; height: 105px; overflow: hidden; float: left; "; - $ret .= "border-bottom: 1px solid <?altcolor2?>; margin-bottom: 10px; padding-bottom: 5px; margin-right: 10px'>"; + $ret .= "<div class='user-search-display'>"; $ret .= "<table style='height: 105px'><tr>"; $ret .= "<td style='width: 100px; text-align: center;'>"; diff -r 83b7fff60cef -r a4b522627a75 htdocs/stc/lj_base.css --- a/htdocs/stc/lj_base.css Fri Feb 20 09:52:05 2009 +0000 +++ b/htdocs/stc/lj_base.css Fri Feb 20 09:54:54 2009 +0000 @@ -138,3 +138,20 @@ div.lj_ippu_titlebar { .warning-background { background-image: url('/img/message-warning.gif'); } + +.user-search-display { + width: 300px; + height: 105px; + float: left; + margin-bottom: 5px; + margin-right: 10px; + vertical-align: top; +} + +.user-search-display table td { + vertical-align: middle; +} + +.example { + vertical-align: top; +} \ No newline at end of file --------------------------------------------------------------------------------