How to get text vertically centred in Li box
I am updating our company website in another area of the system which is why you'll see a tf in the web address I am about to give.
http://www.essentialfinance.net/tf/products/reconciling/accruals_manager.asp
Now, the problem I have is that the options in the boxes are aligned to the top.
I have had quite a problem understanding how to get these boxes to work so that they highlight when hovered etc, but eventually got there through some tutorial which seems to create a nav class hanging off the ul.
I have tried altering everything in the ul.nav, ul.nav li, ul.nav a regarding getting the text to vertical align centred but no success.
The css file is here:
http://www.essentialfinance.net/tf/main.css
I put that link in since someone may be able to pick out my faults.
I have only put a link to # (goes nowhere) to get the <a> code initialised.....
By the way - don't worry about the colour scheme... it's only temporary to test the functionality.
And I would not wander anywhere else in the site - it's a shambles which is why i'm looking at it.
Can anyone please advise? Thank you very much in advance for any feedback.
Terry
These forums are getting worse by the day. Try this link for the last time:
<http://www.mytechnet.talktalk.net/sidebar.txt>
If it works, it works otherwise tough luck.
Similar Messages
-
How to print text vertically in smart forms
hi,
Can any one tell how to print text vertically in smartforms
ADVANCE THANKS
GUHAPRIYANHI,
Chk out this thread.Maybe it proves helpful.
Re: vertical writing in smartforms
Regards,
Gayathri -
How to get Text for nodes in Tree Structure
Hi Friends,
How to get Text for nodes in Tree Structure
REPORT YFIIN_REP_TREE_STRUCTURE no standard page heading.
I N I T I A L I Z A T I O N
INITIALIZATION.
AUTHORITY-CHECK OBJECT 'ZPRCHK_NEW' :
ID 'YFIINICD' FIELD SY-TCODE.
IF SY-SUBRC NE 0.
MESSAGE I000(yFI02) with SY-TCODE .
LEAVE PROGRAM.
ENDIF.
class screen_init definition create private.
Public section
public section.
class-methods init_screen.
methods constructor.
Private section
private section.
data: container1 type ref to cl_gui_custom_container,
container2 type ref to cl_gui_custom_container,
tree type ref to cl_gui_simple_tree.
methods: fill_tree.
endclass.
Class for Handling Events
class screen_handler definition.
Public section
public section.
methods: constructor importing container
type ref to cl_gui_custom_container,
handle_node_double_click
for event node_double_click
of cl_gui_simple_tree
importing node_key .
Private section
private section.
endclass.
*& Classes implementation
class screen_init implementation.
*& Method INIT_SCREEN
method init_screen.
data screen type ref to screen_init.
create object screen.
endmethod.
*& Method CONSTRUCTOR
method constructor.
data: events type cntl_simple_events,
event like line of events,
event_handler type ref to screen_handler.
create object: container1 exporting container_name = 'CUSTOM_1',
tree exporting parent = container1
node_selection_mode =
cl_gui_simple_tree=>node_sel_mode_multiple.
create object: container2 exporting container_name = 'CUSTOM_2',
event_handler exporting container = container2.
event-eventid = cl_gui_simple_tree=>eventid_node_double_click.
event-appl_event = ' '. "system event, does not trigger PAI
append event to events.
call method tree->set_registered_events
exporting events = events.
set handler event_handler->handle_node_double_click for tree.
call method: me->fill_tree.
endmethod.
*& Method FILL_TREE
method fill_tree.
data: node_table type table of abdemonode,
node type abdemonode.
types: begin of tree_node,
folder(50) type c,
tcode(60) type c,
tcode1(60) type c,
tcode2(60) type c,
text(60) type c,
text1(60) type c,
text2(60) type c,
end of tree_node.
data: wa_tree_node type tree_node,
t_tree_node type table of tree_node.
wa_tree_node-folder = text-001.
wa_tree_node-tcode = text-002.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-003.
wa_tree_node-text1 = 'GR/IR aging'.
wa_tree_node-tcode2 = text-004.
wa_tree_node-text2 = 'Bank Balance'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
wa_tree_node-folder = text-005.
wa_tree_node-tcode = text-006.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-007.
wa_tree_node-text1 = 'Creditors ageing'.
wa_tree_node-tcode2 = text-008.
wa_tree_node-text2 = 'Creditors ageing'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
wa_tree_node-folder = text-009.
wa_tree_node-tcode = text-010.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-011.
wa_tree_node-text1 = 'Creditors ageing'.
wa_tree_node-tcode2 = text-012.
wa_tree_node-text2 = 'Creditors ageing'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
node-hidden = ' '. " All nodes are visible,
node-disabled = ' '. " selectable,
node-isfolder = 'X'. " a folder,
node-expander = ' '. " have no '+' sign forexpansion.
loop at t_tree_node into wa_tree_node.
at new folder.
node-isfolder = 'X'. " a folder,
node-node_key = wa_tree_node-folder.
clear node-relatkey.
clear node-relatship.
node-text = wa_tree_node-folder.
node-n_image = ' '.
node-exp_image = ' '.
append node to node_table.
endat.
at new tcode .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode.
node-text = wa_tree_node-text .
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
endat.
append node to node_table.
at new tcode1 .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode1.
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = wa_tree_node-text1.
endat.
append node to node_table.
at new tcode2 .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode2.
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = wa_tree_node-text2.
endat.
append node to node_table.
endloop.
call method tree->add_nodes
exporting table_structure_name = 'ABDEMONODE'
node_table = node_table.
endmethod.
endclass.
*& Class implementation
class screen_handler implementation.
*& Method CONSTRUCTOR
method constructor.
create object: HTML_VIEWER exporting PARENT = CONTAINER,
LIST_VIEWER exporting I_PARENT = CONTAINER.
endmethod.
*& Method HANDLE_NODE_DOUBLE_CLICK
method handle_node_double_click.
case node_key(12).
when 'Creditors'.
submit YFIIN_REP_CREADITORS_AGING via selection-screen and return.
when 'Vendor'.
submit YFIIN_REP_VENDOR_OUTSTANDING via selection-screen and return.
when 'Customer'.
submit YFIIN_REP_CUSTOMER_OUTSTANDING via selection-screen and
return.
when 'GR/IR'.
submit YFIIN_REP_GRIR_AGING via selection-screen and return.
when 'Acc_Doc_List'.
submit YFIIN_REP_ACCOUNTINGDOCLIST via selection-screen and return.
when 'Bank Bal'.
submit YFIIN_REP_BANKBALANCE via selection-screen and return.
when 'Ven_Cus_Dtl'.
submit YFIIN_REP_VENDORCUST_DETAIL via selection-screen and return.
when 'G/L_Open_Bal'.
submit YFIIN_REP_OPENINGBALANCE via selection-screen and return.
when 'Usr_Authn'.
submit YFIIN_REP_USERAUTHRIZATION via selection-screen and return.
endcase.
endmethod.
endclass.
Program execution ************************************************
load-of-program.
call screen 9001.
at selection-screen.
Dialog Modules PBO
*& Module STATUS_9001 OUTPUT
text
module status_9001 output.
set pf-status 'SCREEN_9001'.
set titlebar 'TIT_9001'.
call method screen_init=>init_screen.
endmodule. " STATUS_9001 OUTPUT
Dialog Modules PAI
*& Module USER_COMMAND_9001 INPUT
text
module user_command_9001 input.
endmodule. " USER_COMMAND_9001 INPUT
*& Module exit_9001 INPUT
text
module exit_9001 input.
case sy-ucomm.
when 'EXIT'.
set screen 0.
endcase.
endmodule.
exit_9001 INPUTyou can read the table node_table with nody key value which imports when docubble click the the tree node (Double clifk event).
Regards,
Gopi .
Reward points if helpfull. -
How to draw text vertically, or in an angle
please help me how to draw text vertically, or in an angle
I robbed the framework from Dr Las or 74phillip (don't remember which) ...
import java.awt.*;
import java.awt.geom.*;
import javax.swing.*;
import javax.swing.event.*;
public class AngleText extends JPanel {
private int degrees = 16;
private JSpinner degreesSpinner;
public AngleText () {
setBackground ( Color.WHITE );
} // AngleText constructor
protected void paintComponent ( Graphics _g ) {
super.paintComponent ( _g );
Graphics2D g = (Graphics2D)_g;
g.setRenderingHint ( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON );
AffineTransform at = AffineTransform.getRotateInstance ( Math.toRadians ( degrees ) );
Font f = g.getFont();
g.setFont ( f.deriveFont ( at ) );
g.drawString ( "Rotating Text!", getWidth()/2, getHeight()/2 );
g.setRenderingHint ( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF );
} // paintComponent
public JPanel getUIPanel () {
SpinnerModel degreesModel = new SpinnerNumberModel (
degrees // initial
,0 // min
,360 // max
,2 // step
degreesSpinner = new JSpinner ( degreesModel );
degreesSpinner.addChangeListener ( new DegreesTracker() );
JPanel panel = new JPanel();
panel.add ( degreesSpinner );
return panel;
} // getUIPanel
// DegreesTracker
private class DegreesTracker implements ChangeListener {
public void stateChanged ( ChangeEvent e ) {
Integer i = (Integer)((JSpinner)e.getSource()).getValue();
degrees = i.intValue ();
repaint();
} // DegreesTracker
// main
public static void main ( String[] args ) {
JFrame f = new JFrame ( "AngleText" );
f.setDefaultCloseOperation ( JFrame.EXIT_ON_CLOSE );
AngleText app = new AngleText();
f.getContentPane().add ( app );
f.getContentPane().add ( app.getUIPanel(), BorderLayout.SOUTH );
f.setSize ( 200, 200 );
f.setVisible ( true );
} // main
} // AngleText -
How to display TEXT vertically in SMART FORM
Hai,
I need to display the column name of a table vertically (readable from bottom to top) in smart form.
Could any one please tell me how to do this?
Thanks & Best Regards,
Maniyam Bhaskar.Hi,
Go through these threads for the discussions happened on similar issue... hope it helps you..
how to print text vertically in smart forms
vertical and horizontal printing in same page with smartforms or sapscript
Good luck
Narin -
How to get text when mousing over image?
Hey there, I am extremely new to Flash, but know other Adobe programs so tend to learn quickly.
I desperately need to find out how to get text to pop up when i mouse over PART of the image and i havent been able to find any help online in the last two days (pulling my hair out in stress).
Now i uploaded a rough mock up i did on Photoshop, so you can see when i mouseover the top layer of the cake i need a line to stretch out and the text to pop up at the end of it. Similarly if i moused over the cherry another piece of text needs to come up in the same manor.
Also since i need it to be a website link so what format do i open it with when i go to FILE- NEW?
Honestly thank you so much in advance to anyone that helpsFirst you have to choose if you want to handle devices. If not and you want to stay in Flash I'll stick on topic.
In the HTML version you could either use a good old fashioned image map (they're still fine in the HTML5 era) or you could use a layering technique (here's a random layering example).
In Flash you can do it a few different ways. If you intend on keeping the image intact as a single object then you'll be essentially doing the same as an image map. You can draw invisible hitareas on the various parts of the object and have those areas trigger a specific function that will display your text. If you break up the image into the separate parts then you can directly assign those parts to fire off a function themselves.
First I'd like to know your desired direction. -
How to get Text from (.txt) file to display in the JTextArea ?
How to get Text from (.txt) file to display in the JTextArea ?
is there any code please tell me i am begginer and trying to get data from a text file to display in the JTextArea /... please help...public static void readText() {
try {
File testFile = new File(WorkingDirectory + "ctrlFile.txt");
if (testFile.exists()){
BufferedReader br = new BufferedReader(new FileReader("ctrlFile.txt"));
String s = br.readLine();
while (s != null) {
System.out.println(s);
s = br.readLine();
br.close();
catch (IOException ex){ex.printStackTrace();}
}rykk -
Help: how to get text from IFRAME
<!-- The box where we type-->
<IFRAME class="mytext" width="100%" ID="mytext" height="200">
</IFRAME>
someone can tell me how i get text in my servlet from
<IFRAME>
thankx in advance...someone can tell me how i get text in my servlet from
<IFRAME>
thankx in advance...Hmm. I think you are mixing something up here. Why would you use an IFrame for entering text? IFrame is used for including content from different HTML-pages inside your page.
If you want to have a textbox for an user to enter text into and submit it to a server, you need a form and a textarea inside that. Like this:
<form action="myServlet" method="post">
<textarea name="myArea">
</textarea>
<input type="Submit" value="Ok">
</form>Change the action in the form to reflect the mapping to your servlet.
Then you can just do a String enteredText = request.getParameter( "myArea" ); inside your servlet.
If you insist that you need to use an IFrame, I guess the only way to do it would be to write a Javascript function, that copies the contents from the IFrame to a hidden field before the page is submitted to your servlet. In your servlet you would read the value from the hidden field.
.P. -
How to get text lables in x axis for xcelsius bubble chart
Hi
How to get text values in x axis for xcelsius bubble chart
I have data as follows
x axis: closed/qualification/lost
y axis: deal age
z axis: amount(bubble size)
ThanksIf you are using Xcelsius 2008 SP3 you will be able to do this.
-
Cannot use Messaging after updating to KitKat. Says Messaging not available. Please advise how to get texting back.
I want to ensure that you're device is running top notch! Do you receive the "Messaging not available" upon entering the Message app? I would suggest heading into Settings > Applications > Manage Applications > All and clearing data / cache from the app. If you don't see improve here I would suggest testing the device in Safe Mode: http://vz.to/1m9ArqO
YosefT_VZW
Follow us on Twitter @VZWSupport -
How to get the Vertical scale of Osilloscope TDS 420A ?
Hellow!
Anyone can tell me how to get the Vertical scale of TDS 420A? i use "TKTDS read waveform.VI" to show the waveform in a Waveform indicator,but the Vertical scale is not the same as the osilloscope. Thanks!Hi happybird,
I installed the TKTDS instrument drivers and had a look at the TKTDS Read Waveform.vi. I couldn't find any way to change the scale of the waveform graph. The data displayed should be the same that is measured by the scope. Try running the TKTDS 420 Getting Started VI that is located in:
All functions >> Instrument I/O >> Instrument Drivers >> Tktds4xx VIs >> Application Example VI's
I don't have access to a TKTDS 420 myself, but I hope the example VI displays the correct value. If it does then it is a matter of finding out what is different in your VI. Good luck.
Michael Chaney
Systems Engineer - TestStand
National Instruments -
HT202305 How to get text erase from I phone
how to get text messages erase from I phone 6
Do your contacts appear at http://www.iCloud.com after signing in?
If so, you just follow the iCloud Setup instructions here: http://www.apple.com/uk/icloud/setup/mac.html -
how to get text verable value
Scenaior
IN a query designer ,I had create a formula, this formual use two selection ,and this formula description must use text variable ,
this variable must get current system time and make a offset like+1 or +2,how can i do this I know SAP have stander text variable 0cmontht can get current system time ,but It is can not offset
any one can help me
regard
wenlongHi Wenlong,
U can create a text variable of type 'user exit' and wirte code in backend to offset the value.
Regards,
Rathy -
How to get text to align to the very top of a DIV?
How to get text to align to the very top of a DIV?
There is a gap at the top. I am using in this example H1 and
a paragraph tag.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Text Alignment</title>
<style type="text/css">
body {
background-color: #4a7186;
p {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 2em;
margin: 0px;
padding: 0px;
h1 {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 3em;
margin: 0px;
padding: 0px;
#box1 {
width: 450px;
background-color: #FFFFFF;
margin-right: auto;
margin-left: auto;
margin-top: 30px;
padding: 0px;
margin-bottom: 0px;
#box2 {
width: 300px;
background-color: #FFFFFF;
margin-right: auto;
margin-left: auto;
margin-top: 30px;
padding: 0px;
margin-bottom: 0px;
</style>
</head>
<body>
<div id="box1">
<h1>Lorem ipsum H1</h1>
</div>
<div id="box2">
<p>Lorem ipsum P</p>
</div>
</body>
</html><h1 style="margin-top:0;">Lorem ipsum H1</h1>
It's a margin issue in SOME browsers.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"davidhelp" <[email protected]> wrote in
message
news:gpbg8q$8c6$[email protected]..
> How to get text to align to the very top of a DIV?
> There is a gap at the top. I am using in this example H1
and a paragraph
> tag.
>
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
> <title>Text Alignment</title>
> <style type="text/css">
> body {
> background-color: #4a7186;
> }
> p {
> font-family: Georgia, "Times New Roman", Times, serif;
> font-size: 2em;
> margin: 0px;
> padding: 0px;
> }
>
>
>
> h1 {
> font-family: Georgia, "Times New Roman", Times, serif;
> font-size: 3em;
> margin: 0px;
> padding: 0px;
> }
>
> #box1 {
> width: 450px;
> background-color: #FFFFFF;
> margin-right: auto;
> margin-left: auto;
> margin-top: 30px;
> padding: 0px;
> margin-bottom: 0px;
> }
>
> #box2 {
> width: 300px;
> background-color: #FFFFFF;
> margin-right: auto;
> margin-left: auto;
> margin-top: 30px;
> padding: 0px;
> margin-bottom: 0px;
> }
> </style>
> </head>
>
> <body>
>
> <div id="box1">
> <h1>Lorem ipsum H1</h1>
> </div>
>
> <div id="box2">
> <p>Lorem ipsum P</p>
> </div>
>
> </body>
> </html>
>
> -
How to get text into a timeline
I do not understand how to get text into a timeline in Premiere Pro. I can work in titles more or less, change fonts and sizes, but I do not get how to insert the text into the timeline. Am I even starting at the right place, going into "titles" first?
Once you have made your title, drag it from the project panel to V2 on your timeline above your other footage.
Maybe you are looking for
-
Report with OLE Object Problem (Crystal Report 11)
Post Author: ibertola CA Forum: General Hi all,I'm a new user, and I've got a problem with OLE object. I would like to have a report that show me ONLY one of many OLE (word document) in Crystal structure.I've created 3 section detail, and in each one
-
Is there a way to create a safe list for some of my cookies?
I would like to create a safe list of cookies so I can clear all the rest at one shot without searching through the whole list. Can this be done in Firefox?
-
Album Art not showing in full screen?
Hi, I added artwork to audio tracks on my Ipod Nano, this process seems easy enough but when the song is playing and I click the center button to expand the art work it doesn't display in full screen. It displays as almost a thumbnail centered in a w
-
Problems in object creation with designer 6i
I have installed Oracle 8 (ver 8.1.6 R2) on Linux Server (Red hat 6.2 )and Designer Designer 6i (ver6.5.28.8.0) on my NT PC Client Repository I have Installed successfully. Listner is working well. Repository Admin utility also working OK and connect
-
Missing the jbo:PostChange in UIX ????
Hello I studied the old OnlineOrder Application (BC4J). In this application the primary key for the order entity was created through a trigger on the order table. Before doing a <jbo:commit> there was posted a <jbo:PostChange> to send the rowdata to