Change Background Attribute of Body Element?

hi,
i want to change the backgound attribute of body tag i am not able to do it with setCharacterAttributes method but i could do it for other elements which are leaf eg Image,etc,
SetCharacterAttribute method states that the getStartOffset method will return the offset of the first child if the element happens to be non leaf element ,if so how do i get the offset??
I have searched the forum on the above issue but didnt get any feasable solution!!
Thanks in Advance
Nawaz

Hello, there are meanings, but not very easy...
1)
First, search and get the Element named body.
get attributes and cast them to javax.swing.text.MutableAttributeSet.
then you can set theAttribute.add(...) to set the attribute you want
But :( this method need get a write lock of HTMLDocument.
But :(( writeLock() and writeUnlock() method are protected. Then you must override them to set them public
and use
try {
   doc.writeLock()
   attr.add(---);
finally
   doc.writeUnlock()
}Before do this check if the backgound attribute works on JTextPane by opening a such document...
2) get the HTML code, modify it and replace it

Similar Messages

  • How to change general attribute of text element

    hi
    who now how to change general attribute of text element on screen dinamically? I wish to change text value dinamically for example.

    Hi Denis,
    I am not too sure on what you want.
    If you require that the text value be different based on some conditions you can declare as many text elements as conditions and call the relevant text element.
    But I dont think that you can assign dynamic texts to a single text element.
    Regards,
    Saurabh

  • Node - Changing an attribute of few elements

    Dear Experts,
    Greetings.
    We have a table which has multiple editable rows...first colum is a check box.... and second column is "Group Name"  If user selects few check boxes and presses " add group name button" a pop up comes and aks for group name...upon giving the group name....and clicking on save...the given group name should appear in all the selected rows.
    We tried the following logic...but it didn't work out
    For  ( from 0 to nodesize)
    If (select == true)
    set lead selection to i.
    element = getelement at (i);
    gname = get the name from comp. controller.
    element.setGname(gname).
    But it saids the value only for the first row.....regardless of the no of checks......but the loop is perfect...
    it enters the IF codition for all the ticked check boxes.
    Kindly prvide Ur suggestion
    Sathya

    Try adding a node->invalidate() to your code.
    PS. I think you don't have to change the lead selection in the code.

  • How to change entire background to black in Elements 11?

    I have a photo of a red rose - I'm trying to change the entire background to black - how?

    Thanks so much for your quick reply - I've printed off your instructions, I'll give it a shot later today.  Elem 11 is quite a step up from Elem 5 for me - I think I'm in for somewhat of a learning curve.  Thanks again!! Glen...
      From: hatstead
      Sent: Friday, August 16, 2013 12:56 PM
      To: Ermineglen
      Subject: How to change entire background to black in Elements 11?
            Re: How to change entire background to black in Elements 11?
            created by hatstead in Photoshop Elements - View the full discussion

  • How would I get the Body element background to open at  the scale of the browser window

    How would I get the Body element background to open at  the scale of the browser window? I hear that by using an HTML tag or CSS rule I could scale a background that is placed in the body element without using javascript is this true? 

    The most reliable solution is to use small image slices or tiles and repeat them down and across the page or container division.
    CSS EXAMPLE:
    body {
         background: url(your_image.jpg) repeat;
    More on background images:
    http://alt-web.com/Backgrounds.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • How do I change background in Elements 12

    I've used Adobe PhotoDeluxe 2.0 for years then had to get a new computer and the old 2.0 won't work on it. In the 2.0 it was EASY to change backgrounds in photos. I haven't been able to figure out how to do that with the layers in Elements 12 and it's driving me crazy. Is there and easier way, like with the 2.0 that you just erase the background you don't want then open the background photo you do want and it just puts itself right behind it. Thank you.

    Use one of the selection tools to select the foreground.
    Place the foreground on a separate layer (CTRL+J)
    Place a blank layer between the background layer and the layer with the foreground, then fill it with color, patterns, or anything that you want.

  • Downloaded trial photoshop elements 12. Can't access it or upload a photo I must fix/change background on

    Downloaded trial Photoshop Elements 12. Can't access/open it or upload a photo I must fix/change background on...

    Hi literarykid,
    Please let me know what error you get when you try to open PSE12 and which OS you are using.
    Regards,
    Rave

  • Is there any way to change the background colour in Photoshop Elements 8?.

    Is there any way to change the background colour in Photoshop Elements 8?  There are two options offered in General Preferences, Appearance Options - Dark Grey or Light Grey - but even the Light Grey is much darker than that in Photoshop CS2.  I would like to make the background much lighter.  All advice will be appreciated.

    Thanks for your comments.
    I have seen that the background can be changed in PSE7 by using a slider in Preferences- General;  I don't understand why Adobe didn't keep that facility.

  • Changing HTML attributes

    Hi,
    My application can display HTML pages in a JTextPane. It can highlight parts of the text to make them stand out. But this is a problem when the HTML document has the same color that is used for highlighting the text. It makes the text look invisible!
    So I would like to be able to change the background color to white, no matter what is in the original HTML document. (Later, I will also be wanting to change the font color to black, and maybe remove/change some other attributes, but one thing at a time!)
    A StyledDocument is created with this code: EditorKit ek = new HTMLEditorKit();
    StyledDocument myDoc = (StyledDocument)ek.createDefaultDocument(); The HTML from the file is then read into myDoc with the "Read" method of the EditorKit. This StyledDocument will be used in another class which displays it on the JTextPane. But I want to change it BEFORE it goes on the JTextPane.
    Because the JTextPane accesses myDoc, I made a temporary StyledDocument called tempDoc to read the HTML into, then **hopefully** make my changes to, so that the very last line can be myDoc = tempDoc to make sure that myDoc only gets the very final changes.
    I use a Javax.Swing.Text.ElementIterator over the StyledDocument to get all of the elements and see if it's the body element using the Element.getName() method. This part works, because I have lots of println's in to see what is happening.
    I then use a SimpleAttributeSet and construct it using (bodyElement.getAttributes()). Then I tell it this: SimpleAttributeSet sas = new SimpleAttributeSet(bodyElement.getAttributes());
    sas.removeAttribute(sas.getAttribute(HTML.Attribute.BGCOLOR));
    sas.addAttribute(HTML.Attribute.BGCOLOR, "white");
    tempDoc.setCharacterAttributes(0, tempDoc.getLength(), sas, true); For the last line in particular, I feel like I've tried everytthing! Many different combinations.
    What I notice happening is that often the HTML document in the JTextPane displays the original document. Or else, all of the Elements, including content, are replaced with the <body bgcolor=white"> tag. (I make the EditorKit write out the resulting HTML file to see what's going on!). In the JTextPane, the original bgcolor remains, even if the content disappears. In the Browser, the bgcolor is the right color (with the content still missing.)
    Please do not tell me to edit the HTML files themselves as they are the client's, and it's a nicer solution for the program to handle them rather than tell the people to manually edit all of the files. Plus, the files are machine-generated, so there might not be anyone who even knows HTML!
    I have also tried using StyleConstants to change the colors, but this only changes the colors right behind the text. So the bgcolor is still displayed, but it looks like someone has run a white highlighter over the text. Quite ugly!
    I hope I have explained this well. The code is quite complicated (and messed up right now because I have been playing with it all day) so I haven't posted it. If you have any questions to clarify it, please ask!
    Thanks in advance to anyone who takes a look and attempts to help. (There are Dukes cuz everyone seems to like them, even though I don't really know what they do. A ranking system?)

    Ok, I deleted all of my changes and started again. This time, I set the Paragraph attributes instead of Character Attributes (I read the API properly and it said that set Character Attributes changes all of the content element attributes). That would explain why all of the text disappeared, lol! It doesn't explain why the original document was still being displayed in the JTextPane, but when I set Paragraph attributes, the document with the correct color background appears.
    There are still a couple of funny things happening. Cuz I'm lazy I'll post the resulting and original HTML files here:
    ORIGINAL:
    <html>
    <head>
    <title>A Test Document</title>
    </head>
    <body bgcolor=red>
    A red document
    <p>
    New paragraph
    </body>
    </html>
    RESULTING:
    <html>
    <head>
    <body bgcolor="white">
    <title>A Test Document </title>
    </body>
    </head>
    <body bgcolor="red">
    <body bgcolor="white">
    A red document
    </body>
    <body bgcolor="white">
    New paragraph
    </body>
    </body>
    </html>
    It would be nice if only the <body bgcolor=red> tag would be replaced with <body bgcolor="white"> instead of getting inserted everywhere (even in the HEAD tag). I tried setting the Paragraph attributes to bodyElement.getStartOffset and getEndOffset() but it didn't work either.

  • How to provide background color to screen elements in screen designing?

    Hi all
        I am preparing a screen in module pool programming.
        I created 1 screen in that.
        How can i provide colors or background colors to my screen elements on that screen.
        Is this facility is there?
        If any body knows this please reply to this.
    Regards,
    K.S.L.Neelima.

    Hello
    I don't think it is posible... change the colour of screen element but you can only change the background color of screen but you can not put any elemnet on that screen using  picture control check for program RSDEMO_PICTURE_CONTROL will help you.

  • Change the description of standard element

    Hi,
       I need to change the description of (VBAP-MVGR1 'Material Group 1') field, which system is using in Transaction Code VA01,VA02 & VA03  (Additional data as per item level).  Pls suggest me how to change it's description. Clients wants to add his own description here.
      Should i change the description of data element directly with access key?
      pls suggest.
    Thanks in advance.
    Pradeep

    Hi,
    gothrough this, it will help you..
    Creating Your Own Keywords and Short Texts
    You can use the enhancement concept to create your own keywords for data elements stored in the ABAP Dictionary. The system uses keywords on screens to identify entry fields. Data elements can have up to three keywords of varying lengths.
    The data element BBBNR, for example, identifies the first part of a customer’s international company number. The standard keywords for this data element in the ABAP Dictionary are:
    Company no. 1
    Comp. no.1
    Company number 1
    You might want to change these keywords to reflect your company’s own terminology. Instead of ‘Company number 1,’ you might want to identify the field as ‘Corporate ID.’ If you change the keywords using the enhancement concept, your new texts will appear in all SAP screens where any field directly refers to the data element your altered. If SAP deliberately modifies a keyword on a standard screen, direct reference to the original data element is dissolved. Any changes you make to a keyword with the enhancement concept will not appear in standard screens that do not retain a direct reference to the modifed data element.
    You can identify such screen-specific modifications by looking in the Screen Painter. Display the field’s screen attributes and examine the field Modific. If an ‘x’ appears, the SAP developer modified the data element’s key word. Your own keyword will not appear.
    The enhancement concept also allows you to alter a data element’s short description (short text). This brief text appears whenever a user calls up online help for that field with F1 . To create your own keyword and short text documentation, proceed as follows:
    Enter the Project management transaction by choosing Utilities ® Enhancements ® Project management from the ABAP Workbench menu
    Choose Text enhancements ® Key words ® Change.
    The system displays a dialog box.
    Enter the name of data element.
    If you want to see a list of all the screens where this data element appears, choose Ref. to screen before proceeding to the next step. The reference list shows you how many standard R/3 screens your new documentation will affect.
    Choose Change from the application toolbar.
    Edit the data element’s keywords and short text.
    Save your changes.
    If you want to list all the data elements in your system that you have created customer-specific key words for, return to the main screen of the Project management transaction and choose Text enhancements ® Key words ® Display. The system displays all altered data elements and shows which changes were made.
    Restoring SAP and Customer Versions
    At some point you may want to restore all standard SAP keywords and short texts for data elements that you may have altered. You can restore the standard texts from the main screen of the Project management transaction. Choose Text enhancements ® Key words ® Restore SAP version. Specify the SAP release from which the texts are to be restored.
    The restoration function is carried out by a special program that runs in the background. This program goes through all data elements in your SAP System and restores the standard texts where required.
    Creating Your Own Online Documentation
    The enhancement concept allows you to create your own online documentation for all data elements in the ABAP Dictionary. The system displays this documentation whenever a user chooses F1 to get more information about a screen field.
    The standard documentation for the R/3 data element BBBNR reads: ‘Here, you enter the first 7 digits of the international location number’. You can enhance this documentation with additional information that your users may need. To write your own field documentation, proceed as follows:
    Call the Project management transaction by choosing Utilities ® Enhancements ® Project management from the ABAP Workbench menu.
    Choose Text enhancements ® Data elements ® New DE cust. docu.
    The system displays a dialog box.
    Specify the data element’s name.
    If you want to see a list of all the screens where this data element appears, choose Ref. to screen before proceeding to the next step. The reference list shows you how many standard R/3 screens your new documentation will affect.
    Choose Change from the application toolbar.
    On the next screen, ensure that the checkbox labelled Make available SAP documentation in the form of an INCL is activated.
    Choose Create.
    Write your own documentation.
    Save your changes.
    -suresh

  • Can I change colors of the UI Elements related to WebDynPro Java

    Can I Change the colors of the UI Elements which are embedded in the view, for ex., Button, Label, Tray, etc... and Can I change other attributes like font style, size, etc...

    hi,
    just check out these links , may not be precise to your question but are useful
    Changing the colours of Table and Group Headers in Web Dynpro
    How to change color of label in web dynpro?
    /people/sap.user72/blog/2006/04/25/colourful-table-in-web-dynpro
    Regarding Design of background color in a Web Dynpro Table
    Colors in WD - Java
    displaying color for a particular column item in a table
    hope it helps
    regards

  • Trouble changing  background color. Using Dreamweaver CS4

    I can't get to change the back ground color [The greenish grey color] , within a table,  of a web page... Please see http://www.urefillit.com/index2.html  Can use some help here... Also I notice that the foliage background is slow in loading... Any suggestions as to what is causing the loading delay?
    Thanks in advance!!!!!
    Using CS4.........The Code is as follows:
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <meta name="msvalidate.01" content="F33B6715B987C15F0176AAFDA87BE459" />
    <meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org" />
    <title>Urefillit manufactures and markets Octenol, Asian Tiger lure, and Kaboom replacement type products</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="Description" content="We are focused on providing high-quality products and a commitment to customer satisfaction - We will do everything we can to meet your expectations for the best priced and highest quality mosquito control and Kaboom replacement type products available on the market today" />
    <meta name="Keywords" content="Octenol, Lure, Asian Tiger mosquito lure, Kaboom refills, mosquito magnet mosquito killing machine" />
    <meta name="Robots" content="index, follow" />
    <style type="text/css">
    /*<![CDATA[*/
    body {
            background-image: url(images/SambucusBlackLaceFoliage.jpg);
            background-color: #FFCC66;
    body.c7 {background-attachment:fixed}
    div.c6 {text-align: center}
    p.c5 {font-family: Arial; font-size: 70%; text-align: center}
    span.c4 {font-family: Arial; font-size: 70%}
    span.c3 {font-family: Courier}
    p.c2 {text-align: center}
    span.c1 {font-family: Courier; font-size: 120%}
    /*]]>*/
    .c7 table tr .c11 {
            background-color: #F60;
            font-size: 18px;
    tr .c11 table tr td p {
            font-family: "Times New Roman", Times, serif;
            font-size: 16pt;
    .c7 table tr .c11 table tr td p {
            font-family: "Times New Roman", Times, serif;
            font-size: x-large;
    .c7 table tr .c11 table tr td p {
            font-family: "Times New Roman", Times, serif;
            font-size: 16pt;
    .c7 table tr .c11 #table2 tr th {
            background-color: #0F6;
    /*]]>*/
    </style>
    <script src="file:///C|/Scripts/swfobject_modified.js" type="text/javascript">
    </script>
    <style type="text/css">
    /*<![CDATA[*/
    table.c16 {background-color: #FFD9B3}
    p.c15 {text-autospace:none;}
    th.c14 {background-color: #00FF99}
    td.c13 {background-color: #00FF99}
    th.c12 {background-color: #FF6666}
    h2.c11 {font-size: 120%}
    span.c10 {font-size: 150%}
    span.c9 {text-decoration: underline}
    div.c8 {font-size: 70%; text-align: right}
    td.c7 {background-color: #003399}
    p.c6 {text-decoration: underline}
    table.c5 {background-color: #FFCC66}
    td.c4 {background-color: #FFFFFF}
    div.c3 {text-align: center}
    table.c2 {
            background-color: #0F6;
            font-size: 18px;
    th.c1 {background-color: #FFFFFF}
    .c7 table tr th .c7 {
            color: #008040;
    .c7 table tr th .c7 strong {
            color: #000;
    .c7 table tr th .c7 {
            color: #000;
    .c7 table tr th .c1 strong {
            color: #008000;
    /*]]>*/
    </style>
    <style type="text/css">
    /*<![CDATA[*/
    body {
            background-color: #FFCC33;
    th.c1 {background-color: #FFCC66}
    /*]]>*/
    th.c11 {background-color: #FFFFFF}
    th.c11 {
            background-color: #F93;
            position: relative;
            left: auto;
            top: auto;
            right: auto;
            bottom: auto;
            visibility: visible;
            width: auto;
    .c7 table tr .c11 #table2 tr th .c2 a .c3 strong {
            color: #00F;
    .c7 table tr .c11 #table2 tr td a {
            color: #00F;
    .c7 table tr .c11 #table2 tr td a {
            color: #00F;
    .c7 table tr .c11 #table2 tr td p a {
            color: #00F;
    .BLUE { color: #00F;
    .BLUE { color: #00F;
    .blue { color: #00F;
    .blue { color: #00F;
    p.c1 {text-align: center}
    p.c13 {font-size: 80%; text-align: center}
    p.c71 {margin-right:0in;
    margin-left:0in;
    font-size:9.5pt;
    font-family:"Comic Sans MS";
    color:#000040;
    span.c101 {font-size: 80%}
    span.c12 {font-family: Courier New, Courier, monospace}
    span.c6 {font-family: Arial}
    </style>
    <style type="text/css">
    /*<![CDATA[*/
    img.c16 {border:0;width:88px;height:31px}
    span.c15 {font-size: 120%}
    div.c14 {color: #FFFFFF; font-size: 150%; text-align: center}
    span.c13 {font-size:18.0pt; color:#B90D09;}
    strong.c12 {text-decoration: underline}
    span.c11 {font-family:'Comic Sans MS'; color:red;}
    em.c10 {text-decoration: underline}
    span.c9 {color:red;}
    table.c8 {background-color: #006600}
    td.c7 {background-color: #006600}
    span.c6 {font-size: 150%; text-decoration: underline}
    p.c5 {text-decoration: underline}
    p.c4 {text-align: center; text-decoration: underline}
    p.c3 {text-align: center}
    span.c2 {text-decoration: underline}
    div.c1 {text-align: center}
    /*]]>*/
    .c7 table tr .c11 #table2 tr td p {
            color: #00F;
    .eight {
            color: #F00;
    </style>
    <style type="text/css">
    /*<![CDATA[*/
    <!--
    p.MsoNormal {
    margin-top:0in;
    margin-right:0in;
    margin-bottom:10.0pt;
    margin-left:0in;
    line-height:115%;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    .c7 table tr .c11 .c5 strong u span {
            color: #008080;
    .c7 table tr .c11 p u em {
            color: #00F;
    .c7 table tr .c11 p em u {
            color: #00F;
    .c7 table tr .c11 table tr td .c7.c6 .c10 {
            font-family: "Courier New", Courier, monospace;
    .c7 table tr .c11 table tr td .MsoNormal strong u span {
            color: #00F;
    .c7 table tr .c11 table tr td .MsoNormal strong u span {
            font-family: "Times New Roman", Times, serif;
    .c7 table tr .c11 table tr td p strong u {
            font-family: "Times New Roman", Times, serif;
    .c7 table tr .c11 table tr td p strong u {
            font-family: "Times New Roman", Times, serif;
    .c7 table tr .c11 table tr td p strong u {
            font-size: 16px;
    .c7 table tr .c11 table tr td p {
            font-size: 10px;
    .c7 table tr .c11 table tr td p {
            font-size: 12px;
    .c7 table tr .c11 table tr td p {
            font-size: 12px;
    .c7 table tr .c11 table tr td p {
            font-size: 12px;
    .c7 table tr .c11 table tr td .MsoNormal strong u span {
            color: #000040;
    .c7 table tr .c11 .c7 tbody tr th a {
            color: #000;
    .c7 table tr .c11 #table2 tr td a {
            color: #000;
    .c7 table tr .c11 #table2 tr th .c2 a {
            color: #000;
            font-size: 18px;
    .c7 table tr .c11 #table2 tr th a {
            color: #000;
            font-size: 18px;
    .c7 table tr .c11 p u strong font {
            color: #B80738;
    .c7 table tr .c11 p u strong {
            color: #B80738;
    .c7 table tr .c11 table tr td p strong u {
            font-size: 24px;
    .c7 table tr .c11 table tr td p {
            font-size: 16pt;
    .c7 table tr .c11 .MsoNormal span {
            font-size: 24px;
    .c7 table tr .c11 .MsoNormal span {
            font-size: 24px;
    .c7 table tr .c11 .MsoNormal span {
            font-size: 24px;
    .c7 table tr .c11 #table2 tr th {
            font-size: 16px;
    .c7 table tr .c11 #table2 tr th p a {
            font-size: 18px;
    .c7 table tr .c11 #table2 tr th p a {
            font-size: 18px;
    .c7 table tr .c11 #table2 tr th p a {
            font-size: 18px;
    .c7 table tr .c11 table tr td .MsoNormal a {
            font-size: 18px;
    .c7 table tr .c11 table tr td .MsoNormal a {
            font-size: 24px;
    .c7 table tr .c11 .MsoNormal span {
            font-size: 24px;
    .c7 table tr .c11 table tr th a {
            font-size: 18pt;
    -->
    /*]]>*/
    </style>
    <style type="text/css">
    /*<![CDATA[*/
    table.c11 {background-color: #0033FF}
    th.c10 {background-color: #8D8D5E}
    span.c9 {font-family:'Times New Roman','serif'; font-size:18pt;}
    p.c8 {line-height: normal; margin-bottom: .0001pt; text-align: center}
    p.c7 {; font-family: 'Times New Roman', 'serif'; font-size: 14pt; text-align: center}
    p.c6 {; font-family: 'Times New Roman', 'serif'; color: #00F; font-size: 18pt; font-style: italic; text-align: center}
    span.c5 {font-style: italic}
    span.c4 {line-height:115%; font-family:'Times New Roman','serif'; font-size:16.0pt;}
    p.c3 {text-align: center}
    strong.c2 {text-decoration: underline}
    th.c1 {background-color: #FFFFFF}
    /*]]>*/
    </style>
    </head>
    <body>
    <![CDATA[*/
    &amp;amp;lt;!--
    #Layer1 {position:absolute;
            width:110px;
            height:34px;
            z-index:1;
            left: 430px;
            top: 1116px;
            visibility: visible;}
    #Layer2 {position:absolute;
            width:170px;
            height:33px;
            z-index:1;
            left: 536px;
            top: 652px;}
    p.c7 {color: #000000; font-family: Arial; font-size: 80%}
    --&amp;amp;gt;
    /*]]>
    */ <script src="file:///C|/Scripts/AC_RunActiveContent.js" type="text/javascript">
    </script>
    <table class="c11" width="1250" border="15" align="center" cellpadding="5">
    <tr>
    <th width="888" height="2254" align="center" valign="top" class="c11 c10" scope="col">
    <p><br />
    <img src="images/webpagepicture.jpg" alt="WEB PAGE HEADER" width="1267" height="212" border="6" align="middle" /><br /></p>
    <table width="1188" border="6" align="center" class="c2" id="table2">
    <tr>
    <th width="143" scope="col">
    <p><a href="OctenolLure.html">Octenol Lure</a></p>
    </th>
    <th width="145" scope="col"><a href="FlowtronTypeLure.html">FlowtronTypeLure</a></th>
    <th width="145" scope="col">
    <p><a href="AsianTiger.html"></a><a href="AsianTiger.html">Asian Tiger Lure</a></p>
    </th>
    <th width="146" scope="col"><a href="Combolure.html">Combo Lure</a><br />
    (Octenol &amp; Lactic Acid)</th>
    <th width="146" scope="col">
    <p><a href="SkeeterVacLure.html">SkeeterVac Lure</a></p>
    </th>
    <th width="145" scope="col">
    <p class="c2"><a href="mosquitomagnettroubleshootingguide.html">Mosquito Magnet</a></p>
    <p class="c2"><a href="mosquitomagnettroubleshootingguide.html">Repair Guide</a></p>
    </th>
    <td width="145" align="center" valign="middle" scope="col"><a href="Kaboom.html">Kaboom</a><a href="/Kaboom.html">Replacement Tablets</a></td>
    <th width="111" height="104" align="center" valign="middle" scope="col"><a href="https://www.paypal.com/us/verified/pal=sales%40urefillit%2ecom" target="_blank"><img src="https://www.paypal.com/en_US/i/icon/verification_seal.gif" alt="Official PayPal Seal" width="98" height="108" border="0" align="top" /></a><br />
    <br /></th>
    </tr>
    </table>
    <br />
    <table width="282" border="20" align="center" cellpadding="0">
    <tr>
    <th class="c1" width="128" scope="col"><img src="images/flying%20mosquito.gif" alt="** PLEASE DESCRIBE THIS IMAGE **" width="97" height="75" /></th>
    <th class="c1" width="104" scope="col"><a href="#" onClick="window.open('https://www.sitelock.com/verify.php?site=www.urefillit.com','SiteLock','width=600,height=6 00,left=160,top=170');"><img src="//shield.sitelock.com/shield/www.urefillit.com" alt="website security" align="absmiddle" title="SiteLock" /></a></th>
    </tr>
    </table>
    <p><!-- start RatePoint Site Seal - Please, do not change -->
    <!-- end RatePoint Site Seal - Please, do not change -->
    <!-- start RatePoint Subscription Tool - Please, do not change -->
    <!-- end RatePoint Subscription Tool - Please, do not change -->
    ======================================================================================</p >
    <table width="1002" border="0" align="center">
    <tr>
    <td width="996">
    <p class="c3"><strong class="c2">All About Urefillit, LLC</strong></p>
    <p class="c3"><span class="c4">Urefillit, LLC prides itself on quality and consistency of its fine products, which are designed, made and manufactured in the USA. From production to quality control to final shipment, our highly trained team ensures the best quality, and reliable service for our customers. We are focused on providing high-quality products along with a commitment to customer satisfaction. We will do everything we can to meet your expectations for the best priced and highest quality mosquito lures, Kaboom replacement tablets, and bromine tablets available on the market today. With a variety of offerings to choose from, we're sure you will be happy with your purchase. Thank you for visiting our website and if you have any comments or questions, please feel free to contact us. We hope to see you again soon!</span><br /></p>
    <p class="c3"><img src="images/made_in_USA.jpg" width="221" height="228" alt="usa" /><br />
    <br /></p>
    <p class="c3">****************************************************************************** *************<br />
    <br /></p>
    <p class="c6">REFUND POLICY: <span class="c5">Our number one goal is your satisfaction. If our product does not perform as advertised you may return then unused item for a refund. A 25% restocking fee may apply. Buyer pays the return shipping costs. Special and international orders items DO NOT qualify for a refund.</span><br />
    <br /></p>
    <p class="c7"><img src="images/ebay-top-rated-seller-tracking.jpg" width="230" height="158" alt="** PLEASE DESCRIBE THIS IMAGE **" /><a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback2&amp;userid=fjp800&amp;ftab=Feedbac kAsSeller"><br />
    Check Out Our E-Bay Feedback</a></p>
    <p class="c7"><br />
    ****************************************************************************************** ********************<br /></p>
    </td>
    </tr>
    </table>
    <table width="1002" border="0" align="center">
    <tr>
    <td width="996">
    <p class="c3"><strong class="c2">Using Octenol to Attract Mosquitoes<br /></strong><br /></p>
    <p class="c3">Octenol is an natural chemical that occurs naturally as a by-product of plants and some animals that eat a lot of vegetable produce. If carbon dioxide is mixed with octenol, it has been found to be an attractant to several mosquito species. There are other insects such as no-see-ums and biting midges that are also attracted to this scent. It has been proven to be a very effective product, especially for no-see-ums.<br />
    <br />
    <img src="images/12137165-cartoon-stop-mosquito.jpg" width="168" height="168" alt="mosquito" /><br />
    <br />
    Octenol is also a pesticide ingredient that is used to attract mosquitoes and biting flies. It does not kill the insects; it only attracts them. It can be used in combination with other products and devices that do kill them once they are successfully attracted to the device. It is important to be aware that non-pest insects are also attracted and destroyed by some of the devices.<br />
    <br />
    If octenol is ingested, there is a possibility for toxicity. It is not, however, harmful in the air to humans, pets, or the environment. It is vitally important that it is kept safely away from children to avoid the possibility of ingesting. Placement of the attractant and device utilized to catch biting insects should be carefully considered. It should be kept safely away from children and pets.<br /></p>
    <p class="c3">To be most effective in mosquito control, the attractant should be placed between the breeding grounds of the mosquito and the area where the people are located. There are range limits that the attractant will reach and this needs to be considered in the placement of the trap as well.<br /></p>
    </td>
    </tr>
    </table>
    <a href="http://www.startlogic.com/join/index.bml?AffID=626972&amp;cid=592'"><br /></a> ==============================================================
    <p><img src="images/americanatural_1875_97577.gif" width="234" height="118" alt="** PLEASE DESCRIBE THIS IMAGE **" /></p>
    <p>Considering buying a mosquito trap? If so, compare the following traps before you make a purchase:</p>
    <a href="http://www.bluerhino.com/BRWEB/Outdoor-Living-Products/Mosquito-Traps.aspx">SkeeterVac</a>
    <table class="c6" border="0" align="center">
    <tbody>
    <tr>
    <td align="center">
    <div class="c3"><a href="http://www.mosquitomagnet.com/">Mosquito Magnet</a></div>
    </td>
    </tr>
    </tbody>
    </table>
    <table class="c6" border="0" align="center">
    <tbody>
    <tr>
    <td>
    <div class="c3"><a href="http://www.megacatch.com/">Mega-Catch</a></div>
    </td>
    </tr>
    </tbody>
    </table>
    <table class="c6" border="0" align="center">
    <tbody>
    <tr>
    <td>
    <div class="c3"><a href="http://koolatrononline.stores.yahoo.net/mosquito-control.html">Koolatron</a></div>
    </td>
    </tr>
    </tbody>
    </table>
    <table class="c6" border="0" align="center">
    <tbody>
    <tr>
    <td width="273">
    <div class="c3"><a href="http://www.mosquitocontroltrap.com/comparisons">Mosquito Trap Comparison Chart</a></div>
    </td>
    </tr>
    </tbody>
    </table>
    <p><br /></p>
    <table width="126" border="20" align="center" cellpadding="0">
    <tr>
    <th class="c1" scope="col"><a href="mailto:[email protected]">E-mail Urefillit</a></th>
    </tr>
    </table>
    <br />
    <p class="c8"> </p>
    <p class="c8"><span class="c9">Urefillit, LLC<br />
    800 Shore Drive East<br />
    Oldsmar, Florida 34677-4402</span></p>
    <p class="c8"> </p>
    <p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a><br /></p>
    <p> </p>
    </th>
    </tr>
    </table>
    <script type="text/javascript">
    //<![CDATA[
    <!--
    swfobject.registerObject("FlashID");
    //-->
    //]]>
    </script>
    </body>
    </html>

    Copy & Paste this code into a new, blank document.  SaveAs index3.html.  Feel free to adjust CSS colors and backgrounds as desired.   You'll find plenty of code comments to help you.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>U Refill It</title>
    <meta name="description" content="Your source for mosquito magnet and mosquito killing machine replacement products: Octenol, Asian Tiger lure and Kaboom">
    <!--help for older IE browsers-->
    <!--[if IE]>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <![endif]-->
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <style>
    /**CSS Reset**/
        margin: 0;
        padding: 0;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    img {
        vertical-align: baseline;
        display: block;
        max-width: 100%
    /**layout**/
    body {
        font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
        font-size: 100%;
        /**CSS gradient**/
    /* Old browsers */
        background: rgb(180,221,180);
        /* FF3.6+ */
        background: -moz-linear-gradient(top, rgba(180,221,180,1) 0%, rgba(131,199,131,1) 17%, rgba(82,177,82,1) 33%, rgba(0,138,0,1) 67%, rgba(0,87,0,1) 83%, rgba(0,36,0,1) 100%);
        /* Chrome,Safari4+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(180,221,180,1)), color-stop(17%, rgba(131,199,131,1)), color-stop(33%, rgba(82,177,82,1)), color-stop(67%, rgba(0,138,0,1)), color-stop(83%, rgba(0,87,0,1)), color-stop(100%, rgba(0,36,0,1)));
        /* Chrome10+,Safari5.1+ */
        background: -webkit-linear-gradient(top, rgba(180,221,180,1) 0%, rgba(131,199,131,1) 17%, rgba(82,177,82,1) 33%, rgba(0,138,0,1) 67%, rgba(0,87,0,1) 83%, rgba(0,36,0,1) 100%);
        /* Opera 11.10+ */
        background: -o-linear-gradient(top, rgba(180,221,180,1) 0%, rgba(131,199,131,1) 17%, rgba(82,177,82,1) 33%, rgba(0,138,0,1) 67%, rgba(0,87,0,1) 83%, rgba(0,36,0,1) 100%);
        /* IE10+ */
        background: -ms-linear-gradient(top, rgba(180,221,180,1) 0%, rgba(131,199,131,1) 17%, rgba(82,177,82,1) 33%, rgba(0,138,0,1) 67%, rgba(0,87,0,1) 83%, rgba(0,36,0,1) 100%);
        /* good browsers */
        background: linear-gradient(to bottom, rgba(180,221,180,1) 0%, rgba(131,199,131,1) 17%, rgba(82,177,82,1) 33%, rgba(0,138,0,1) 67%, rgba(0,87,0,1) 83%, rgba(0,36,0,1) 100%);
    /* older IE6-9 */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4ddb4', endColorstr='#002400', GradientType=0 );
    #wrapper {
        width: 75%;
        margin: 0 auto; /**with width, this is centered**/
        background: #FFC;
        border: 4px groove #F30;
        border-radius: 20px;
    header, footer {
        color: #F30;
        text-align: center;
        font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
    header img {
        border-radius: 15px 15px 0 0;
        width: 100%
    /**top menu**/
    nav {
        width: 90%;
        margin: 25px auto;
    nav li {
        list-style: none;
        font-weight: bold;
        display: inline;
    /**menu link styles**/
    nav li a {
        display: inline-block;
        font-weight: bold;
        color: green;
        text-decoration: none;
        padding: 1.15em;
        border: 2px outset green;
    /**menu links on mouse over**/
    nav li a:hover, nav li a:active, nav li a:focus { background: gold }
    /**main content**/
    article { padding: 2% }
    figure img {
        margin: 0 auto;
        border: 3px solid #FFF;
        border-radius: 10px;
        box-shadow: 1px 2px 5px #333;
    /**typography**/
    header h1 {
        font-size: 55px;
        text-shadow: 2px 3px 3px #666;
    header h2 {
        font-size: 18px;
        font-style: oblique
    h3 { margin-top: 20px; }
    p {
        margin-bottom: 18px;
        font-size: 18px;
        color: #000;
    figcaption {
        text-align: center;
        font-style: oblique;
        margin-bottom: 18px;
    </style>
    </head>
    <body>
    <div id="wrapper">
    <header>
    <img src="http://www.urefillit.com/images/webpagepicture.jpg" alt="U Refill It banner">
    <!--this is very good for search engines-->
    <h1>U Refill It</h1>
    <h2>Your source for mosquito magnet and mosquito killing machine replacement products: Octenol, Asian Tiger lure and Kaboom.</h2>
    </header>
    <!--top menu-->
    <nav>
    <ul>
    <li><a href="#">Menu1</a></li>
    <li><a href="#">Menu2</a></li>
    <li><a href="#">Menu3</a></li>
    <li><a href="#">Menu4</a></li>
    <li><a href="#">Menu5</a></li>
    <li><a href="#">Menu6</a></li>
    </ul>
    </nav>
    <!--main content-->
    <article>
    <h3>Article Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    <figure>
    <!--insert your image here-->
    <img src="http://placehold.it/500x325" alt="figure">
    <figcaption> Figure Caption </figcaption>
    </figure>
    <h3>Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    <h3>Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    </article>
    <!--begin footer-->
    <footer>
    <small>© 2014 Your Site Name. All Rights Reserved</small> </footer>
    <!--end wrapper--> </div>
    </body>
    </html>
    Nancy O.

  • Howto optionally include an attribute on an element in a JSP document ?

    I cannot find a way to optionally include an attribute on an element in a JSP document (JSPX). My JSP document is used to create an XML according to an XML schema where some element are declared as optional by the schema (default for element attributes).
    I've tried:
    a)
    <elem <c:if test="${!empty obj.attr}">attr=${obj.attr}</c:if>>
    </elem>b)
    <jsp:element name="elem">
       <c:if test="${!empty obj.attr}">
          <jsp:attribute name="attr">${obj.attr}</jsp:attribute>
       </c:if>
       <jsp:body>
       </jsp:body>
    </jsp:element>And none of them work. Any ideas?

    I cannot find a way to optionally include an attribute on an element in a JSP document (JSPX). My JSP document is used to create an XML according to an XML schema where some element are declared as optional by the schema (default for element attributes).
    I've tried:
    a)
    <elem <c:if test="${!empty obj.attr}">attr=${obj.attr}</c:if>>
    </elem>b)
    <jsp:element name="elem">
       <c:if test="${!empty obj.attr}">
          <jsp:attribute name="attr">${obj.attr}</jsp:attribute>
       </c:if>
       <jsp:body>
       </jsp:body>
    </jsp:element>And none of them work. Any ideas?

  • Change background color of textbox based on non-visible value

    Hello,
    I have a 10g master - detail form. I was wondering how can I change background color of text box (NAME) based on non-visivle item (MODIFIED_BY) value.
    So far, I have created two visual attributes and have put following code on "WHEN_NEW_BLOCK_INSTANCE" trigger
    if( :main.MODIFIED_BY = 'COCO') then
         SET_ITEM_PROPERTY('main.NAME',VISUAL_ATTRIBUTE,'VA_BLUE');
    else
         SET_ITEM_PROPERTY('main.NAME',VISUAL_ATTRIBUTE,'VA_RED');
    end if;
         But, it always goes to "ELSE" part and make RED color for all records. Could you please help me with this?
    Thanks.

    Got it.
    Post Query trigger on block
         if (:main.MODIFIED_BY ='COCO') then
              set_item_instance_property('main.NAME',current_record,visual_attribute,'VA_BLUE');
         else
              set_item_instance_property('main.NAME',current_record,visual_attribute,'VA_RED');
         end if;Thanks

Maybe you are looking for

  • Error creating document from using list using Document Template

    Hi All, I am trying to create a document from sharepoint list and upload it to a document library using item added and item updated event receiver methods. I can create metadata from list update in document library but unable to open the document. Th

  • Looking for a good alarm app that plays my songs

    I was never a fan alarm clocks, the awful alarms they sounds are certainly no way to start the day. My CD radio alarm clock is slowly starting to pack in and I figure my iPhone4 can do the same thing. Can anyone recommend an alarm app that randomly p

  • How to get the text of a message class

    Hi, I have a message class and added few message(with attributes) to that class. Now i want to read the text of the message based on the attributes and the message no. Example: Message 19 is - Where is &1. Where is &1. Where is &1. Where is &1. Infor

  • Running Forms

    Hello all: I am running forms 9i and am now able to get it to run in the browser. Is there a way to make the form fill the entire browser for better viewing? Any help for a newbie is greatly appreciated. Thanks to all.

  • Error: Portal theme

    Hello, i've created a Theme and assign it to all users in main_rules (System Administration > Portal Display > Desktops & Display rules > Portal Administrators > Super Administrators). But I've enter  a wrong path (one mistake), saved it and loged ou