How to get header to stay centered on different browser window sizes
Hi,
Is there a way to change the header design so it stays
centered and moves to accommodate different browser window sizes?
Right now, it stays where it is, and everything else moves and
stays centered as window size changes. I'm a new Dreamweaver user.
the url is
http://ellifolks.com/
I tried changing the template I made for the site, and was
able to delete some things, but it won't let me add things now. I
can't undo to where it started, either. I tried doing a second
template. Now I can't save anything -- I get a message saying
"sharing issues".
Thank you.
Combining absolutely positioned elements with centering
tables (as you have)
accounts for about 20% of the posts on this forum. It's
commonly done
because it seems so easy. This is one of the penalties you
pay for taking
that easy road.
The answer to your question is yes, you can do this.
1. Make this image the page background -
http://ellifolks.com/images/ellifolks_web_header_repeat.gif
- and use CSS to
give it a style of background-repeat:repeat-x.
2. Place your assembled header within a STATIC div (i.e., NOT
a layer) at
the top of the page by changing this -
<div id="apDiv1"><img
src="images/dots_header_left.gif" width="175"
height="192" alt="dots left" /></div>
<div id="apDiv2">
<div align="center"><img
src="images/header_animals_logo.gif" width="759"
height="195" alt="ellifolks logo" /></div>
</div>
<div id="apDiv3"><img
src="images/dots_header_right.gif" alt="dots right"
width="175" height="192" /></div>
to this -
<div id="header"><img
src="images/dots_header_left.gif" width="175"
height="192" alt="dots left" /><img
src="images/header_animals_logo.gif"
width="759" height="195" alt="ellifolks logo" /><img
src="images/dots_header_right.gif" alt="dots right"
width="175" height="192"
/></div>
3. Add this to your CSS -
#header { width:1109px; margin:0 auto; }
That should do the trick.
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
==================
"zinnia3" <[email protected]> wrote in
message
news:[email protected]...
> Hi,
>
> Is there a way to change the header design so it stays
centered and moves
> to
> accommodate different browser window sizes? Right now,
it stays where it
> is,
> and everything else moves and stays centered as window
size changes. I'm
> a
> new Dreamweaver user. the url is
http://ellifolks.com/
>
> I tried changing the template I made for the site, and
was able to delete
> some
> things, but it won't let me add things now. I can't undo
to where it
> started,
> either. I tried doing a second template. Now I can't
save anything -- I
> get a
> message saying "sharing issues".
>
> Thank you.
>
>
Similar Messages
-
How to get this script to work with different browser
Do you guys know how to get this script to work with mozilla firefox?
do shell script "open -a safari 'https://login.binck.nl/klanten/Login.aspx?ReturnUrl=%2fklanten%2fdefault.aspx'"
tell application "Safari"
activate
tell document 1
repeat until ((do JavaScript "location.host") is "login.binck.nl")
delay 1
end repeat
do JavaScript"document.getElementById('ctl00_Content_Gebruikersnaam').value='sim';document.ge tElementById('ctl00_Content_Wachtwoord').value='password';window.open(document. g etElementById('ctl00_Content_LoginButton').href, '_self', 'true');"
end tell
end tell
Thank you so much in advance:)That isn't possible. Firefox's AppleScript dictionary doesn't contain anything which can be used to manage JavaScripts.
(63741) -
How to get the text of an onclick/'open browser window' behavior to look like a link
If I set this behavior to a specific word (on an <a> tag without the 'href') the link is not underlined and the mouse does not turn into a pointer. If I set this behavior to a full <a> tag with the 'href="..."' then the browser opens a new window (as per the behavior) and a new page on the original window (as per the href="..."). How do I get the link to appear as a link (underlined and mouse changing into pointer) without having to assign a href="..." to the <a> tag?
Gary,
I appreciate the time you are giving me to address my question. However, even though I would like to have this link stand out to the viewer, I do not want it to stand out from all the other links that surround it. Also, I have tried the solution you have given me, yet it to also causes the browser to load the new window and the original page. There is no difference whether the behavior is linked to <a href> or some other tag as long as there still is an <a href> the original browser will load the new page as well. -
How to get Header in Downloaded .xls file using GUI_Download function
How to get Header in Downloaded .xls file using GUI_Download function ???
How to use the the Header parameter available in GUI_Download function .HI,
see this sample code..
data : Begin of t_header occurs 0,
name(30) type c,
end of t_header.
data : Begin of itab occurs 0,
fld1 type char10,
fld2 type char10,
fld3 type char10,
end of itab.
DATA: v_pass_path TYPE string.
append itab.
itab-fld1 = 'Hi'.
itab-fld2 = 'hello'.
itab-fld3 = 'welcome'.
append itab.
append itab.
append itab.
append itab.
append itab.
t_header-name = 'Field1'.
append t_header.
t_header-name = 'Field2'.
append t_header.
t_header-name = 'Field3'.
append t_header.
CALL FUNCTION 'GUI_FILE_SAVE_DIALOG'
EXPORTING
default_extension = 'XLS'
IMPORTING
fullpath = v_pass_path.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = v_pass_path
filetype = 'DBF'
TABLES
data_tab = itab
FIELDNAMES = t_header
Cheers,
jose. -
How to get header data in ME_PROCESS_REQ_CUST
Hi all,
how to get header data in badi ME_PROCESS_REQ_CUST-process_itemIsn't it available in the parameters of the method that you are tyring to write.
Regards,
Ravi
Note - Please mark all the helpful answers -
How to get head of the department(HOD) as an approver.
Hi Experts,
Existing scenario:
Created travel(international) request after getting approved by 1st level(line-manager) work item will go for next level(final approver Line exco).
existing code is attached.
To be developed Scenario:
After getting approved by 1st level (line-manager) work item will go 2nd level (Head odf hte department) prior to final approval(line-exco).
Please suggest me how to get Head of the department using bellow logic.
Pick the ORGEH ( Org unit) as on 31.12.9999 and pass it to HRP1001 with the following field values
RSIGN A
RELAT 803
And pick the SOBID ID as on 31.12.9999
Now pass the SOBID in table HRP1001 , and pass the data with the following field values
OTYPE – O
OBJID – same as SOBID
RSIGN B
RELAT 012
Pick the SOBID
Now pass the SOBID to HRP1001 and
RSIGN A
RELAT 0008
SOBID : PERNR
Pass the PERNR in PA0105 pick the data against SUBTY 0001 .
Thanks in advance
Goutamwhy not use an HR evaluation path (transaction OOAW see for example WF_ORGUN ) and read the path with RH_STRUC_GET function module?
https://help.sap.com/saphelp_erp60_sp/helpdata/en/c5/e4b2c8453d11d189430000e829fbbd/frameset.htm -
I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.
Hi Frank ,
Please refer to the following link and see if this helps.
https://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
Regards
Sukrit Dhingra -
How to get sharepoint online (office 365) data in cloud/windows azure (provider) hosted app using Javascript?
I wish to retrieve sharepoint online data in html page (hosted in windows azure) using javascript and then need to play with AngularJSHi,
According to your description, you might want to get data from Office 365 SharePoint Online(also known as host web) and pass to the Provider Hosted App which is hosted
in Windows Azure site.
I would suggest you take a look at the links below about accessing data from the host web
for a quick start:
https://msdn.microsoft.com/en-us/library/office/fp179927(v=office.15).aspx#SP15Accessdatafromremoteapp_Codeexample
http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
Aother sample solution for your reference:
https://code.msdn.microsoft.com/SharePoint-2013-Get-the-0ec36bb6
Best regards
Patrick Liang
TechNet Community Support -
How 2 get units like paise, cents for different currencies
hi
how 2 get units like paise, cents for different currencies
eg...
if i give EURO
i should get CENTS
Regards,
Naveen
Message was edited by:
Naveen NatarajanHi Naveen Plz used This Function Module and let me known whether this is ur requirment or not : Plz look this function module ..........................
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
amount = amount
currency = currency
language = sy-langu
IMPORTING
in_words = amt_in_words
EXCEPTIONS
not_found = 1
too_large = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ' AMOUNT NOT CONVERTED TO WORDS : ' TYPE 'E' .
ENDIF. -
How to show an HTML page in a new browser window
Hi Everyone,
I am trying to show a page generated by some servlet in a new browser window when the button is clicked on the applet. I can accomplish that by using AppletContext as in:
myApplet.getAppletContext().showDocument(servletUrl, "_blank");
The only problem with this is that I don't have any control over how the new browser window is displayed. Using JavaScript I can set size, hide toolbar and address bar, etc. But how can I hide address bar on a new browser window generated in this scenario?
I tried to call intermediate servlet from my applet which in turn generates a new window by writing out JavaScript code. This way I lose my previous page with the applet even though a new window is displayed the way I wanted but I want this new browser window to act as a pop-up box and my applet page stay on screen. Also, is there a way to send a POST request from an applet by using AppletContext.showDocument() method?
Any help will be greatly appreciated!
Thanks in advance,
Y.M.Did you ever figure out a solution for this? I too would like to open a new browser window to act as a pop-up box and my applet page stay on screen. If anyone has any thoughts on how to do this, please post! thanks.
-
Need Help Centering Page in Browser Window
I'm designing my pages by creating a graphic framework in
Photoshop, slicing and exporting images into css using Fireworks to
a Dreamweaver html page. These pages look great; but they load into
the upper left corner of the browser window
I was taking a Dreamweaver class at the Denver Art Institute,
that was worthless. I dropped the class after the 4th week and am
now teaching myself. I asked the teacher how to center this kind of
page in a browser window, so the page would behave like most
webpages, centering as you change the width of the browser window.
I also wanted to add a repeating pattern in a background image. She
told me that she didn't know how, that I would have to build the
background into my Photoshop file. So, that's what I've been doing.
However, when people with smaller monitors change pages within a
site the built-in background requires them to recenter the page
manually each time.
Is there a way to center the page and add a background image
that is not built in? I've tried using Dreamweaver's background
image and margins in the Page Properties; but that just pushes the
page to the upper left and adds the background to the right and
bottom of the page.
Please visit:
http://www.livingwater.la,
http://www.renegadegraphics.biz
and
http://www.dentalmatchmakers.net
for examples.
Thanks for your help.
Mary>I was taking a Dreamweaver class at the Denver Art
Institute, that was worthless
Yes, those classes usually are worthless because they focus
on using the tool without giving you the proper foundation for
understanding and managing html and css. Unfortunately, all of the
example sites you gave you AP Divs (layers) as a primary layout
method, which is a terrible approach. AP Divs should be used rarely
if ever, and only when you understand how they work. When the
visitors font is sized differently than you expected, the site
falls apart. The correct approach is to learn web
design/development outside of the context of a specific
application.
http://www.w3schools.com/html/
is a good place to start for a basic understanding of html and css.
And some basic layout techniques can be found here:
http://apptools.com/examples/pagelayout101.php -
Hi SDN's,
Can u tell me how to get headers when we download data to excel with using (we are using DBF as file type in the following method )
CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
(We can't use GUI_DOWNLOAD)
Thanks in advance..
BRHi,
I m giving u a bdc code i hope ur prob ll be solved.
*& Report ZDTK_BDC_LT01
*& PROGRAME TITLE : LT01
*& AUTHOR : D TARUN KUMAR
*& MM CONSULTANT : Mr. MRINMOYE CHAKRABORTY
*& REQUEST NO. : RD1K901995
*& TRANSACTION ID : ZLT01
*& PACKAGE : ZTARUN
*& DESCRIPTION : BDC REPORT TO UPLOAD INITIAL STOCK POSTING AND
*& STORAGE BINS THROUGH LT01.
REPORT ZDTK_BDC_LT01
no standard page heading line-size 255.
TYPE-POOLS: TRUXS.
STRUCTURE DECLARATION
TYPES : BEGIN OF TY_UPLOAD,
LGNUM(3),
BETYP(1),
BENUM(10),
BWLVS(3),
MATNR(18),
BISMT(18),
ANFME(16),
WERKS(4),
LGORT(4),
CHARG(10),
LETYP(10),
VLTYP(3),
VLBER(3),
VLPLA(10),
VLQNR(10),
NLTYP(3),
NLBER(3),
NLPLA(10),
NLQNR(10),
END OF TY_UPLOAD.
INTERNALTABLE & WORKAREA DECLARATION
DATA : T_UPLOAD TYPE STANDARD TABLE OF TY_UPLOAD,
T_BDCDATA TYPE STANDARD TABLE OF BDCDATA,
T_BDCMSGCOLL TYPE STANDARD TABLE OF BDCMSGCOLL,
W_UPLOAD TYPE TY_UPLOAD,
W_BDCDATA TYPE BDCDATA,
W_BDCMSGCOLL TYPE BDCMSGCOLL,
GLOBLE DECLARATION
G_FLNAME TYPE STRING,
G_MESSAGE(70) TYPE C,
IT_RAW TYPE TRUXS_T_TEXT_DATA,
GLOBLE DECLARATION
WA_OPT TYPE CTU_PARAMS.
WA_OPT-UPDMODE = 'A'.
WA_OPT-DEFSIZE = 'X'.
WA_OPT-DISMODE = 'A'.
SLECTION SCREEN DECLARATION
SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN SKIP 2.
PARAMETER : P_FILE LIKE RLGRAP-FILENAME OBLIGATORY.
SELECTION-SCREEN SKIP 2.
SELECTION-SCREEN : END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
PERFORM GET_FILENAME.
START-OF-SELECTION.
PERFORM UPLOAD_DATA.
*PERFORM GET_FINAL.
*PERFORM GET_MIGO.
PERFORM SESSION.
*PERFORM TEST.
Start new screen *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR W_BDCDATA.
W_BDCDATA-PROGRAM = PROGRAM.
W_BDCDATA-DYNPRO = DYNPRO.
W_BDCDATA-DYNBEGIN = 'X'.
APPEND W_BDCDATA TO T_BDCDATA.
ENDFORM.
Insert field *
FORM BDC_FIELD USING FNAM FVAL.
IF FVAL <> NODATA.
CLEAR W_BDCDATA.
W_BDCDATA-FNAM = FNAM.
W_BDCDATA-FVAL = FVAL.
APPEND W_BDCDATA TO T_BDCDATA.
ENDIF.
ENDFORM.
*& Form GET_FILENAME
TEXT
FORM GET_FILENAME .
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE
ENDFORM. " GET_FILENAME
*& Form UPLOAD_DATA
text
form UPLOAD_DATA .
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
I_LINE_HEADER = 'X'
I_TAB_RAW_DATA = IT_RAW
I_FILENAME = P_FILE "WORK TABLE
TABLES
I_TAB_CONVERTED_DATA = T_UPLOAD[] "ACTUAL DATA
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " UPLOAD_DATA
*& Form SESSION
text
FORM SESSION .
*sort t_upload by bismt.
LOOP AT T_UPLOAD INTO W_UPLOAD.
REFRESH T_BDCDATA.
*CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = W_UPLOAD-CHARG
IMPORTING
OUTPUT = W_UPLOAD-CHARG .
*CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = W_UPLOAD-VLBER
IMPORTING
OUTPUT = W_UPLOAD-VLBER .
*CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = W_UPLOAD-NLTYP
IMPORTING
OUTPUT = W_UPLOAD-NLTYP .
*CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = W_UPLOAD-NLBER
IMPORTING
OUTPUT = W_UPLOAD-NLBER .
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = W_UPLOAD-CHARG
IMPORTING
OUTPUT = W_UPLOAD-CHARG .
DATA : BWLVS(3),
LGORT(4),
WERKS(4),
CHARG(10),
LETYP(10),
VLTYP(3),
VLBER(3),
VLPLA(10),
VLQNR(10),
NLTYP(3),
NLBER(3),
NLQNR(10).
DATA : W_MATNR(18).
*SELECT SINGLE MATNR FROM MARA INTO W_MATNR
WHERE BISMT = W_UPLOAD-BISMT.
BWLVS = '999'.
LGORT = '3500'.
WERKS = '1030'.
LETYP = 'E1'.
VLTYP = '998'.
VLBER = '001'.
VLPLA = 'AUFNAHME'.
NLTYP = '354'. "(packaging material)
*NLTYP = '353'. "(spareparts material)
NLBER = '001'.
*include bdcrecx1.
*start-of-selection.
*perform open_group.
perform bdc_dynpro using 'SAPML03T' '0101'.
perform bdc_field using 'BDC_CURSOR'
'LTAP-CHARG'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'LTAK-LGNUM'
W_UPLOAD-LGNUM. "'350'.
perform bdc_field using 'LTAK-BENUM'
W_UPLOAD-BENUM. "'1000000000'.
perform bdc_field using 'LTAK-BETYP'
W_UPLOAD-BETYP. "'P'.
perform bdc_field using 'LTAK-BWLVS' BWLVS. "'999'.
perform bdc_field using 'LTAP-MATNR'
W_upload-MATNR. "'40000009'.
perform bdc_field using 'RL03T-ANFME'
W_UPLOAD-ANFME. "'1,000'.
perform bdc_field using 'LTAP-WERKS' WERKS. "'1030'.
perform bdc_field using 'LTAP-CHARG'
w_upload-charg.
perform bdc_dynpro using 'SAPML03T' '0102'.
perform bdc_field using 'BDC_CURSOR'
'LTAP-NLPLA'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RL03T-ANFME'
W_UPLOAD-ANFME. "'1,000'.
*perform bdc_field using 'LTAP-ALTME'
'KG'.
perform bdc_field using 'LTAP-LETYP' LETYP. "'E1'.
*perform bdc_field using 'LTAP-CHARG' W_UPLOAD-CHARG. "'0000000101'.
perform bdc_field using 'LTAP-VLTYP' VLTYP. "'998'.
perform bdc_field using 'LTAP-VLBER' VLBER. "'001'.
perform bdc_field using 'LTAP-VLPLA' VLPLA. "'AUFNAHME'.
perform bdc_field using 'LTAP-NLTYP'
W_UPLOAD-NLTYP. "'351'.
perform bdc_field using 'LTAP-NLBER' NLBER. "'001'.
perform bdc_field using 'LTAP-NLPLA'
W_UPLOAD-NLPLA. "'01 00 01'.
*perform bdc_transaction using 'LT01'.
*perform close_group.
CALL TRANSACTION 'LT01' USING T_BDCDATA
MODE 'A'
UPDATE 'A'
OPTIONS FROM WA_OPT
MESSAGES INTO T_BDCMSGCOLL.
IF SY-SUBRC <> 0.
READ TABLE T_BDCMSGCOLL INTO W_BDCMSGCOLL INDEX 1.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = SY-MSGID
LANG = 'EN'
NO = SY-MSGNO
V1 = SY-MSGV1
V2 = SY-MSGV2
V3 = SY-MSGV3
V4 = SY-MSGV4
IMPORTING
MSG = G_MESSAGE
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
WRITE : / W_upload-matnr ,'-----' , G_MESSAGE.
REFRESH T_BDCMSGCOLL.
ENDIF.
ENDIF.
*clear : w_matnr, w_upload.
ENDLOOP.
ENDFORM. " SESSION -
How to get header and item data in ME_PROCESS_PO_CUST ?
Hi all,
How can I get header and item data in me_process_po_cust~process_account ? I have to do some validation for account assignment catagory in item overview.Hi ,,
Further make the following changes in method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ITEM.
Get Line item data using method:
CALL METHOD IM_ITEM->GET_DATA
RECEIVING
RE_DATA = W_ITM_DATA.
and then validate the item data from structure W_ITM_DATA..
Same as follows for Header Records:
In method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_Header.
Thanks
Shambhu -
How to get Header data in CS11 reg:-
Hi all,
How to get the Header data in the report after executing CS11 transaction.
Thanks & Regards
Piyush SharmaHi,
CS11 report itself the Header details like the Header material, plant and usage and the component details will be generated. This is the Standard SAP report available. If you need more details then you need to go for the development only.
Regards,
V. Suresh -
How to get header text in user exit for sales order
Hello all,
My requirement is that I get and modify the header text in user exit when creating a sales order. In the user exit I'll do some validation and put the error code into header text. But I can't use function 'READ_TEXT' to get header text since the text has not been updated into database.
Can anybody help me? point will be rewarded. Thanks in advance.
regards,
--AlexUse the following internal tables. These internal tables are declared in include <b>THEADDAT</b>. THEADDAT is an include of <b>MV45ATOP</b>.
THEAD,
TLINE.
TVCOM,
TTXID,
TTXIT,
TTXOB,
TTXOT
I hope it helps.
Maybe you are looking for
-
G3 won't recognize Internal IDE hard drive!
I'm trying to resuscitate a B&W G3 mac (rev. 1) from a Goodwill, and I've gotten it to boot from a G3 installation CD with OS 8 on it, but it won't recognize the sole 27GB IBM ATA/IDE drive I have plugged into it. (The previous owner held onto the ma
-
How to select installation language when using silent install
Hi, How can i select installation language when using silent install. Power management Presentation_Director System_Update EasyEject_Utility When i install those programs with silent install string it will install language i have select at windows re
-
Where are my columnheader in JTable with model?
I have drawn a JTable in a form with JBuilder and use the following code. The table is fiiled properly but I don't see the columnheaders. How can i make them visible? DefaultTableModel model = new DefaultTableModel(); model.addColumn("Bezoeker_id");
-
I'm been using the InDesign Object Libraries for a while now and we continue to have problems with them. The first issue is when I place pages (with images and text) from the libraries some of the images come up as gray boxes. It isn't consistent. So
-
Is there a way to point my files back to CC 2014 programs after uninstalling the old CC?
I just installed CC 2014 and I'm currently removing the old CC programs (had no idea 2014 was coming out and now I have no room on my computer for both). My question is, how do I keep Windows 7 associating various files (.ai, .psd, etc) with the righ