diff options
author | Konrad Kolosowski | 2002-11-06 21:55:37 +0000 |
---|---|---|
committer | Konrad Kolosowski | 2002-11-06 21:55:37 +0000 |
commit | fa47ae3c5e2988728e889a9f70aabdda50c8ef3c (patch) | |
tree | ba662d288f1e15bb672cf78cc285e0accf85441b /org.eclipse.help.webapp/advanced/toolbar.jsp | |
parent | ea3ddc65ec6a81466872c0fdea86fed2871cf4e6 (diff) | |
download | eclipse.platform.ua-fa47ae3c5e2988728e889a9f70aabdda50c8ef3c.tar.gz eclipse.platform.ua-fa47ae3c5e2988728e889a9f70aabdda50c8ef3c.tar.xz eclipse.platform.ua-fa47ae3c5e2988728e889a9f70aabdda50c8ef3c.zip |
18866 layout problems on narrow help view
Diffstat (limited to 'org.eclipse.help.webapp/advanced/toolbar.jsp')
-rw-r--r-- | org.eclipse.help.webapp/advanced/toolbar.jsp | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/org.eclipse.help.webapp/advanced/toolbar.jsp b/org.eclipse.help.webapp/advanced/toolbar.jsp index c61e47286..3a87b451b 100644 --- a/org.eclipse.help.webapp/advanced/toolbar.jsp +++ b/org.eclipse.help.webapp/advanced/toolbar.jsp @@ -40,6 +40,22 @@ BODY { border-left-width:0; border-right-width:0; } +td.button { +<% +if (data.isIE()) { + // IE already has 3px padding +%> + padding-left:2; + padding-right:2; +<% +} else { +%> + padding-left:5; + padding-right:5; +<% +} +%> +} <% if (data.isMozilla()) { @@ -123,7 +139,7 @@ if (data.getScript() != null) { </tr> </table> </div> - <div id="borderLayer" style="position:absolute; z-index:3; left:0; top:0; height:100%; width:100%; "> + <div id="borderLayer" style="position:absolute; z-index:2; left:0; top:0; height:100%; width:100%; "> <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100% "> <tr> <td id="tdborder"> @@ -132,11 +148,11 @@ if (data.getScript() != null) { </tr> </table> </div> - <div id="iconLayer" style="position:absolute; z-index:2; left:0; top:0; height:100%; width:100%;"> - <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"> + <div id="iconLayer" style="position:absolute; z-index:3; left:0; top:0; height:100%; width:100%;"> + <table width="100%" border="0" cellspacing="1" cellpadding="0" height="100%"> <tr> <td align="right"> - <table border="0" cellspacing="0" cellpadding="0" height="100%" style="padding-top:3px; padding-right:3px;background:<%=prefs.getToolbarBackground()%>"> + <table border="0" cellspacing="0" cellpadding="0" height="100%" style="background:<%=prefs.getToolbarBackground()%>"> <tr> <% ToolbarButton[] buttons = data.getButtons(); @@ -151,14 +167,15 @@ if (data.getScript() != null) { <% } else { %> - <td align="middle" width="22"> + <td align="middle" class="button"> <a href="#" onclick="<%=buttons[i].getAction()%>(this);" onmouseover="window.status='<%=buttons[i].getTooltip()%>';return true;" onmouseout="window.status='';"> <img src="<%=buttons[i].getImage()%>" alt='<%=buttons[i].getTooltip()%>' - border="0" + border="0" + style="float:left;" name="<%=buttons[i].getName()%>"> </a> </td> |