How do I customize my html page in Dreamweaver CS5 to an Avery template that I wish to print out?
How do I customize my html page in Dreamweaver CS5 to an Avery template that I wish to print out?
Dreamweaver and websites do not easily match up to Avery templates. If you are trying to develop a program for customers/etc to print labels, you should look for a script to generate a PDF file to ensure the accuracy of the printing.
If you are trying to use Dreamweaver as a substitute to print your own labels, I would highly recommend using Microsoft Word, or Adobe InDesign for a better solution.
Similar Messages
-
How can I display the HTML page from servlet which is called by an applet
How can I display the HTML page from servlet which is called by an
applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
I am calling my struts action class from the applet. I want to show the response in the same browser.
Code samples will be appreciated.hi
I got one way for this .
call a javascript in showDocument() to submit the form -
How to add an extra page to the index.html page on dreamweaver CS6?
How to add an extra page to the index.html page on dreamweaver CS6?
Index.html = your domain's home page. There is only one home page per site.
To create a new page from your index, go to File > SaveAs > filename.html. Repeat for other site pages. Add links on your index page that lead to other site pages.
See Creating your first web site in DW CC (5-part tutorial)
https://helpx.adobe.com/dreamweaver/learn/tutorials/how-to/first-website-part1.html
Nancy O. -
How do I customize the login page?
Hi, floks:
How do I customize the login page?
Can I just create a page with login portlet in it? what do I put as on Success URL,
if I choose to go to the home page?
thanks.
nullYou can create a page and add a login portlet to it.Make it accesible to public.
change the default page of the user "public" to the page you have created.(by default it is WELCOME)
if there is an error in the user name or the password entered the portal still navigates to the default single-sign on page.(You have not changed the sign on page still)
To change this page look at on-line help.
search with string "customize" in online help
null -
How to speep up opening html page in JEditorPane
When i call jeditorPane.setPage( URL u ) it takes about 20 seconds to show page in my JEditoPane. Could you write how to speed up loading html page. My page has 30 page. Thanks!
When i call jeditorPane.setPage( URL u ) it takes about 20 seconds to show page in my JEditoPane. Could you write how to speed up loading html page. My page has 30 page. Thanks!
-
how can I customize each content page separately, so that if I change one chapter, it won't affect the next?
I don't think you can do what you want to do, sorry.
See: Publishing With iBooks Author
http://shop.oreilly.com/product/0636920025597.do -
Apply template to html pages in dreamweaver 2004
How do I apply a template to html pages in dreamweaver 2004?
The template has editable regoins. Will this effect it?
Why do I get an orphan message when I try to apply the
template to new pages?You don't want to apply templates to pages. Instead use FILE
| New > Page
from Template > site name > template name, spawn a new
page, and use this
page for the content. THis is not really an issue for a brand
new page, but
if the page already has content when you apply the template,
you'll see what
I mean.
You are being confused by a) not understanding root relative
vs document
relative links, and b) not understanding how DW previews
files.
If I have a document with a link to an image that looks like
this -
<img src="/images/foo.gif"...
That's what's called a root relative link.
If I preview that document in DW, then the browser gets the
document, sees
the leading "/" and reads that as the root of the hard drive,
since the
browser has no idea where the root of the site is. Thus, the
image is
broken in the preview.
If I have temp files enabled, then DW will secretly convert
the file being
previewed into a temporary file, and hand that to the
browser. This temp
file has had all root relative links converted to document
relative links
(as you will see by looking at the code in the browser), and
has had all
include files actually embedded in the page, and has had all
external CSS
and js markup embedded in the page. In other words, DW has
made the
document into a stand-alone page.
If you do not have temp files enabled, all of these links
would be broken on
preview.
Now - if you are using root relative links, AND you have temp
files enabled,
AND you click away from the previewed document, then all of
your links will
be broken, since DW has not made that linked file into a temp
file. This is
what you are seeing.
So - if you want to click away on preview, then you must use
document
relative links for the site -
<img src="../images/foo.gif"... (for example)
These will still work on preview since the browser knows how
to determine
the current file's location and how to follow that path.
GEDDIT?
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
==================
"happydreamweaver" <[email protected]> wrote
in message
news:[email protected]...
> How can I apply a template to new pages? I have done the
following:
> Apply the template to the pages as follows:1 Select File
> Open.
> 2 Browse to and select index.html.
> 3 Select Modify > Templates > Apply Template to
Page.
> 4 Type the title of the page in the Banner Editable
Region. Type or insert
> text in the Body Editable Region.
> 5 Select File > Save.
>
> Then when I preview the broswer, I see the html page as
I should, put when
> I
> click to a new page, the new new doesn't have the
template.
>
> Also, when I went to apply the template to a new page, a
message said that
> I
> had orphaned stuff. What does that mean and how can I
get the template
> show
> apply without the hassle.
> -
How to call and run HTML pages from an Applet?
I want to run another HTML page when pressed a button in an Applet,how can i do it?
Are you looking for this?
applet.getAppletContext().showDocument("http://cullenwines.com.au", "_top"); -
How to create dom treeof html page with java
hi, all
i met with a problem how to create dom tree of html page wih jave, that is, given a html page, how to create a dom tree of this page with java?
thanks in advance.
regards
richardbut i m using this code to create node in html file
HTMLLIElement li = (HTMLLIElement)appHTML.createElement("LI");
Text txt = appHTML.createTextNode(name);
li.appendChild(txt);
appHTML.getElementById("name").appendChild(li);
this will display all name value which is coming from database,
and i want to assign a hyperlink to it,
I have id with name also so I thought that using id i will
create javascript like
function popup(id)
if(id==1)
var n1 = window.open("../list/name1.html");
if(id==2)
var n1 = window.open("../list/name2.html");
this way i want to popup particular file if i can pass id value in this function
so want hyperlink like
name -
How to create hyperlink in Html page using Java
Hello every one
I want to know that how can I create a hyperlink in Html page using java ?
Let for example
I have code like this and i want to give hyperlink to it using java.
rember that i am creating node using this id="name" which give me multiple value. and i want to assign diff link to each name..?
<tr>
<td ><span id="name"></span>
</tr>but i m using this code to create node in html file
HTMLLIElement li = (HTMLLIElement)appHTML.createElement("LI");
Text txt = appHTML.createTextNode(name);
li.appendChild(txt);
appHTML.getElementById("name").appendChild(li);
this will display all name value which is coming from database,
and i want to assign a hyperlink to it,
I have id with name also so I thought that using id i will
create javascript like
function popup(id)
if(id==1)
var n1 = window.open("../list/name1.html");
if(id==2)
var n1 = window.open("../list/name2.html");
this way i want to popup particular file if i can pass id value in this function
so want hyperlink like
name -
How can I generate a html page in a servlet-applet connection?
Hello, I have an applet which contains an ok button, when I click this button, I need that servlet generate an html page and view it in browser. How can I do this?
ThanksBut with this method only is possible I think open a page web, and if it is possible call url of the servlet, you generate other request and response object (other call to method doGet or doPost because ShowDocument needs parameter url), so the previously request when I click button ok it's no the same and how I obtain the prinwriter from first request, showDocument don't obtain html page from printwriter.
-
How do i send an html page in java mail
hi everyone, i have an problem while sending html page in my java mail application.Actually it's sending the html page correctly but the thing is it doesn't display the gif files . why so ? can anyone help me. i think its b'coz of the path problem.
My requirement is like this :
I would like to send an html page to some [email protected] from my local system . for that i have written one mail application which will build an html page which is also having some gif files. And these gif files are located in my local system. when i sent to some xyz user it's not displaying the gif files . How should i give the path for that gif files. pls help me regarding this. This is Urgent.
Thanx in advance.
by
jjjavachi , here with i have attached my program which will work fine . What u have to do is u have to specify ur smtp host address. from address and to address. And if u want to embedd the gif file u have to specify the gif file name. It will work only in outlook and hotmail. if u have anyother doubt let me know.
import java.io.*;
import java.util.Properties;
import java.util.Date;
import javax.mail.*;
import javax.activation.*;
import javax.mail.internet.*;
import java.sql.*;
import java.text.*;
* @author Jeevan
public class EmbeddingGif {
StringBuffer sb = new StringBuffer();
String line;
public static void main(String[] argv) {
new EmbeddingGif (argv);
public EmbeddingGif (String[] argv) {
String to, subject = null, from = "[email protected]",
cc = null, bcc = null, url = null;
// String mailhost = null;
String mailhost = "10.1.0.106"; // SMTP host address
String mailer = "SendHtmlMail";
String protocol = "imap", host = null, user = "jeevan", password = "jeevan";
String record = "g:/rbs/web-inf/classes/emailstore"; // name of folder in which to record mail
boolean debug = false;
BufferedReader in = null;
int optind;
for (optind = 0; optind < argv.length; optind++) {
if (argv[optind].equals("-T")) {
protocol = argv[++optind];
} else if (argv[optind].equals("-H")) {
host = argv[++optind];
} else if (argv[optind].equals("-U")) {
user = argv[++optind];
} else if (argv[optind].equals("-P")) {
password = argv[++optind];
} else if (argv[optind].equals("-M")) {
mailhost = argv[++optind];
} else if (argv[optind].equals("-f")) {
record = argv[++optind];
} else if (argv[optind].equals("-s")) {
subject = argv[++optind];
} else if (argv[optind].equals("-o")) { // originator
from = argv[++optind];
} else if (argv[optind].equals("-c")) {
cc = argv[++optind];
} else if (argv[optind].equals("-b")) {
bcc = argv[++optind];
} else if (argv[optind].equals("-L")) {
url = argv[++optind];
} else if (argv[optind].equals("-d")) {
debug = true;
} else if (argv[optind].equals("--")) {
optind++;
break;
} else if (argv[optind].startsWith("-")) {
System.out.println(
"Usage: SendHtmlMail [[-L store-url] | [-T prot] [-H host] [-U user] [-P passwd]]");
System.out.println(
"\t[-s subject] [-o from-address] [-c cc-addresses] [-b bcc-addresses]");
System.out.println(
"\t[-f record-mailbox] [-M transport-host] [-d] [address]");
System.exit(1);
} else {
break;
try {
if (optind < argv.length) {
// XXX - concatenate all remaining arguments
to = argv[optind];
System.out.println("To: " + to);
} else {
System.out.print("To: ");
System.out.flush();
// to = in.readLine();
to = "[email protected]";
if (subject == null) {
System.out.print("Subject: ");
System.out.flush();
// subject = in.readLine();
subject = "New Bill @ " + new Date ();
} else {
System.out.println("Subject: " + subject);
Properties props = System.getProperties();
// XXX - could use Session.getTransport() and Transport.connect()
// XXX - assume we're using SMTP
System.out.println("mailhost :"+mailhost);
System.out.println("from :"+from);
System.out.println("to :"+to);
System.out.println("cc :"+cc);
System.out.println("subject :"+subject);
System.out.println("bcc :"+bcc);
System.out.println("url :"+url);
if (mailhost != null)
props.put("mail.smtp.host", mailhost);
// Get a Session object
Session session = Session.getDefaultInstance (props, null);
if (debug)
session.setDebug (true);
// construct the message
Message msg = new MimeMessage(session);
if (from != null)
msg.setFrom(new InternetAddress(from));
else
msg.setFrom();
msg.setRecipients(Message.RecipientType.TO,
InternetAddress.parse(to, false));
if (cc != null)
msg.setRecipients(Message.RecipientType.CC,
InternetAddress.parse(cc, false));
if (bcc != null)
msg.setRecipients(Message.RecipientType.BCC,
InternetAddress.parse(bcc, false));
msg.setSubject(subject);
collect(in, msg);
// msg.setHeader("X-Mailer", mailer);
// msg.setSentDate(new Date());
// send the thing off
// Transport.send(msg);
// System.out.println("\nMail was sent successfully.");
} catch (Exception e) {
e.printStackTrace();
public void collect(BufferedReader in, Message msg) throws MessagingException, IOException {
BodyPart bp1=new MimeBodyPart();
String html="<H1>Hello from Jeevan</H1>";
html=html+"<img src=cid:mickey>";
bp1.setContent(html,"text/html");
MimeMultipart mp=new MimeMultipart("related");
mp.setSubType("related");
mp.addBodyPart(bp1);
BodyPart bp2=new MimeBodyPart();
DataSource source=new FileDataSource("fss.gif");
bp2.setDataHandler(new DataHandler(source));
bp2.setHeader("discrete-type","image");
bp2.setHeader("Content-ID","mickey");
mp.addBodyPart(bp2);
msg.setContent(mp);
Transport.send(msg);
System.out.println("\nMail was sent successfully.");
// msg.setDataHandler(new DataHandler( new ByteArrayDataSource(sb.toString(), "text/html"))); -
How to do hyperlink to html page?
can i know how to do a hyperlink to html page once i click on a Jbutton? I need a help : )
You can try something like this:
String cmd = "c:/program files/ie.exe"; // WHat ever your explorer path is
String url = "test.html"; // what ever your html path is
try {
Runtime.getRuntime().exec(cmd + " \"" + url + "\"");
} catch (IOException ex) {
ex.printStackTrace();
} -
How to send browser display HTML page as HTML Email using JSF
Hi all
i need to send a whole jsf rendered page as a html page.... . say theres a page which hav few links , images etc & theres a send email button at the end of the page. once the user clicks on the button the whole page shld appear in another window which hav from,to, subject line + the html body of tht earlier page & once he clicks the send button it should send to the sender & the receiver should see the email a s a html email.where u can click on the links,images showin etc...
Thanks
SamanSubhash,
Here is one approach..
1. Make the report page as PUBLIC ( no Authentication required)
2. Create procedure which will pull the page content and send it to pre-defined e-mail address
2.1 Use utl_http.request to pull the page content
2.2 Store the page content in some PL/SQL variable and pass it as 'p_body_html' parameter to APEX_MAIL.SEND procedure.
3. Schedule the above procedure to run on daily using DBMS_JOB API.
I have not implemented it and its just a thought.
Regards,
Hari -
How do I customize the index page?
I can't seem to find out how to edit the default index page (ie content, banner, etc.) without it losing the theme or the css file, which i guess is somehow linked to it? The page points to "collaboration/css/serverhome_static.css" which doesn't seem to exist?
Can you guys help me out?
Maybe point me to the right files? or just flat out tell me what to do would be nice :P
thanksHi,
The web pages produced for the groups are dynamic and under the control of WebServer. You can see the requests and responses in Console -> LOG FILES -> /Library/Logs -> WebServer which accesses the folder /usr/share/.
If you want to change something like the banner on the groups listing page you can:
Change banner.jpg in usr/share/collaboration/css/serverhome/img to the banner image of your choice (ensuring the size (length x height) is appropriate). Be sure to set Permissions on any files added to
Owner: root -rw, Group: wheel -r, Others: -r.
Be aware that /usr/share may be changed during a Apple software update. For user specific changes immune to updates the place to modify is at /Library/Application Support/Apple/WikiServer. That said I made changes to my banner display in /usr/share as described above in 10.5.0 that haven't been disturbed by 10.5.1 - 10.5.5.
HTH,
Harry
Maybe you are looking for
-
How to properly set up iTunes Match on multiple devices
Hi, I've just purchased iTunes Match and I would like to set it up to all devices in my apartment. I've read that you can set it up up to 10 devices. My situation: I have MacBook Pro, iPhone 4 and iPad with my Apple ID. My wife has her MacBook Pro an
-
Is there a way to link two apple accounts so they can share stuff in their itunes?
Stuff meaning music, apps because me and my mom started our accounts and started buying stuff with our own apple accounts. ( I have an ipod and she has an ipad) so we would like to buy some music for us to share. However she is paying with her accoun
-
Error while registering for index relevant events: Invalid RID: No reposito
Hi, I created an index and assigned a datasource to search the Windows network drive. I activated the index and now when I am monitoring the application log, I see the error <b>Error while registering for index relevant events: Invalid RID: No r
-
IPad (first gen) wont turn on
Hi. I got an 32 gb wifi only ipad (1st gen) recently. I had taken really, really good care of it and never dropped it or got it wet or anything. Yesterday I set it down for about 20 minutes. When I came back it had turned off and would not turn back
-
Dear kind Expert / Terence / Old Frog (you very kindly greatly assisted me the other day) / etc., - I have a large library file from which I have copied only about 1/3rd of these images into various albums. Is it possible to highlight and delete in o