How to Align the fields in the UI
Hi All,
I have a requirement that fields should be left aligned.
As in UI i have followed the same procedure, in the property i have disabled the right align but then also it is coming in the middle.
Can you please suggest.
Thanks & Regards,
Malkit Singh
Hello Malkit,
Do you have an example, snapshot?
Maybe it depends on the data type like string vs. numbers (leading zeros or not...)
Bye,
Horst
Similar Messages
-
How to align the text in justify format with SQL Server Reporting Services?
How to align the text in justify format In SQL server Reporting Services? Is there any code to do so?
Hi,
I'm afraid that if you want to have this kind of functionality, you will need to write a custom control. Here is an example: http://msdn2.microsoft.com/en-us/library/ms345265.aspx. The issue with custom controls is that it needs to be known by all the reportservers that will render your report.
Greetz,
Geert
Geert Verhoeven
Consultant @ Ausy Belgium
My Personal Blog -
How to align the 2 rows into 1 row?
Here is the SQL below:
SELECT distinct QP.QIP_id,
Max(decode( Upper(QP.Status_CD), Upper('Approved') , Effective_date, null )) as Approved_date,
Max( decode( Upper(QP.Status_CD), Upper('Submitted') , Effective_date, null ) ) as Submitted_date
FROM Llp_Sys.Project_Status QP
WHERE Upper(Qp.Status_cd) in (Upper('Approved'),Upper('Submitted'))
AND qp.qip_id = 79440
GROUP by QP.QIP_ID,Qp.Status_CDThe output data is displayed as below:
79440 NULL 01-FEB-10
79440 04-FEB-10 NULLHow can I display only 1 row in the output instead of 2 rows.? I mean How to align the rows ?Hi,
When you say
GROUP by QP.QIP_ID,Qp.Status_CDthe output will contain one row for each distinct combination of values found for qid_id and status_cd. If you want one row for each distinct value of qui_id, including all status_cds, then say
GROUP by QP.QIP_IDwithout mentioning qip_id, as Bigc suggested. There is nothing in the query that you posted that would cause an error if you did this. If you tried it and got an error message, then post the complete query that causes the error, and the complete error message, including the line number.
(If all the columns in the GROUP BY clause are also in the SELECT clause, then you don't have to say SELECT DISTINCT , since the output has separate rows only for distinct values of the GROUP BY columns.)
Whenever you have any problem, post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data. You'll get better answers faster. -
How to align the spry menu pannel in dreamweaver cs4
Can someone tell me how to align the spry menu pannel either left, center, are right in a div tag? I'm talking the whole pannel I have within a div tag.
ThanksDefaults to left align
To center ul.MenuBarHorizontal{margin: 0 auto; width: 32em;} addjusting the width to suit.
To align right ul.MenuBarHorizontal {float: right; width: 32em;} addjusting the width to suit. -
How to align (center) field's content in the section (band) limits
The environment is:
CR version: CR version: CR 10.2.3600
VS version: VS 2005 Prof + C#
Application type: Windows application
The Text objects can have set crHorCenterAlign property. There are no similar crVertCenterAlign property. So, how can we vertically align the Text objects content in theirs limits.
It would be usefull to have more properties, I mean something like this: TopAlignment, CenterAlignment and BottomAlignment. Currenty CR uses TopAlignment as a default settings which cannot be changed and is unavailable for a developer.
The similar alignments but in section (band) limits would be usefull for objects. For example, when the details rows have different heights which depend on a fields content smaller fields are printed at the top of the section (band). It would be usefull to have the object properties to set how the object is to be aligned in the section limits.
Please look at this [picture |http://www.zgadzaj.pl/temp/vertical.jpg]. It shows that 2-nd column has larger content, so the section has been expanded. But rest of columns are printed at the top of the band. If we have additional properties than we can decide how objects should be vertically aligned.
Perhaps I am wrong and there are somewhere vertical alignment setting hidden under different names.
Regards,
MarekHi Marek,
The version that is shipped with Visual Studio is a basic version and set of API`s. For full control you can purchase a full version of Crystal Reports. With this version you have an extended set of API`s with CR assemblies as well as the Report Application Server which runs inProc and has the RCAPI set of API`s that gives you more control on all objects, not fully but they are adding more functions all the time.
RAS has Alignment API`s available.
Download a Trial version of CR XI R2 ( SP4 Full build ) and then SP5 which is incremental and then download sample app`s to get you going with RAS.
Thank you
Don -
How to align the JLabel to the center
Hi,
I made a JFrame and a JLabel, I want to put the JLabel to the center of the North position. But it doesn't work, it's just placed in the upper left corner. I tried to use html code, such as:
JLabel l = new JLabel("<html><h1><center>Hello</h1></html>");
And then put it in the JFrame's north position, but it doesn't work either. What should I do?
Thx
AdrianOh, sorry,
I just found out the function on how to align it to the center, it's
JLable.setHorizontalAlignment(JLabel.CENTER);
Please forget about this question. -
JTable How to align the Text in a Cell to Centre
Hi Plese Help regarding JTable.
I want to align the Text in the Table Cell to Centre how to align it. Im using Abstract Data Model TAble an what is the meaning of renderer and its use.. Help me outHere are a couple of links you should read for information on tables and renderers:
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#editrender
http://www-106.ibm.com/developerworks/java/library/j-jtable/index.html?dwzone=java
Here is an example of a simple renderer that will:
a) center the text
b) highlight the background when the cell gets focus
This renderer is only used in two of the columns of the table.
import java.awt.*;
import java.util.*;
import javax.swing.*;
import javax.swing.table.*;
public class TableRenderer extends JFrame
public TableRenderer()
String[] columnNames = {"Date", "String", "Integer1", "Integer2", "Boolean"};
Object[][] data =
{new Date(), "A", new Integer(1), new Integer(5), new Boolean(true)},
{new Date(), "B", new Integer(2), new Integer(6), new Boolean(false)},
{new Date(), "C", new Integer(3), new Integer(7), new Boolean(true)},
{new Date(), "D", new Integer(4), new Integer(8), new Boolean(false)}
DefaultTableModel model = new DefaultTableModel(data, columnNames);
JTable table = new JTable( model )
// Returning the Class of each column will allow different
// renderers to be used based on Class
public Class getColumnClass(int column)
return getValueAt(0, column).getClass();
JScrollPane scrollPane = new JScrollPane( table );
getContentPane().add( scrollPane );
// Create cell renderer
TableCellRenderer centerRenderer = new CenterRenderer();
// Use renderer on a specific column
TableColumn column = table.getColumnModel().getColumn(3);
column.setCellRenderer( centerRenderer );
// Use renderer on a specific Class
table.setDefaultRenderer(String.class, centerRenderer);
public static void main(String[] args)
TableRenderer frame = new TableRenderer();
frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
frame.pack();
frame.setVisible(true);
** Center the text and highlight the focused cell
class CenterRenderer extends DefaultTableCellRenderer
public CenterRenderer()
setHorizontalAlignment( CENTER );
public Component getTableCellRendererComponent(
JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
if (hasFocus)
setBackground( Color.cyan );
else if (isSelected)
setBackground( table.getSelectionBackground() );
else
setBackground( table.getBackground() );
return this; -
How to align the number to the right
Hi,
Can anybody tell me ,
1. if the field is related to number, align the value to the right and complete it to the left with 0.
2. if the field is related to description, align the value to the left and complete it with "spaces".
Please reply ASAP.
Thanks,
MadhuHello Madhu
If a field has a numeric type its contents is, by default, right-aligned.
If a field has a alphanumeric type its contents is, by default, left-aligned.
In order to remove leading spaces (2) you can use the CONDENSE statement.
In order to add leading zero (1) you can use the OVERLAY statement.
For details please refer to: [Processing Character Strings|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3357358411d1829f0000e829fbfe/content.htm]
Regards
Uwe -
How to align the customise UILeftBarButton to Left in iOS7
I have tried aligning the left bar button to the left edge of navigation bar using this code
"addButton.contentEdgeInsets=UIEdgeInsetsMake(0, 0, 0, 0);"
but i could not get it to the left instead it get aligned with extra 10px from left...can anyone suggest a way for that??Currently CSS in JFX can't really be used for layout (or sizing). It's one of those grey areas between what is styling (which should be in the CSS) and what is layout (which should be in the FXML). I think I remember Richard once mentioning in a forum or article that he did want to add alignment stuff to the CSS at some point, but don't quote me on that. You could have a search through Kenai to see if there is a feature request for it, and if not add one.
You could maybe fake it by having the labels stretch to take up the available space in the GridPane. To do this you need to disable the max size restriction (i.e. setMaxWidth and setMaxHeight to Integer.MAX_VALUE) and ensure your GridPane constraints are such that the label will fill the cell. Once you have a stretched label the alignment will come into play as the text is aligned relative to the area of the label (as opposed to a layout manager that aligns the whole label relative to its parent). I find putting a border on the label while debugging useful to work out what is going on.
Another, more flexible but less contained alternative might be to use variables in your FXML files. You can do this in a number of ways. One is to create a bean that has all your variables on it with getters and then you can pass this to the namespace of your FXML Loader and then reference it using stuff like ${myConstants.gridAlignment}. Another is to create static methods on a class that take a node, these can then be called from the FXML using similar notation to GridPane.alignment. This second approach only works for things where you want to work on the Node directly, but for your scenario that should be ok I think. And then there's always the option to enable a scripting language in your FXML, which allows you to do most anything.
Hope that helps,
zonski -
I want to make the item text of the combobox to be aligned vertically(Centred) . Actually I increased the height
of the combobox and after the increasing the combobox height, the text is not centred vertically.The code
snippet for increasing the height is as follows,
m_SpecifyCombo.SetItemHeight(-1,20);//CCombobox m_SpecifyCombo
After increasing the height the text in the combobox is not in the centre as shown in the below image,
But I want the text to be centred as shown in the below image.
Code snippet for owner drawn combobox:
#if !defined(AFX_CUSTCOMBOBOX_H__F8528B4F_396E_11D1_9384_00A0248F6145__INCLUDED_)
#define AFX_CUSTCOMBOBOX_H__F8528B4F_396E_11D1_9384_00A0248F6145__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
typedef enum {FONTS} STYLE; //Why have I enumerated, Cos, Maybe I might want something other than Fonts here
class COwnerDrawCombo : public CComboBox
// Construction
public:
COwnerDrawCombo();
COwnerDrawCombo (STYLE);
// Attributes
public:
void SetHilightColors (COLORREF hilight,COLORREF hilightText)
m_clrHilight = hilight;
m_clrHilightText = hilightText;
void SetNormalColors (COLORREF clrBkgnd,COLORREF clrText)
m_clrNormalText = clrText;
m_clrBkgnd = clrBkgnd;
static BOOL CALLBACK EnumFontProc (LPLOGFONT lplf, LPTEXTMETRIC lptm, DWORD dwType, LPARAM lpData);
void FillFonts ();
int GetSelFont (LOGFONT&);
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCustComboBox)
public:
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
protected:
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~COwnerDrawCombo();
// Generated message map functions
protected:
STYLE m_enStyle;
COLORREF m_clrHilight;
COLORREF m_clrNormalText;
COLORREF m_clrHilightText;
COLORREF m_clrBkgnd;
BOOL m_bInitOver;
void DrawDefault (LPDRAWITEMSTRUCT);
void DrawFont(LPDRAWITEMSTRUCT);
void InitFonts ();
//{{AFX_MSG(CCustComboBox)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnDestroy();
//}}AFX_MSG
afx_msg long OnInitFonts (WPARAM, LPARAM);
DECLARE_MESSAGE_MAP()
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif //!defined(AFX_CUSTCOMBOBOX_H__F8528B4F_396E_11D1_9384_00A0248F6145__INCLUDED_)
// OwnerDrawCombo.cpp : implementation file
#include "stdafx.h"
#include "combobox.h"
#include "OwnerDrawCombo.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#define WM_INITFONTS (WM_USER + 123)
//I chose 123 cos nobody might use the same exact number.. I can improve this by use RegisterWindowMessage..
// COwnerDrawCombo
//Initial values of the text and highlight stuff
COwnerDrawCombo::COwnerDrawCombo()
m_enStyle = FONTS;
m_clrHilight = GetSysColor (COLOR_HIGHLIGHT);
m_clrNormalText = GetSysColor (COLOR_WINDOWTEXT);
m_clrHilightText = GetSysColor (COLOR_HIGHLIGHTTEXT);
m_clrBkgnd = GetSysColor (COLOR_WINDOW);
m_bInitOver = FALSE;
COwnerDrawCombo::COwnerDrawCombo (STYLE enStyle)
m_enStyle = enStyle;
m_clrHilight = GetSysColor (COLOR_HIGHLIGHT);
m_clrNormalText = GetSysColor (COLOR_WINDOWTEXT);
m_clrHilightText = GetSysColor (COLOR_HIGHLIGHTTEXT);
m_clrBkgnd = GetSysColor (COLOR_WINDOW);
m_bInitOver =FALSE;
COwnerDrawCombo::~COwnerDrawCombo()
BEGIN_MESSAGE_MAP(COwnerDrawCombo, CComboBox)
//{{AFX_MSG_MAP(COwnerDrawCombo)
ON_WM_CREATE()
ON_WM_DESTROY()
//}}AFX_MSG_MAP
ON_MESSAGE (WM_INITFONTS,OnInitFonts)
END_MESSAGE_MAP()
// COwnerDrawCombo message handlers
void COwnerDrawCombo::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
//I might want to add something else someday
switch (m_enStyle)
case FONTS:
DrawFont(lpDrawItemStruct);
break;
//I dont need the MeasureItem to do anything. Whatever the system says, it stays
void COwnerDrawCombo::MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct)
void COwnerDrawCombo::DrawFont(LPDRAWITEMSTRUCT lpDIS)
CDC* pDC = CDC::FromHandle(lpDIS->hDC);
CRect rect;
TRACE0 ("In Draw Font\n");
// draw the colored rectangle portion
rect.CopyRect(&lpDIS->rcItem);
pDC->SetBkMode( TRANSPARENT );
if (lpDIS->itemState & ODS_SELECTED)
pDC->FillSolidRect (rect,m_clrHilight);
pDC->SetTextColor (m_clrHilightText);
else
pDC->FillSolidRect (rect,m_clrBkgnd);
pDC->SetTextColor (m_clrNormalText);
if ((int)(lpDIS->itemID) < 0) // Well its negetive so no need to draw text
else
CString strText;
GetLBText (lpDIS->itemID,strText);
CFont newFont;
CFont *pOldFont;
((LOGFONT*)lpDIS->itemData)->lfHeight = 90; //9 point size
((LOGFONT*)lpDIS->itemData)->lfWidth = 0;
newFont.CreatePointFontIndirect ((LOGFONT*)lpDIS->itemData);
pOldFont = pDC->SelectObject (&newFont);
pDC->DrawText(strText, rect, DT_LEFT | DT_VCENTER | DT_SINGLELINE);
pDC->SelectObject (pOldFont);
newFont.DeleteObject ();
void COwnerDrawCombo::InitFonts ()
CDC *pDC = GetDC ();
ResetContent (); //Delete whatever is there
EnumFonts (pDC->GetSafeHdc(),NULL,(FONTENUMPROC) EnumFontProc,(LPARAM)this);//Enumerate
m_bInitOver = TRUE;
BOOL CALLBACK COwnerDrawCombo::EnumFontProc (LPLOGFONT lplf, LPTEXTMETRIC lptm, DWORD dwType, LPARAM lpData)
if (dwType == TRUETYPE_FONTTYPE) //Add only TTF fellows, If you want you can change it to check for others
int index = ((COwnerDrawCombo *) lpData)->AddString(lplf->lfFaceName);
LPLOGFONT lpLF;
lpLF = new LOGFONT;
CopyMemory ((PVOID) lpLF,(CONST VOID *) lplf,sizeof (LOGFONT));
((COwnerDrawCombo *) lpData)->SetItemData (index,(DWORD) lpLF);
return TRUE;
int COwnerDrawCombo::OnCreate(LPCREATESTRUCT lpCreateStruct)
if (CComboBox::OnCreate(lpCreateStruct) == -1)
return -1;
// TODO: Add your specialized creation code here
if (m_enStyle == FONTS)
//SetItemHeight(-1,30);
PostMessage (WM_INITFONTS,0,0);
return 0;
long COwnerDrawCombo::OnInitFonts (WPARAM, LPARAM)
InitFonts ();
return 0L;
void COwnerDrawCombo::OnDestroy()
if (m_enStyle == FONTS)
int nCount;
nCount = GetCount ();
for (int i = 0; i < nCount; i++)
delete ((LOGFONT*)GetItemData (i)); //delete the LOGFONTS actually created..
// TODO: Add your message handler code here
CComboBox::OnDestroy();
void COwnerDrawCombo::FillFonts ()
m_enStyle = FONTS;
PostMessage (WM_INITFONTS,0,0); //Process in one place
int COwnerDrawCombo::GetSelFont (LOGFONT& lf)
int index = GetCurSel ();
if (index == LB_ERR)
return LB_ERR;
LPLOGFONT lpLF = (LPLOGFONT) GetItemData (index);
CopyMemory ((PVOID)&lf, (CONST VOID *) lpLF, sizeof (LOGFONT));
return index; //return the index here.. Maybe the user needs it:-)
void COwnerDrawCombo::PreSubclassWindow()
// TODO: Add your specialized code here and/or call the base class
//Tried to do what Roger Onslow did for the button.. Did not work..?? Any R&D guys around :-)
Can anyone please let me know how can I achieve this.
Any help can be appreciated.
Thanks in advance
SivaVHi sivavuyyuru,
I cannot find a easy way to make this.
I think you may need to draw your own Combo Box control. And you could change the edit control more like static text. Check the article:
http://www.codeguru.com/cpp/controls/combobox/fontselectioncombos/article.php/c1795/Owner-Drawn-Font-Selection-Combobox.htm
In the resource editor, Owner draw -> variable , Has string->true, type->drop list.
The result:
Best regards,
Shu Hu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to align the text vertical in the edit box in mfc?
Hi,
I had an edit box of which height is increased than the default.Now the problem here is when I am entering text into the edit box the text is not present at the centre of the edit box, It is still aligned at the top.
After increasing the height of the edit box the text and cursor are aligned at the top as shown in the below figure.
But Actually how I want is the text and the cursor position needs to be aligned centre as shown in the below figure.
Note: "EDITTEXT IDC_EDIT_BOX,10,73,156,14,ES_AUTOHSCROLL"
Can anyone please help me how can I make the text and the position of the cursor to be aligned vertically i.e, to the centre of the control.
SivaVIf vertical alignment is not possible, then use an edit box without borders, having the default height, and place it inside a static control having
SS_WHITERECT style. (In MFC Dialog Editor, set the Type and Colour properties). Both of controls will be children of dialog. Use a proper tab order. Check if the style
WS_CLIPSIBLINGS is needed too. -
How to align the CSV file on upload?
Hi All,
I have to upload a CSV file as an attachment in a mail and the data's in the internal table which has to be uploaded in the CSV file are seperated using commas which on uploading appear in the CSV file in the same column but i need the data's to be seperated in different columns and different lines...
Pls help it is very urgent..
Thanks in Advance...Hi
For my understanding you are talking about download.
For that you have to concatenate each fields of final internal table (gt_itab for example) using comma as below.
TYPES: BEGIN OF ty_lines,
line(1023) TYPE c,
END OF ty_lines.
DATA: l_filename TYPE string VALUE 'C:\temp\abcd.csv',
gt_lines TYPE TABLE OF ty_lines,
gw_lines TYPE ty_lines.
LOOP AT gt_itab INTO gw_itab.
CONCATENATE gw_itab-f1
gw_itab-f2 .....
INTO gw_lines-line
SEPARATED BY ','.
APPEND gw_lines TO gt_lines.
ENDLOOP.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = l_filename
filetype = 'ASC'
confirm_overwrite = 'X'
no_auth_check = 'X'
TABLES
data_tab = gt_lines. -
How to align the components in panelGrid right?
I have a panelGrid with two column, the left column is a image and the right colum is commandLink.
<h:panelGrid border="0" columns="2" width="100%" columnClasses="headerColumn1, headerColumn2">
.headerColumn1 {
vertical-align: top;
width: 50;
.headerColumn2 {
vertical-align: top;
width: 100%;
text-align: right;
But the output is both column width are equal and the text in right column is align left. Can anyone points out what is the problem here?Check if the generated HTML and CSS outputs are correct.
-
How to align the output in a file?
Hello Experts,
The following code snippet:
CONCATENATE 'Material Number '
'Created By'
'Changed By'
'Material Type'
'Material Status'
'Material description'
cl_abap_char_utilities=>cr_lf
INTO g_data SEPARATED BY g_c_tab.
TRANSFER g_data TO p_pth_as.
LOOP AT g_t_output INTO g_r_output.
MOVE-CORRESPONDING g_r_output TO g_r_transfer.
CLEAR: g_data, g_r_output.
CONCATENATE g_r_transfer-matnr
g_r_transfer-ernam
g_r_transfer-aenam
g_r_transfer-mtart
g_r_transfer-mstae
g_r_transfer-maktx
cl_abap_char_utilities=>cr_lf
INTO g_data SEPARATED BY g_c_tab.
TRANSFER g_data TO p_pth_as.
produced output like this:
Material Number Created By Changed By Material Type Material Status Material description
000000000000000001 FRE8OT MES2KOR FERT Test
000000000000000002 FRE8OT RI78OT FERT Test
000000000000000011 JA72KOR JMR1KOR PROD new product group
000000000000000023 LAP8OT RI78OT FERT test mmam
000000000000000031 RI78OT RI78OT FERT Test-Test
000000000000000032 RI78OT RI78OT FERT Test-Test-Test
000000000000000037 RI78OT RI78OT FERT Testtest
000000000000000038 RI78OT RI78OT FERT Teeest
000000000000000061 PIM8OT ERSA test
000000000000000072 PIM8OT STK2KOR HAWA Test
000000000000010001 FRE8OT MES2KOR FERT
STNL HT88OT NNR3KOR HALB STNL
TESTMAT RI78OT RI78OT FERT Test-Material
TESTMATERIAL RI78OT RI78OT FERT Testmaterial
ZJA_TEST JMR1KOR SAB2KOR FERT Test
ZJA_TEST1 JMR1KOR SAB2KOR FERT test
ZJA_TEST2 JMR1KOR FERT test
ZJA_TEST23 JMR1KOR FERT test
But the output produced in the file should be formatted, so that every field values appear under the appropriate column heading.
Expecting suitable solution to produce formatted output.
Thanks and best regards,
Suresh
Edited by: Suresh S on Jan 19, 2009 10:54 AMHi,
Try using the psotioning .
For e.g.
write :/ 2 Material Number, 15 Material desc.
Hope this helps u.
Thanks & Regards -
CSS Drop down menu; how to align the right edge of drop down and parent menu?
Hello everyone,
I have a drop-down menu that is currently working well.
The only change I need to make is to have the right edge of the drop-down menu to align with the right edge of the parent menu. When you hover over the menu, it currently "drops" down and to the right, with the left edges aligned.
I want the menu to "drop" down and to the left, so the right edges are aligned.
I have tried fiddling with floats and absolute/relative positioning. I'm not sure what needs to be changed.
Any help you can provide is greatly appreciated! I'm learning via "cut and paste", so please go easy on any terminology you may use.
Thank you!
Here is my code:
.chromestyle{
width: 100%;
font-weight: bold;
float: left;
height: 29px;
.chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
.chromestyle ul{
border: 0px solid #BBB;
width: 100%;
background: url(chromebg.gif) center center repeat-x; /*THEME CHANGE HERE*/
padding: 4px 0;
margin: 0;
text-align: right; /*set value to "left", "center", or "right"*/
.chromestyle ul li{
display: inline;
.chromestyle ul li a{
color: #000000;
padding: 4px 7px;
margin: 0;
text-decoration: none;
border-left: 1px solid #DADADA;
.chromestyle ul li a:hover, .chromestyle ul li a.selected{ /*script dynamically adds a class of "selected" to the current active menu item*/
background: url(chromebg-over.gif) center center repeat-x; /*THEME CHANGE HERE*/
/* ######### Style for Drop Down Menu ######### */
.dropmenudiv{
position:absolute;
top: 0;
border: 1px solid #BBB; /*THEME CHANGE HERE*/
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
background-color: white;
width: 200px;
visibility: hidden;
.dropmenudiv a{
width: auto;
display: block;
text-indent: 3px;
border-bottom: 1px solid #BBB; /*THEME CHANGE HERE*/
padding: 2px 5px;
text-decoration: none;
font-weight: bold;
color: black;
* html .dropmenudiv a{ /*IE only hack*/
width: 100%;
.dropmenudiv a:hover{ /*THEME CHANGE HERE*/
background-color: #0000ff;
color: #fff200;Try this:
.chromestyle{
font-weight: bold;
height: 29px;
.chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
.chromestyle ul{
border: 0px solid #BBB;
width:100%;
background: url(chromebg.gif) center center repeat-x; /*THEME CHANGE HERE*/
padding: 4px 0;
margin: 0;
text-align: left; /*set value to "left", "center", or "right"*/
.chromestyle ul li{
display: inline;
.chromestyle ul li a{
color: #000000;
padding: 4px 7px;
margin: 0;
text-decoration: none;
border-left: 1px solid #DADADA;
.chromestyle ul li a:hover, .chromestyle ul li a.selected{ /*script dynamically adds a class of "selected" to the current active menu item*/
background: url(chromebg-over.gif) center center repeat-x; /*THEME CHANGE HERE*/
/* ######### Style for Drop Down Menu ######### */
.dropmenudiv{
position:absolute;
top: 0;
border: 1px solid #BBB; /*THEME CHANGE HERE*/
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
background-color: white;
visibility: hidden;
text-align:left;
.dropmenudiv a{
width: auto;
display: block;
border-bottom: 1px solid #BBB; /*THEME CHANGE HERE*/
padding: 3px;
text-decoration: none;
font-weight: bold;
color: black;
* html .dropmenudiv a{ /*IE only hack*/
width: 100%;
.dropmenudiv a:hover{ /*THEME CHANGE HERE*/
background-color: #0000ff;
color: #fff200;
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
Maybe you are looking for
-
Hi, How can we setup a file path so as by default it is not empty, in other words when running the VI, it would not ask to specify a file. Thanks
-
Vga to dvi with cinema displays?
are the aluminum apple cinema display DVI-I or DVI-D? we have some extras and some people with vga computers (analog out) want to use the monitors. will a vga to dvi-i adapter work with these displays? or are they dvi-d (digital signal only)? thanks
-
Problems trying to connect to a network printer
I am logged onto a network over a vpn. I am then trying to connect to the print services. If was using windows the following instructions are given: "You can print using icsafecom1, if you go to start, run and type in \\icsafecom1 then press ok it sh
-
This is mohan I am interested to develop j2me application on reliance platform so that i have downloaded J2ME Wireless Toolkit 1.0.4_02, j2sdk1.4.0 and i have downloaded reliance API From http://www.rcom.co.in/Rcom/aboutus/rdp/reliance_apis.html and
-
would like to know if anyone can help me.I want to type something out on my mac book and then copy it on my printer.Thank you