Grid-Container Centering Issue
Could someone please help me with a little issue I'm having? When I create a new fluid-grid layout, save the css file in the appropriate file, then save my project as "index.html", then save the fluid-grid dependent files when prompted "boilerplate" "respond.min", for some reason the grid-container in dreamweaver isn't lined up with the columns. The grid-container is shifted off to the right, off-center by 2-3 columns. Any reason why this might be happening?
Hi Nancy O.
Thank you very much for replying. I'm using Dreamweaver via Creative Cloud, and recently I upgraded to Dreamweaver CC (2014), but had been using an older build...simply Dreamweaver CC. Since my post, I opened the 2014 version, and my grid-container is centering as before. Who knows what was causing it, but it seems all is aok now.
Thanks again!
Ryan
Similar Messages
-
Hi All,
I have a question on container aligment. I have a series of 5 label/button combinations. I want the labels to right justify against the buttons. How would I do this? Hbox and Vbox dont seem to offer the aligning I want. e.g.,
0-99: btn1
100-199: btn2
200-299: btn3
Is there a grid container in 3.0? or is there a better/easier way to do this? It seems like it should be an easy problem. Thanks, Billthank you for the input. This application will also have other sections including a pie chart and another section with some button options.
Is there a grid container or some option to right align widgets inside of a container widget? -thanks -
How to make Grid container full size
I am building a custom calendar control similar to Google
Calendars functionality.
I have done this with a Grid, GridRow and GridItems. However,
I have found the only way to force the Grid to the size I want is
by explictly sizing the GridItems. I would prefer to have a
solution where the user could expand the control and have the
calendar control expand accordingly. Therefore I would like the
Grid container to basically autosize the columns/rows accordingly
to fill out as much space as it is allotted.
Is this possible? Am I just doing something wrong? Everything
I read says that the Grid works hard to be the minimal size it
needs to be. I want to have some dedicated realestate for the
GridItems however I don't want to have to hardcode the dimensions
so it can scale accordingly.
Thanks
Jeff
P.S. I am in the process of a RIA framework selection and
this calendar component is a huge area of concern. So - this is an
important decision criteria for my evaluation.I don't work with Grid much, it is pretty expensive from a
layout perspective.
But if setting height and width to 100% doesn't work,
remember that you can use binding brackets to assign those values.
eg. width="{this.width/7}"
Fyi, I built a calendar using repeater in a canvas. I just
calculated the x,y positions of the Day components based on a week
index and a day index.
Tracy -
Advanced data grid header scrolling issues
Advanced data grid header scrolling issues
i fix the header width like 150 then am giving header text "planned final review" it display only planned final... review is not display when i scrol the mouse review word is display give me any idea avoid this issues without changeing the widthAdvanced data grid header scrolling issues
i fix the header width like 150 then am giving header text "planned final review" it display only planned final... review is not display when i scrol the mouse review word is display give me any idea avoid this issues without changeing the width -
Update - Lightbox Display Centering Issue
Upon updating my Adobe Muse software, it appears its created an issue that effects my lightbox display composition widgets. They don't seems to be centered in the webpage anylonger? Help?
Hi Mark,
Unfortunately you hit a bug that causes the lightbox to be off center. This happens if the Target inside the Container for each Composition widget has different strokes for different states.
Until we release a fix for the bug, please make sure you use the same stroke for all the states of a Target, or do not use a stroke at all for that Target. In your case, the Normal/Rollover/Mouse Down states all have a red stroke, while the Active state has no stroke. You can easily select each Target using Layers panel, and then from the states panel select the Active state and use the delete button from the lower-right corner to clear that state's customizations, including stroke.
Sorry about the inconvenience. Let us know if workaround fixes the issue for you. -
Hi SAP Experts,
Currently I have ALV Grid table as below as example :
FIELD1
FIELD2
Account
Amount
1. Rev
1.Rev
Acct1
100.00
1. Rev
1.Rev
Acct2
50.00
Subtotal FIELD2 (1.Rev)
150.00
Subtotal FIELD1 (1.Rev)
150.00
2. Cost
2.1 Cost1
Acct3
100.00
2. Cost
2.1 Cost1
Acct4
75.00
Subtotal FIELD2 (2.1 Cost1)
175.00
2. Cost
2.2 Cost2
Acct5
25.00
Subtotal FIELD2 (2.2 Cost 2)
25.00
| Subtotal FIELD1 (2.Cost) | 200.00 |
I have 2 questions.
First, as you can see, I have 2 subtotal for 1.Rev eventhough 1.Rev actually only need one subtotal because there is no subgroup for 1.Rev. Is it possible to have only one subtotal for this 1.Rev but I still maintained 2 subtotal for 2.Cost because 2.Cost has subgroup?
My 2nd issue is I need to insert another row exactly below Subtotal FIELD1 (2.Cost) row like this:
Gross Margin
(Some formula)
This row does not come from any sub total. The problem is I can not just insert this column and put Gross Margin description in FIELD1 because I will have 3 row like below :
Gross Margin
(Formula)
Subtotal FIELD2 (blank)
(Formula) sub total
Subtotal FIELD1 (Gross Margin)
(Formula) sub total
Is there any way I can insert Gross Margin Row without creating new subtotal for it so it will only have one line in the ALV Grid table? Please help. Thank you.
Regards,
AbrahamHi Vijay.
I'm not posting this before I search everywhere and this is not the first time I post in this forum so I know what I should do before posting. If I miss something, maybe you can give me at least a hint whether it can be done or not.
This report that I am using is ALV Grid using REUSE_ALV_GRID_DISPLAY function module and not OOP using dialog module. I never said I need sample code because I only want to know is there a way to do that using ALV Grid which until now I will say that SAP ALV grid has this limitation where you can not insert row without including it in the subtotal.
So, I would be very thankful if someone can give me some clarity on this thing and Vijay, if you really don't know what is the answer, I really appreciate if you can hold your self from making that kind of reply. It does not need experienced ABAP Consultant to write such remarks. Thanks.
Regards,
Abraham -
Fluid Grid Layout Alignment Issue
I'm using Dreamweaver CC Fluid Grid Layout. This is my first time using Dreamweaver, (and first time posting to Adobe Community) so I don't have a ton of experience. Somehow, the whole body of all my pages has been aligned left and I can't find anywhere in the CSS or the HTML of the individual pages that would make it do so. I even tried inserting a body: align: center in the CSS and also in the HTML of each page and it just won't respond. Does anyone have any ideas? I'd really REALLY appeciate some help with this because I'm totally at a loss. Below is my CSS and the HTML for my index.html .
CSS
@charset "UTF-8";
/* Simple fluid media
Note: Fluid media requires that you remove the media's height and width attributes from the HTML
http://www.alistapart.com/articles/fluid-images/
img, object, embed, video {
max-width: 100%;
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
width:100%;
Dreamweaver Fluid Grid Properties
dw-num-cols-mobile: 4;
dw-num-cols-tablet: 8;
dw-num-cols-desktop: 12;
dw-gutter-percentage: 25;
Inspiration from "Responsive Web Design" by Ethan Marcotte
http://www.alistapart.com/articles/responsive-web-design
and Golden Grid System by Joni Korpi
http://goldengridsystem.com/
.fluid {
clear: both;
margin-left: 0;
width: 100%;
display: block;
color: #FFFFFF;
font-family: source-sans-pro;
font-style: normal;
font-weight: 200;
float: left;
.fluidList {
list-style:none;
list-style-image:none;
margin:0;
padding:0;
/* Mobile Layout: 480px and below. */
.gridContainer {
margin-left: auto;
margin-right: auto;
width: 86.45%;
padding-left: 2.275%;
padding-right: 2.275%;
clear: none;
float: none;
body {align-content:center}
#top {
margin-left: auto;
margin-right: auto;
text-align: center;
font-family: source-sans-pro;
font-style: normal;
font-weight: 600;
#top {
background-color: #1f1f1f;
#mainnav {
background-color:#1F1F1F
#menuSystem {
.menuItem {
margin-top: 9px;
margin-bottom: 2px;
padding-top: 2px;
padding-bottom: 2px;
text-align: center;
color: #FFFFFF;
background-color: #1f1f1f;
width: 100%;
clear: both;
margin-left: 0;
padding-left: 0px;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
letter-spacing: 2pt;
text-transform: uppercase;
.gridContainer.clearfix #top h1 {
color: #FFFFFF;
font-family: fredericka-the-great;
font-style: normal;
font-weight: 400;
text-align: center;
text-transform: uppercase;
letter-spacing: 5pt;
#hero {
h2 {
font-family: source-sans-pro;
font-style: normal;
font-weight: 200;
text-align: center;
margin-right: 0%;
margin-top: 10%;
text-decoration: overline;
color: #FFFFFF;
#footer {
background-color: #1F1F1F;
color: #FFFFFF;
text-align: left;
#wrapper {
background-color: #2D2D2D;
font-family: source-sans-pro;
position: static;
display: inline;
#childpageimage {
width: 59%;
padding-top: 0px;
padding-bottom: 0px;
padding-right: 2px;
#content2 {
color: #FFFFFF;
font-family: source-sans-pro;
font-style: normal;
font-weight: 400;
text-align: left;
text-indent: 0px;
padding-left: 10px;
padding-right: 10px;
width: 100%;
clear: both;
margin-left: 0;
float: left;
contentgallery {
color:#FFFFFF;
table {
color: #FFFFFF;
font-family:source-sans-pro;
#childpageimage2 img {
width: 50%;
float: left;
top: 0px;
padding-top: 5px;
#content3 {
color: #FFFFFF;
font-family: source-sans-pro;
font-style: normal;
font-weight: 200;
text-align: left;
padding-left: 10px;
padding-right: 10px;
#contact {
width: 100%;
clear: both;
margin-left: 0;
float: right;
#contenttitle {
width: 100%;
color: #FFFFFF;
text-decoration: overline;
body {align-content:center}
#content {
width: 100%;
clear: both;
margin-left: 0;
color: #FFFFFF;
font-family: source-sans-pro;
font-style: normal;
font-weight: 200;
.zeroMargin_mobile {
margin-left: 0;
.hide_mobile {
display: none;
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {
.gridContainer {
width: 90.675%;
padding-left: 1.1625%;
padding-right: 1.1625%;
clear: none;
float: none;
margin-left: auto;
a {
color:#FFFFFF;
text-decoration:none;
a:hover {color:#843F93;
#top {
#mainnav {
#menuSystem {
.menuItem {
width: 23.0769%;
clear: none;
margin-left: 2.5641%;
#hero {
#footer {
#wrapper {
position: static;
#childpageimage {
width: 100%;
#content2 {
width: 100%;
clear: both;
margin-left: 0;
#content3 {
#contact {
width: 10.2564%;
clear: both;
margin-left: 0;
#contenttitle {
width: 100%;
#content {
width: 100%;
clear: both;
margin-left: 0;
.hide_tablet {
display: none;
.zeroMargin_tablet {
margin-left: 0;
/* Desktop Layout: 769px to a max of 1232px. Inherits styles from: Mobile Layout and Tablet Layout. */
@media only screen and (min-width: 769px) {
.gridContainer {
width: 88.5%;
max-width: 1232px;
padding-left: 0.75%;
padding-right: 0.75%;
margin: auto;
clear: none;
float: left;
margin-left: auto;
#top {
#mainnav {
#menuSystem {
.menuItem {
width: 23.7288%;
margin-left: 1.6949%;
clear: none;
#hero {
#footer {
#wrapper {
position: relative;
height: 0%;
#childpageimage {
width: 49.1525%;
#content2 {
width: 57.6271%;
font-size: large;
margin-left: 1.6949%;
clear: none;
#content3 {
#contact {
width: 6.7796%;
margin-left: 1.6949%;
clear: none;
#contenttitle {
width: 32.2033%;
#content {
width: 40.6779%;
margin-left: 1.6949%;
clear: none;
.zeroMargin_desktop {
margin-left: 0;
.hide_desktop {
display: none;
index.html
<!doctype html>
<!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
<!--[if IE 7]> <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8]> <html class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="">
<!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Kate Farrow</title>
<style type="text/css">
body {background-color:#1F1F1F;} </style>
<link href="boilerplate.css" rel="stylesheet" type="text/css">
<link href="fluidgrid.css" rel="stylesheet" type="text/css">
<!--
To learn more about the conditional comments around the html tags at the top of the file:
paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
* insert the link to your js here
* remove the link below to the html5shiv
* add the "no-js" class to the html tags at the top
* you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
-->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="respond.min.js"></script>
<!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.--><script>var __adobewebfontsappname__="dreamweaver"</script><script src="http://use.edgefonts.net/source-sans-pro:n2,n6,n4:default;fredericka-the-great:n4:default. js" type="text/javascript"></script>
</head>
<body>
<div class="gridContainer clearfix"><div id="wrapper" class="fluid">
<header id="top" class="fluid"><aside id="contact" class="fluid">
<div align="center"><a href="http://www.linkedin.com/in/farrowkate" style="text-decoration:none;"><span style="font: 80% Arial,sans-serif; color:#0783B6;"><img src="http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_in_20x15.png" width="40" height="30" alt="View Kate Farrow's LinkedIn profile" style="vertical-align:middle" border="0"></span></a></div>
</aside>
<h1 align="center">Kate Farrow</h1>
<nav id="mainnav" class="fluid">
<div align="center">
<ul id="menuSystem" class="fluid fluidList">
<li class="fluid menuItem zeroMargin_desktop zeroMargin_tablet"><a href="index1.html">Home</a></li>
<li class="fluid menuItem"><a href="about.html">About</a></li>
<li class="fluid menuItem"><a href="work.html">Work</a></li>
<li class="fluid menuItem"><a href="resume.html">ResumÉ</a></li>
</ul>
</div>
</nav>
</header><div id="hero" class="fluid"><img src="140210_Kate_044.jpg" alt=""/></div>
<div id="contenttitle" class="fluid">
<h2>Who am I?</h2>
</div>
<article id="content2" class="fluid">
<p>My name is <strong>Kate Farrow</strong>. </p>
<p>I’m a creative spirit with a great imagination, a passion for writing, and a knack for web strategy. Check out my work to see what I’m talking about.</p>
</article>
<footer id="footer" class="fluid">
<p> </p>
<p>© Kate Farrow 2014. Photography © L. Farrow and J. Sandhu</p>
<p> </p>
</footer>
</div></div>
</body>
</html>The "align" attribute is obsolete. See centering Pages, Images and other elements with CSS
http://cookbooks.adobe.com/post_Centering_web_pages_and_other_elements_with_CSS-16640.html
FluidGrids are for experienced web designers who already understand the core concepts of HTML, CSS and Advanced CSS Media Queries. Don't bite off more than you can chew for a 1st project. Start with a stable, fixed-width layout. When you become proficient with that, then you can take on more challenges.
Go to File > New > Blank page > HTML. Select a layout from the 3rd panel. Hit Create.
Creating your first web site in DW - (5-part tutorial)
http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
Nancy O. -
could anybody advice, ALV GRID FM(field catalog issue)is getting short dump, but workig fine for ALV LIST.
PERFORM create_field_catalog USING:
'TRAFFIC_LIGHT' ' ' 15 'Status' 'Status' ' ',
'VKORG' ' ' 15 'Sales Org' 'Sales Org' ' ',
'VTWEG' ' ' 15 'Dist Channel' 'Dist Channel' ' ',
'KUNRG' ' ' 15 'Payer' 'Payer' ' ',
'PAYER' ' ' 15 'Payer Name' 'Payer Name' ' ',
'KUNAG' ' ' 15 'Ship-To' 'Ship-To' ' ',
'SHIPTO' ' ' 15 'Ship-To Name' 'Ship-To Name' ' ',
'SHIPTOPAR' ' ' 15 'Bill to Party' 'Bill To Party' ' ',
'KDGRP' ' ' 15 'Customer Grp' 'Customer Grp' ' ',
'ZCUSTPO' ' ' 15 'Customer PO' 'Customer PO' ' ',
'VBELN' ' ' 15 'Billing Doc' 'Billing Doc' ' ',
'FKDAT' ' ' 15 'Billing Date' 'Billing Date' ' ',
'FKART' ' ' 15 'Billing Type' 'Billing Type' ' ',
'ZOUTPUT' ' ' 15 'Output Type' 'Output Type' ' ',
'NETWR' ' ' 15 'Net Value' 'Net Value' 'X',
'KWERT' ' ' 15 'Total VAT' 'Total VAT' 'X',
'WAERK' ' ' 15 'Currency' 'Currency' ' ',
'XBLNR' ' ' 15 'Reference' 'Reference' ' ',
'DELNO' ' ' 15 'Delivery #' 'Delivery #' ' ',
'TLINE' ' ' 15 'Manifest #' 'Manifest #' ' ',
'ZBOL' ' ' 15 'Bill Of Ldng' 'Bill of Ldng' ' ',
'LIFEX' ' ' 15 'Ext Del #' 'Ext Del #' ' ',
'POSNR' ' ' 15 'Item' 'Item' ' ',
'MATNR' ' ' 18 'Material' 'Material' ' ',
'KDMAT' ' ' 15 'Cust Matl' 'Cust Matl' ' ',
'WERKS' ' ' 15 'Plant' 'Plant' ' ',
'ZZPLAT' ' ' 10 'Platform' 'Platform' ' ',
'ZZPRONUM' ' ' 10 'Program' 'Program' ' ',
'ZZPROCODE' ' ' 10 'Prod Code' 'Prod Code' ' ',
'FKIMG' ' ' 15 'Qty' 'Qty' ' ',
'VRKME' ' ' 15 'UoM' 'UoM' ' ',
'ARKTX' ' ' 15 'Description' 'Description' ' ',
'KBETR' ' ' 15 'Price' 'Price' ' ',
'VATRT' ' ' 15 'VAT Rate' 'VAT Rate' ' ',
'KWERT_D' ' ' 15 'Item VAT' 'Item VAT' 'X',
'NETWR_D' ' ' 15 'Item Net Value' 'Item Net Value' 'X',
'VGBEL' ' ' 15 'Ref Document' 'Ref Document' ' ',
'VGPOS' ' ' 13 'Ref Doc Line' 'Ref Doc Line' ' ' .
FORM create_field_catalog USING fieldname TYPE c
inttype TYPE c
outputlen TYPE i
coltext TYPE c
seltext TYPE c
do_sum TYPE c.
DATA: l_f_fieldcat TYPE slis_fieldcat_alv.
l_f_fieldcat-fieldname = fieldname.
l_f_fieldcat-inttype = inttype.
l_f_fieldcat-outputlen = outputlen.
l_f_fieldcat-seltext_m = coltext.
l_f_fieldcat-seltext_l = seltext.
l_f_fieldcat-reptext_ddic = coltext.
l_f_fieldcat-do_sum = do_sum.
APPEND l_f_fieldcat TO t_field_catalog.
CLEAR l_f_fieldcat.
ENDFORM. "CREATE_FIELD_CATALOG
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
i_callback_user_command = 'F_USER_COMMAND'
i_grid_settings = f_grid_settings
is_layout = f_grid_layout
is_print = f_print_settings
i_background_id = 'BACK'
it_events = t_events[]
it_fieldcat = t_field_catalog
it_sort = t_sortcat[]
i_default = 'X'
i_save = 'A'
is_variant = f_variant
TABLES
t_outtab = t_output4
EXCEPTIONS
program_error = 1
OTHERS = 2.BEGIN OF t_output4 OCCURS 0,
traffic_light TYPE c,
vkorg LIKE vbrk-vkorg,
vtweg LIKE vbrk-vtweg,
kunrg LIKE vbrk-kunrg,
payer LIKE adrc-name1,
kunag LIKE vbrk-kunag,
shipto LIKE adrc-name1,
shiptopar LIKE likp-kunnr,
kdgrp LIKE vbrk-kdgrp,
zcustpo LIKE vbkd-bstkd,
vbeln LIKE vbrk-vbeln,
fkdat LIKE vbrk-fkdat,
fkart LIKE vbrk-fkart,
zoutput LIKE dnast-kschl,
netwr LIKE vbrk-netwr,
kwert LIKE konv-kwert,
waerk LIKE vbrk-waerk,
xblnr LIKE vbrk-xblnr,
delno LIKE likp-vbeln,
t_line LIKE tline-tdline,
zbol LIKE likp-bolnr,
lifex LIKE likp-lifex,
posnr LIKE vbrp-posnr,
matnr LIKE vbrp-matnr,
kdmat LIKE lips-kdmat,
werks LIKE vbrp-werks,
zzplat LIKE vbrp-zzplat,
zzpronum LIKE vbrp-zzpronum,
zzprocode LIKE a802-zzprocode,
fkimg LIKE vbrp-fkimg,
vrkme LIKE vbrp-vrkme,
arktx LIKE vbrp-arktx,
kbetr LIKE konv-kbetr,
vatrt TYPE p DECIMALS 1,
kwert_d LIKE konv-kwert,
netwr_d LIKE vbrp-netwr,
vgbel LIKE vbrp-vgbel,
vgpos LIKE vbrp-vgpos,
END OF t_output4, -
Hi,
I have carried out the following
a 10g database install on 2 servers
enabled dataguard between them so I have a primary and a standby database.
I then installed Grid Control onto each server using the opetion to install into an existing database. this worked.
On the standby server opmnctl is shutdown and the database is a PHYSICAL STANDBY.
when I do a dataguard switchover I see the standby database is now the primary. I restart opmnctl and go to the web browser to look at Grid Control.
The issue I have is that Grid Control, even though it is on the standby server, points to the primary server. How can I change this behaviour
When I first started Grid Control I had to perform the following actions
[oracle@griddg bin]$ ./emctl status emkey
Oracle Enterprise Manager 10g Release 3 Grid Control
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Please enter repository password:
The Em Key exists in the Management Repository, but is not configured properly or is corrupted in the file system.
Configure the Em Key by running "emctl config emkey -repos".
[oracle@griddg bin]$ ./emctl config emkey -repos
Oracle Enterprise Manager 10g Release 3 Grid Control
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Please enter repository password:
The Em Key has been configured successfully.
after this gridcontrol was able to start but points to the wrong host.
rgds
alanhi,
the steps I took are as follows
1 - precreate a database on the primary and standby.
2 - configure the tnsnames and listener files so that the databases can talk to each other
3 - create a standby control file from the primary database.
4 - copy all database files from the primary to the standby
5 - copy the standby controlfile to the standby
6 - start the primary database
7 - start the standby database but only mounted, check database_role from v$database; it should be physical standby
8 - install Grid Control on the primary server with the option to install onto an existing database. Complete this installation.
9 - Install Grid Control onto the standby server with the option to install onto an existing database. Complete the installation and then carry out an 'opmnctl stopall'
10 - all being well Grid Control should now show both hosts and databases.
11 - create a dataguard configuration from within GC
The standby database cannot be discovered correctly in GC and this must be because it is in a mount state, not sure what to do about this. This then meant that I had to carry out a switchover from the command line. I am just testing this now and will post back when complete.
regards
Alan -
Padding and Centering Issues with and within div's
I uploaded the page and css files to my server. The page file is http://www.wlvs.com/untitled-1.html and the css file is http://www.wlvs.com/test.css I am using these file to try-out styles. The background div (backgnd) will ultimately be an image but for now I'm just using a color. The "wraper" has an image that I gave a padding to at the top and bottom and for some reason it is showing a dark blue color. - I thought it would allow the background color to show through - shouldn't it??
The other issue is centering the logo in the "header". I suppose I could use <center> but I am trying to figure out what is the css code for doing it. Nothing seems to work. I was able to center the "wraper" image but could not do the logo.
Any help would be much appreciated...I uploaded the page and css files to my server. The page file is http://www.wlvs.com/untitled-1.html and the css file is http://www.wlvs.com/test.css I am using these file to try-out styles. The background div (backgnd) will ultimately be an image but for now I'm just using a color. The "wraper" has an image that I gave a padding to at the top and bottom and for some reason it is showing a dark blue color. - I thought it would allow the background color to show through - shouldn't it??
No because padding creates the space between the edge of the element and its content and in your case this is covered by background image;
However, if you apply margin-top and margin-bpttom then you should get the space you are talking about.
To try it use this code:
.wrap {
height: 1113px;
width: 740px;
top: 0px;
margin-right: auto;
margin-left: auto;
background-color: #FFF;
background-image: url('images/TBarn04.jpg');
margin-top: 20px;
margin-bottom: 20px;
hth -
Layout centering issue with BoxLayout
The code is two BoxLayout panels placed in a frame with FlowLayout.
I cannot get the second panel's label to be centered. I purposely made both panels identical. Any ideas what I am missing?
import java.awt.*;
import javax.swing.*;
public class MVCtest extends JFrame {
public MVCtest() {
getContentPane().setLayout(new FlowLayout());
JTextField controller = new JTextField(10);
JLabel controllerLabel = new JLabel("Controller");
JPanel controllerPanel = new JPanel();
controllerPanel.setLayout(new BoxLayout(controllerPanel, BoxLayout.Y_AXIS));
controllerPanel.setBorder(BorderFactory.createEtchedBorder());
controllerPanel.add(controllerLabel);
controllerLabel.setAlignmentX(controllerLabel.CENTER_ALIGNMENT);
controllerPanel.add(Box.createVerticalStrut(10));
controllerPanel.add(controller);
JTextField view = new JTextField(10);
JLabel viewLabel = new JLabel("Controller");
JPanel viewPanel = new JPanel();
viewPanel.setLayout(new BoxLayout(viewPanel, BoxLayout.Y_AXIS));
viewPanel.setBorder(BorderFactory.createEtchedBorder());
viewPanel.add(viewLabel);
viewPanel.setAlignmentX(viewLabel.CENTER_ALIGNMENT);
viewPanel.add(Box.createVerticalStrut(10));
viewPanel.add(view);
getContentPane().add(controllerPanel);
getContentPane().add(viewPanel);
public static void main(String[] args) {
JFrame.setDefaultLookAndFeelDecorated(true);
MVCtest frame = new MVCtest();
frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE);
frame.setSize(400,400);
frame.setVisible(true);
}Thanks,
LanceProblem solved, yet not understood.
I posted the question and now eliminated the issue.
I simply cut and pasted the first panel code over the second panel's code. I then renamed the variables and the problem went away.
I don't know why because I didn't see any problem with the first code.
Thanks to any and all who committed brain power to this problem.
Lance -
Hi All,
I have modified a SAP workflow and seem to have problems ppassing sata between steps, The first step I use object CA_WRTOFF method Write-off. This completes a write off. After this step variable DOCUMENTNUMBER is filled with the created document number.
In the next step I want to display the document, I use object CA_DOC method display. The main parameter it neeeds is document number. I try to use the generate binding. It will pass &CA_DOC& to &_WI_OBJECT_ID&. from workflow to step, both these objects contain document number.
However when I look in SWEL at the display document step &_WI_OBJECT_ID&. says no instaance under value? How can I populate this value. I try to manually add document number to the binding but am told I cannot use &_WI_OBJECT_ID&. as a target. I have CA_DOC set as inport and export. Any idea's?? I am on a 4.6 system
ThanksHi First of all thanks for your patience,
Second I seem to have passed the document number but it still is not actually passing to the document number field in trans FPE3 (I mentiooned FP08 in error before, that is ultimately my goal which I will clarify)
Ok here is what I am trying to accomplish
The original SAP wrtoff workflow CA_WRTOFF activates with event FP04 create writeoff, my company does not like the fact that when it goes to an approver the writeoff is held in limbo. This allows others access to the write off amount. So they have asked me to restructure the workflow.
The event link as above is CA_WRTOFF with event trigger approval required as above, the first thing I do in the workflow is complete the writeoff with object CA_WRTOFF method writeoff. I then send a user decision to the approver asking if he wants to display document, accept write-off, reverse write-off. I use CAA_DOC display for the display as CA_WRTOFF does not have document number associated with it.
In the last few moments I changed my binding in the display to coyp all elements except system, this has passed the document number to the display container. When the approver clicks on the display item it brings him to transaction FPE3 but does not populate the document number in FPE3. So the real issue is to have the display method take the approver to FPE3 and fill in the document number so all the approver has to do is hit enter.
Again thanks for your time and patience, Much appreciated. I am an ABAPPER but quite new to work flows.
George -
[SOLVED] "Open Containing Folder" Issue in Fluxbox
Hello! I am fairly new to Arch so any help is greatly appreciated.
I am using fluxbox as my window manager and thunar as my file manager.
When I right click on a song in banshee and select "Open Containing Folder" the folder is opened in firefox which is fairly annoying. This also happens when I try to show a download in it's folder in google chrome. I am not able to select "Open Containing Folder" for a firefox download (it is grayed out).
I am guessing the issue is that fluxbox doesn't know what file manager to use so it defaults to firefox for some reason. Is there a way to set default applications for fluxbox?
Thanks in advance for any help!
Last edited by Haffinator (2012-08-16 20:31:43)That's great
Don't forget to mark the thread as solved -
Dear Experts
We have difference in Cost Centers from Production and Quality.
With out creating,is there any possibility of copying the Cost Centers from Production to Quality.
Thanks & Regards
KumarRajaHi ,
You can even transport Master Data from Development Server to Quality and Production Servers. The transaction code to do it is OKE6 But you need to excersise lots of cautions to do this. The following note explains that -
Caution
If, prior to the transport, you have already created master data in the target system (whether manually or through a different transport), this data is lost when the transport takes place.
Since in the target system the master data but not the transaction data is deleted, transporting data into a system that already contains data can lead to inconsistencies. You should therefore maintain the master data in the target system manually.
Example
You have manually created cost centers in controlling area 0001 in the target system. You want to transport cost centers in controlling area 0001 from the Customizing clients into the target system.
If you execute the transport, the system deletes the manually-created cost centers in the target system.
The system then imports the new cost centers into the target system.
In a normal scenario , it is best to avoid taking this route and upload the master data instead of transporting it .
Regards,
Venkat. -
Content frame body container template issue
Dears,
I use region template Content frame body container it's a parent region , and i use another child region hide and show template , and i have text item like item_1 , item_2 , the problem i want to make item_2 in grid layout Start New Row = no
but the item_2 item not be in the same row with item_1 ?
why ? and how can solve this problem ?
ThanksAnyone?
Maybe you are looking for
-
Hi Everyone, Can someone pls shed some light on the situation below I am understanding alot of what Michael and Rod wrote.... with my prev. post of LEFT JOIN and testing for not null and doing a double Boolean OR etc. - but- AM NOT understanding why
-
Since i upgraded from an iphone 4 to a 5 my messages aren't being sent as imessages. I went into Optus and he said that all of the features are on and it should be sending imessages. He suggested i contact Apple..
-
Output Column does not have a matching source column in the schema
Hi Everyone, Can you please help me in this. Already an ETL is loading the data from AS400 TO SQL server. I need to add a new column. In the Source (OLEDB source) am pulling the data from AS400 using ADO.NET connection manager.
-
Sql loader - Data loading issue with no fixed record length
Hi All, I am trying to load the following data through sql loader. However the records # 1, 3 & 4 are only loading succesfully into the table and rest of the records showing as BAD. What is missing in my syntax? .ctl file: LOAD DATA INFILE 'C:\data.t
-
Understanding low compliance numbers for an application deployment
We created a deployment of a driver package to a group of known machines that need the update. After 3 weeks, the required deployment is sitting at only 40.7% compliance. Many of the machines may be on intermittently, so we are not surprised the numb