r7233 - in dumbhippo/trunk/server/src/com/dumbhippo: server/impl web/servlets
- From: commits mugshot org
- To: online-desktop-list gnome org
- Subject: r7233 - in dumbhippo/trunk/server/src/com/dumbhippo: server/impl web/servlets
- Date: Thu, 17 Jan 2008 17:17:42 -0600 (CST)
Author: marinaz
Date: 2008-01-17 17:17:42 -0600 (Thu, 17 Jan 2008)
New Revision: 7233
Modified:
dumbhippo/trunk/server/src/com/dumbhippo/server/impl/FacebookTrackerBean.java
dumbhippo/trunk/server/src/com/dumbhippo/web/servlets/FacebookServlet.java
Log:
Specify the exact width for the buttons, so that they look good in both IE and Firefox.
Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/impl/FacebookTrackerBean.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/impl/FacebookTrackerBean.java 2008-01-17 22:33:01 UTC (rev 7232)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/impl/FacebookTrackerBean.java 2008-01-17 23:17:42 UTC (rev 7233)
@@ -711,7 +711,7 @@
fbmlSb.append("</fb:wide>");
fbmlSb.append("<fb:narrow>");
- for (int i=1; i<=35; i++ ) {
+ for (int i=1; i<=20; i++ ) {
fbmlSb.append(" ");
}
fbmlSb.append("</fb:narrow>");
Modified: dumbhippo/trunk/server/src/com/dumbhippo/web/servlets/FacebookServlet.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/web/servlets/FacebookServlet.java 2008-01-17 22:33:01 UTC (rev 7232)
+++ dumbhippo/trunk/server/src/com/dumbhippo/web/servlets/FacebookServlet.java 2008-01-17 23:17:42 UTC (rev 7233)
@@ -484,7 +484,7 @@
// there didn't seem to be a way to get buttons in fb:editor to open in a new window, which is what we want here, so we are using
// our own form and buttons
// original top and left border color on facebook is #D8DFEA, but it looks too light to me
- String buttonStyle = "background-color:#3B5998;color:#ffffff;border-width:1px;padding-top:2px;padding-bottom:2px;padding-right:2px;padding-left:2px;margin-top:8px;margin-bottom:8px;border-top-color:#728199;border-left-color:#728199;border-right-color:#0E1F5B;border-bottom-color:#0E1F5B;";
+ String buttonStyle = "background-color:#3B5998;color:#ffffff;width:184px;border-width:1px;padding-top:2px;padding-bottom:2px;margin-top:8px;margin-bottom:8px;border-top-color:#728199;border-left-color:#728199;border-right-color:#0E1F5B;border-bottom-color:#0E1F5B;";
xml.appendEmptyNode("input", "type", "submit", "value", "Verify My Mugshot Account", "style", buttonStyle);
xml.closeElement();
// divider line
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]