Switch CSS while editing page to print media
My site uses media:print CSS which gives a totally different
layout to a page (including revealing some hidden DIVS).
My users are editing with Macromedia Contribute 3. Is it
possible to switch the view to show the print css (media:print)
while editing?
I just can't seem to be able to find a way of doing it.
There's a nice toolbar in Dreamweaver 8 how come there isn't in
Contribute?
My site uses media:print CSS which gives a totally different
layout to a page (including revealing some hidden DIVS).
My users are editing with Macromedia Contribute 3. Is it
possible to switch the view to show the print css (media:print)
while editing?
I just can't seem to be able to find a way of doing it.
There's a nice toolbar in Dreamweaver 8 how come there isn't in
Contribute?
Similar Messages
-
Applying CSS while editing in Dreamweaver tips?
I have an annoying issue in Dreamweaver CS3 that I was hoping
I could
get some help on.
I have a site I'm working on. The file structure is:
W:/site/
-- contains page.php which is the bare frame for all the
pages. The
styles.css link and all head info, etc. is in this page.
W:/site/includes/
-- contains styles.css which has all the styles
W:/site/data/
-- contains all the actual data pages that get included into
page.php
via PHP (that it's PHP is not important)
Now, when I'm working on, say, W:/site/data/123.php, the DW
GUI has no
idea what styles are available as all 123.php is is text with
DIV id's
and SPAN classes attributed. On the Web site, the contents of
this
page would simply get included into page.php.
So the DW preview shows everything in default appearance.
If I link the styles.css into the file, sure I edit it and
it'll let
me use the styles in the GUI instead of my having to keep
looking at
the styles page and hand-typing in ...class="blah"....
But the link will be put in as "../includes/styles.css" which
works
while I'm in DW, but doesn't while it's on the Web as...you
get it,
because 123.php doesn't technically exist when it's rendered
to the
browser...it's embeded in page.php so "../" becomes
meaningless.
Does this make sense?
Bottom line: Is there some DW tip that will allow me to
either make it
recognize PHP includes so it logically knows where everything
will be
when it's rendered by the browser, or, universally apply a
CSS page to
everything I'm working on without having to worry about link
paths
that work fine locally but foobar on the remote?
Thanks for any suggestions.
-LiamF1 ----> Design-time stylesheets.
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
==================
"GSLiam" <[email protected]> wrote in
message
news:[email protected]...
>I have an annoying issue in Dreamweaver CS3 that I was
hoping I could
> get some help on.
>
> I have a site I'm working on. The file structure is:
>
> W:/site/
> -- contains page.php which is the bare frame for all the
pages. The
> styles.css link and all head info, etc. is in this page.
>
> W:/site/includes/
> -- contains styles.css which has all the styles
>
> W:/site/data/
> -- contains all the actual data pages that get included
into page.php
> via PHP (that it's PHP is not important)
>
> Now, when I'm working on, say, W:/site/data/123.php, the
DW GUI has no
> idea what styles are available as all 123.php is is text
with DIV id's
> and SPAN classes attributed. On the Web site, the
contents of this
> page would simply get included into page.php.
>
> So the DW preview shows everything in default
appearance.
> If I link the styles.css into the file, sure I edit it
and it'll let
> me use the styles in the GUI instead of my having to
keep looking at
> the styles page and hand-typing in ...class="blah"....
>
> But the link will be put in as "../includes/styles.css"
which works
> while I'm in DW, but doesn't while it's on the Web
as...you get it,
> because 123.php doesn't technically exist when it's
rendered to the
> browser...it's embeded in page.php so "../" becomes
meaningless.
>
> Does this make sense?
> Bottom line: Is there some DW tip that will allow me to
either make it
> recognize PHP includes so it logically knows where
everything will be
> when it's rendered by the browser, or, universally apply
a CSS page to
> everything I'm working on without having to worry about
link paths
> that work fine locally but foobar on the remote?
>
> Thanks for any suggestions.
> -Liam
> -
Create print.css that repeats the content twice on page when printed
Clear as mud, right? I have a form that the user can fill in and then print to bring to the office. They need two copies. It fits on half of the page and could be printed twice on one page and then torn in half in the office. This would save the user paper.
I have a @media print css that removes everything from the page except the content div and it works fine. Is there a way to repeat that div twice on the page via the css?
Here's the css code:
@media print {
.sidebar1, .sidebar2, .title, .title2, .footer { display:none}
.content { position:absolute;top:10px;left:10px}I have never tried to do anything like that in Dreamweaver - this is more a printer management thing. Can you not set the printer up to tile the page so it displays 2 copies on each page?
Having said that, the only workaround I can think of (someone else might have another idea) is to duplicate your content div in the HTML and position it under your first, then {display:none} the 2nd div in screen.css and turn it on with the print.css.
Edit:// Having read a little closer, this would only work with static content. The fact you are using a form would be more difficult as you would need to populate both divs with their content. -
Error while editing a page in Oracle Composer
While editing a page on the remote server using Oracle Composer I am getting the following error:
Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.1.2.v20101206-r8635): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [java:comp/env/jdbc/WebCenterDS].
Internal Exception: javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'jdbc.webcenter.CustomPortalDS' didn't find subcontext 'webcenter'. Resolved 'jdbc'; remaining name 'webcenter/CustomPortalDS']; Link Remaining Name: 'jdbc/webcenter/CustomPortalDS'
Exception Description: Cannot acquire data source [java:comp/env/jdbc/WebCenterDS].
Internal Exception: javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'jdbc.webcenter.CustomPortalDS' didn't find subcontext 'webcenter'. Resolved 'jdbc'; remaining name 'webcenter/CustomPortalDS']; Link Remaining Name: 'jdbc/webcenter/CustomPortalDS'
While trying to lookup 'jdbc.webcenter.CustomPortalDS' didn't find subcontext 'webcenter'. Resolved 'jdbc'
Any pointers would be helpfulHi,
I think, Package ZBI_NEW is a custom development package: probably someone else already transported the application component hierarchy and assigned this package...try to change this. Chk with SE80 > package > ZBI_NEW,If it is not there,create it.
But the normal practice is change/Edit DSO in DEV-->Quality , then transport to Production.(SE80
In the drop down, look for Packages,below it type ZBI_* and hit Open.If you don't see ZBI_NEW, then ask BASIS to Create (DEV)and import that Package to QAS->Production)
Regards
CSM Reddy -
Workshop CRASHED while editing a page flow
Workshop Gurus -
Any clues on this bug. I get this error while editing pageflow. It just started
happening this morning.
I must say, WLW crashes gracefully. It allows me to report this message directly
to BEA, and then allows me to save my files. However, I do need a resolution to
this problem, hopefully soon.
java.lang.NullPointerException
at workshop.pageflow.model.ExternalPageFlow.refChanged(ExternalPageFlow.java:120)
at workshop.pageflow.model.DocumentEventAdapter.processModelObjects(DocumentEventAdapter.java:492)
at workshop.pageflow.model.DocumentEventAdapter.process(DocumentEventAdapter.java:177)
at workshop.pageflow.model.DocumentEventAdapter.elementChange(DocumentEventAdapter.java:123)
at com.bea.ide.element.ElementChangeSupport.fireListeners(ElementChangeSupport.java:253)
at com.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupport.java:243)
at com.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupport.java:219)
at com.bea.ide.document.DefaultDocument.fireElementChildRemoved(DefaultDocument.java:482)
at com.bea.ide.sourceeditor.DefaultSourceDocument.mergeComplete(DefaultSourceDocument.java:523)
at com.bea.ide.sourceeditor.DefaultSourceDocument.mergeMetadata(DefaultSourceDocument.java:610)
at workshop.sourceeditor.compiler.CompilerProject$MergeRunner.run(CompilerProject.java:1448)
at workshop.sourceeditor.compiler.CompilerSvcImpl$TreeMergeLock.runMerger(CompilerSvcImpl.java:161)
at workshop.sourceeditor.compiler.CompilerProject$4.run(CompilerProject.java:1498)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Thanks
Kunal MittalRaj -
Yes I am using SP2. I have had Workshop crash SEVERAL times when working with
page flows. Some sort of null pointer exception. The only good thing is that workshop
crashes gracefully, so I didn't lose any work that I was doing.
Thanks.
Kunal
"Raj Alagumalai" <[email protected]> wrote:
Kunal,
Can you try using SP2 ?
Thanks,
Raj Alagumalai
Backline Workshop Support
"Kunal Mittal" <[email protected]> wrote in message
news:[email protected]...
Workshop Gurus -
Any clues on this bug. I get this error while editing pageflow. Itjust
started
happening this morning.
I must say, WLW crashes gracefully. It allows me to report this messagedirectly
to BEA, and then allows me to save my files. However, I do need aresolution to
this problem, hopefully soon.
java.lang.NullPointerException
atworkshop.pageflow.model.ExternalPageFlow.refChanged(ExternalPageFlow.java:12
0)
atworkshop.pageflow.model.DocumentEventAdapter.processModelObjects(DocumentEve
ntAdapter.java:492)
atworkshop.pageflow.model.DocumentEventAdapter.process(DocumentEventAdapter.ja
va:177)
atworkshop.pageflow.model.DocumentEventAdapter.elementChange(DocumentEventAdap
ter.java:123)
atcom.bea.ide.element.ElementChangeSupport.fireListeners(ElementChangeSupport.
java:253)
atcom.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupp
ort.java:243)
atcom.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupp
ort.java:219)
atcom.bea.ide.document.DefaultDocument.fireElementChildRemoved(DefaultDocument
.java:482)
atcom.bea.ide.sourceeditor.DefaultSourceDocument.mergeComplete(DefaultSourceDo
cument.java:523)
atcom.bea.ide.sourceeditor.DefaultSourceDocument.mergeMetadata(DefaultSourceDo
cument.java:610)
atworkshop.sourceeditor.compiler.CompilerProject$MergeRunner.run(CompilerProje
ct.java:1448)
atworkshop.sourceeditor.compiler.CompilerSvcImpl$TreeMergeLock.runMerger(Compi
lerSvcImpl.java:161)
atworkshop.sourceeditor.compiler.CompilerProject$4.run(CompilerProject.java:14
98)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
atjava.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:197)
atjava.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Thanks
Kunal Mittal -
recently, when printing pdf files, the first page prints out as 1/10 or 1/20th original size while rest of document prints correctly.
I have no idea how this happened or why and I have no idea how to fix. I cannot get the first page of any pdf doocument to
print correctly and thus, I am virtually unable to print pdf files.Sometimes if a .pdf is smaller than actual 8 1/2 x 11 or bigger, you'll either get way too much of the image and it's cut off, or the image is too small. You should also try to do this in the print driver window: Properties -> Advanced -> Image Options -> Disable "PostScript pass-through"
-
Why can I not print from pages but can if I copy to text edit, I get "printer off line message " from pages ? I use HP wireless printer .
Are you sure you have the right printer?
In UNIX/OSX printers are virtual links to devices and even with the same name can be trying to reach a printer via another network address, so it thinks it is another printer.
Peter -
How to edit page on a css template?
i have been trying to change the header on my webpage. I just dont understand how css work yet. If i change the header at the template root level will that affect the entire CSS or do i just have to got to the particular page in DW and just edit that one and load it up?? Im sorry for the basic question i just never been much good with html and DW, i am trying to get better though.
Signature parrot cageshere are 3 ways you can use CSS on a web page:
Embed the CSS rules on the page
Link to an external CSS file that contains the CSS rules
Use inline CSS in the page's HTML tags
Examples of each follow -
Method 1
<html>
<head>
<title>Method 1</title>
<style type="text/css">
body { color:red; }
</style>
</head>
<body>
<p>This is red</p>
</body>
</html>
Method 2
<html>
<head>
<title>Method 2</title>
<link rel="stylesheet" type="text/css" href="_css/styles.css" />
</head>
<body>
<p>This is red</p>
</body>
</html>
Method 3
<html>
<head>
<title>Method 3</title>
</head>
<body>
<p style="color:red;">This is red</p>
</body>
</html>
Method 1 and Method 3 are limited in scope to the current page, meaning that any changes you make to the CSS that is embedded or used inline on that page will ONLY affect that page. Method 2 is the preferred method because it is the more efficient one - changes you make to that linked stylesheet will affect every page in the site that links to that stylesheet.
Did that address your question? -
Printing in Adobe Air with css print media rule
I am new to air and I am having a big problem with printing, I got some come snippet that triggers printing but the main problem is that the <code>window.htmlLoader</code> is passed to the addPage() and the print renders a screeshot of the first page.
This is not what I want, I defines a media print style rule and I want the print to print some portion of the page regrding the print media rule, is there any option or help. I have a deadling, the programming with JS is not the problwm but the printing is the problem. Is there any better API that can streamline this, I am running out of time.
Thanks in advanceCan you explain exhaustive abour your problem i can answer your question www.ticaretsicili.net
-
While editing a document,Pages goes into beachball mode,and quit
While editing a document,Pages goes into beachball mode,and quit. Cannot retrieve edits
Is it just one particular document or any document?
If just one document I'd guess there is some corruption in the document, usually a font or an image.
If it is all documents, the corruption likely lies in the Pages preferences. Go to HD > Users > (your account) > Library > Preferences, delete the com.apple.iwork.pages.plist file & then restart Pages. In Finder, hold down the Option key while clicking on the Go menu & your user Library will appear about halfway down the list. -
Texy edit - how to print page numbers only
I wish the page numbers in TextEdit to be printed on my documents; in TextEdit preferences, when I select the option to number pages when printing, it also prints the date and document title. How can I have it only print the page numbers?
It doesn't seem like you can just have the page numbers printed with TextEdit. When the help text appears in the preferences for printing the number of pages, it indicates it will also print the date and the title, so it is doing what it is designed to do, despite the misleading label for that item. Maybe another application (AppleWorks, BBEdit, Word?) can print just the page number.
-
Error comes while using calender in Edit Page? BUG ???
Hi
I am using Jdeveloper 9.0.2. My project is a BC4J project. I have created some default Browse and Edit Form on a View Object. In the Edit page when I am entering date using the calender I am getting the following error:
" Error Message: No rows available for editing. "
But if I am giving date manually, everything is fine.
Please help me.
- ArvindRepost
-
Firefox 17 on Windows 7 prints blank pages after printing selection
I need to be able to highlight text on a webpage and print only that text using the print selection inside the file/print tab. However, instead, I am getting only that highlighted text AND then blank pages (with headers and footers) keep printing (how many pages that print depends on the actual size of the webpage).
I have Windows 7, 32bit and Firefox 17. I updated Firefox this morning and restarted but the problem still exists. I did not have this problem when I had Windows XP.
The print selection works properly in IE9.Firefox's Print Selection feature has always left much to be desired...
What I get is blank pages ''before'' the selection but not after. You get blank pages for the entire document? That's especially unhelpful.
I am aware of two ''workarounds''. Each isolates the selection by itself so you can print it normally, i.e., without choosing Print Selection.
'''[https://addons.mozilla.org/en-US/firefox/addon/nuke-anything-enhanced/ Nuke Anything Enhanced]'''
After installing this add-on, when you have a selection and right-click it, you can choose "Remove everything else" to isolate the text for printing. Note that you need to reload the page to see the rest of the content again.
'''Bookmarklet'''
Before learning about the above, I wrote a small script to isolate the selection for printing. I wouldn't use it if you are filling in a form, making a purchase, etc., since the script duplicates part of the page and this may break the form. On the other hand, at least there is some level of undo without reloading the page.
If you want to try it, here are the steps:
(1) Select and copy the following line of script (it's all one long line):
javascript:var sel=window.getSelection(); if(!sel.isCollapsed){var rng=sel.getRangeAt(0); if(!rng.collapsed){var docfrag=rng.cloneContents(); if(!document.getElementById("divHideMe")){var rng2=document.createRange(); rng2.selectNodeContents(document.body); var myContainer=document.createElement("DIV"); rng2.surroundContents(myContainer); myContainer.setAttribute("id","divHideMe"); rng2.detach();} myContainer.style.display="none"; if(document.getElementById("printFrag")){var myFrag=document.getElementById("printFrag"); while(myFrag.firstChild) {myFrag.removeChild(myFrag.firstChild);} myFrag.style.display="block";}else{var myFrag=document.createElement("DIV"); myFrag.setAttribute("id","printFrag"); document.body.appendChild(myFrag);} myFrag.appendChild(docfrag); rng.detach(); var myP=document.createElement("P"); myFrag.appendChild(myP); myP.setAttribute("id","killBtn"); var myBtn=document.createElement("INPUT"); myP.appendChild(myBtn); myBtn.setAttribute("type","button"); myBtn.setAttribute("value","Return to Page"); myBtn.setAttribute("onclick","document.getElementById('divHideMe').style.display='block'; document.getElementById('printFrag').style.display='none';"); myStyle=document.createElement("STYLE"); myFrag.appendChild(myStyle); myStyle.setAttribute("type","text/css"); myStyle.setAttribute("media","print"); myStyle.innerHTML="#killBtn{display:none}";}} void 0;
(2) Right-click the Bookmarks Toolbar and choose New Bookmark. (If you do not ordinarily display the Bookmarks Toolbar, you can add it to the menu instead. Whatever will be convenient.)
(3) Click in Location and paste the script.
(4) Click in Name and name it whatever you like (I call it Crop4Print) and then click Add.
Now after selecting text, click the bookmarklet button to hide the rest of the page. -
Elements 10, Windows 8, 64 bit, Epson Artisan 835 printer: Prints are really dark even after applying enhancements, like adjusting lighting. Prints are darker than Photoshop Edit Screen. Prints are acceptable using Paint, Windows Photoviewer, or Photo Gallery.
In general theory, one now has the Edit button for their posts, until someone/anyone Replies to it. I've had Edit available for weeks, as opposed to the old forum's ~ 30 mins.
That, however, is in theory. I've posted, and immediately seen something that needed editing, only to find NO Replies, yet the Edit button is no longer available, only seconds later. Still, in that same thread, I'd have the Edit button from older posts, to which there had also been no Replies even after several days/weeks. Found one that had to be over a month old, and Edit was still there.
Do not know the why/how of this behavior. At first, I thought that maybe there WAS a Reply, that "ate" my Edit button, but had not Refreshed on my screen. Refresh still showed no Replies, just no Edit either. In those cases, I just Reply and mention the [Edit].
Also, it seems that the buttons get very scrambled at times, and Refresh does not always clear that up. I end up clicking where I "think" the right button should be and hope for the best. Seems that when the buttons do bunch up they can appear at random around the page, often three atop one another, and maybe one way the heck out in left-field.
While I'm on a role, it would be nice to be able to switch between Flattened and Threaded Views on the fly. Each has a use, and having to go to Options and then come back down to the thread is a very slow process. Jive is probably incapable of this, but I can dream.
Hunt -
FCPX Export issue. Item cannot be shared while it is still referencing media on the camera
I am having issues with exporting a project I just shot and I missed my delivery day and am now late. Need help ASAP. I'll try to keep this as brief as possible and stick to the pertinent information.
The Shoot: -2 Panasonic HVX-200's shooting on P2 Media shooting a live event -Dumped footage onto external hard drive via Macbook Pro on set into separate folders for organization using a Panasonic P2 Reader. -All dumps were confirmed completed and all footage accounted for.
The System: -Using Final Cut Pro X 10.1.2 -Mac Pro Tower 2009 quad core running OSX Mavericks 16gb Ram -Blackmagic Intensity Pro Card
The Edit: -2 Camera multicam edit -Imported footage using import media function -Imported from external drive -(important note: a camera has never been connected to the computer for this project) -Edit is finished, about a 2hr 20 min finished sequence (live event 2 cameras switched in post, all graphics and everything is done)
The Problem: -When I go to export via the "Share" function i get an error that says "This Item cannot be shared while it is still referencing media on the camera" -Imported footage has the camera logo in the corner meaning that it is referencing camera media; yet no camera has ever been connected.
Solutions I have tried: -Re-importing media with re-import function --Says that the camera is not connected yet I never had one connected in the first place. -Deleting preferences -Biting the bullet and starting from scratch to do a re-edit -- footage will not import without referencing "camera media" -Tried importing via dragging and dropping. Says it cannot importing the following files, lists all of the XML and MXF files -Started a new event, with a new project, with a fresh import; same results -Googled this to death, no solution seems to work, but I'll try whatever I have to; client needs this ASAP.
Questions: -The external drive is not showing up as a camera, so why is it importing as camera media? -Is there a way to salvage my edit and get it exported? I have a lot of hours into this and quite frankly, no time to redo the whole thing.
Please help!I have had this issue too, and figured a work around. FYI, I rebooted, tried everything imaginable, and still no luck. I opened up iPhoto, and imported all the video clips into iPhoto. I then took the missing video from iPhoto, copied it to my desktop. Then I re-imported the video (same name) into Final Cut. I had to do some slight editing of the video, but everything worked fine, and allowed me to upload the video to YouTube.
Not certain it will work for others, but to recap, try to import the video into another program, then copy the missing video file to your desktop, and re-import to Final Cut.
Hope this helps.
Maybe you are looking for
-
MD06 Issue - Planned orders not getting displayed
Hello, Planned order with the exception "Newly created order proposal" does not get displayed in MD06 with the option "Only Unprocessed MRP Lists" in the processing indicator. I am running MD06 report with the following parameters: Plant MRP Controll
-
Pantones turn black when PDF opened in Preview
I am creating mockups for a t-shirt design, this top photo is how the design looks in illustrator with the correct pantones: blue 3115C, Red 119C, and Black. When I save it as a PDF and it is opened in the Preview Application, certain colors turn bla
-
I am trying to reserve an IP address in Microsoft Azure using simple PowerShell cmdlet: $reservedIP = "MyIP" $location = "West US" New-AzureReservedIP – ReservedIPName $reservedIP –Label $reservedIP –Location $location I get an error: New-AzureReserv
-
Why does moving the cursor peg the cpu in numbers?
Why does moving the cursor, even by one cell, peg the cpu in numbers?
-
I can't open the slot to get my micro SIM card in my new iPhone 5?
I Have just got the new iPhone 5 I can't open the slot to get my micro sim in. I have used the little tool but it won't budge. Help!