CAS - Write text of certain html div tag to new attribute

Hi,
Is it possible with CAS to extract text from certain HTML div tags to new attributes. So let's say we have tags in a specific "Tags" div and store that text in a new attribute of that record?
Thanks!
Marco Snels

Hey Marco,
I'd need to try this out a bit more since I have never built a custom CAS web crawler parser plugin. Here's what I know based on your questions:
1) If I understand it correctly the name after the METATAG_PROPERTY_NAME_PREFIX will be the attribute name (?) so in this case Endeca.Document.HTML.MetaTag (?)
Correct. You will want to change this in the code to something more meaningful to what you're trying to parse out of the <DIV> you're interested in.
2) And I think that I have to change the FILTER-HTMLMETATAG name after the getParseMeta().add line but I don't know to which value?
Accorinding to the WebCrawler guide this sample attribute was only added so you could see a new property on each output record to prove that this custom plugin was being executed. It can be removed for your custom plugin. That said, you're going to have to change what you're pulling out out the parser object. In the sample, they're pulling out the MetaTags (via an Endeca extension of the nutch parser), which you don't care about for your need. (e.g. HTMLMetaTags tags = parse.getData().getMetaTag();). Instead, you'll need to pull out the Content (e.g. parser.getData().getContentMeta()). You may want to google for nutch parser usage to get examples on how specific HTML elements can be found.
HTH,
Dan
http://branchbird.com

Similar Messages

  • In Flex, mimic a HTML DIV-tag without height constraint?

    Hi!
    I've posted a somewhat similar question here before and
    although the answer was appreciated I'm still wondering if what I
    want to do is possible.
    In HTML you can create a DIV-tag with a fixed width, say
    100px. If you, after that, let the height remain undefined, you can
    add content to the tag having it expand it's height appropriately.
    Is it possible to achieve the same effect in Flex, or do I
    have to have fixed width and height on the application? If I let
    the application have a width of 100px, letting the height be
    undefined, I get the application to be the same height as the
    browser window which is not the case with the DIV-tag above.
    Hope someone understands what I mean. Thanks!
    /Marcus

    If you do this:
    <mx:VBox width="100%">
    and then put things into this VBox container, it will grow
    vertically as much as it needs to without having a specific height.
    The Application tag is the same way. Eventually, when you exceed
    the visible part of the Flash Player, the Application (or VBox)
    will acquire scrollbars.

  • HTML Div Tag

    Hi,
    I have a HTML Page with large amount of data to be displayed,and 3 buttons .I want to have scrollbars both horizontal and vertical for the data.I heard that this can be accomplished by using DIV tags..I tried out with DIV tags ..But it is not working.Please suggest me a way for doing that.

    How is this an advanced language topic?
    How is this a Java topic? :P How is this a topic for anywhere on sun.com? ;-)

  • HTML img tag and src attribute as a byte[]

    Hi everybody
    I have a question is it possible to send a byte[] to the src attribute in a <img> HTML tag. What i would like to gain is a way of reading an img file from the jar in a custom tag which is no problem. Problems start when i want to send a byte[] which I have read from the InputStream to the StringBuffer which contains the HTML code.
    byte[] dataByte = null;
    String charEncoding = "UTF-8";
    InputStream in = imageURL.openStream(); //InputStream to the img file inside a jar
    StringBuffer buffer = new StringBuffer();
    StringBuffer sb = new StringBuffer();
    String imgData = "";
    int data;
    while((data = in.read()) != -1)
    buffer.append(new Integer(data).toString(), charEncoding);                              
    imgData = buffer.toString();
    dataByte = imgData.getBytes();The problem starts in this line, i think i need some encoding to do this.
    sb.append("<img src=\""+dataByte.toString()+"\">");thx in advance

    I know that u can do something like that :
    <html>
    <body>
    </body>
    <IMG
    SRC="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7"
    ALT="Larry">
    </html>I want to do exactly the same thing but via custom tags. The problem is as u say i have some data in the src attribute but the web browser doesn't interpret it right. sory for the long html source.

  • Rich Text Editor functionality for a DIV tag in a publishing page in SharePoint online

    Hi,
    We are having a requirement where we need RTE behavior of SharePoint 2013 Rich Html Field for a custom DIV. The scenario goes like this:
    1. I have a publishing page
    2. I dropped the content editor web part and to that content editor web part I will point to an HTML file that needs to be rendered in that content editor web part
    3. I have one DIV in the above mentioned HTML files and I want that div to be editable and I need to RTE options for that DIV.
    How to accomplish the above behavior?

    Hi,
    According to your post, my understanding is that you wanted to create html rich text editor for a DIV tag in a publishing page in SharePoint online.
    You can create your own Rich Text Editor.
    Here are some great blogs for your reference:
    An Example to Use HTML Rich Text Editor
    Example: Using the Editor's instance
    Rich Text Editor control in SharePoint 2010
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Div tag with text and image verticaly centered

    I am having a problem with vertically aligning an image with
    a text line in a div tag using an external CSS file.
    Any help would be appreciated

    quote:
    Originally posted by:
    Night_Ripper
    You can simply do this:
    ProdDimensions img {vertical-align:middle;}
    Or you can use an un-ordered list that has your arrow
    embedded as a background image, something like this:
    .ProductList ul {list-style-image:
    url(Arrow.gif);list-style-position:outside;list-style-type:none;text-align:left;}
    .ProductList li {margin:0;}
    wrap your unordered list around a div with the class
    ProductList (or whatever you want to call it) and it will display
    with the arrows in the middle of the text.
    Another way to do it would be to set a background image on
    ProdDimensions class like this:
    background: url(Arrow.gif) left center
    no-repeat;padding-left:21px;
    That will simply put a background image to the left middle of
    your div, the padding will ensure the text is not on top of the
    arrow.
    I used your idea of using the arrow as the div bg and it
    worked like a charm.
    Thank you very much for your help!

  • AP Div tag's absolute postioning not working

    I have been trying to figure this problem out for about 2 hours and I have nothing. Div tags 98-101 are positioned in the right place when I'm looking at my page in Dreamweaver. But when I preview the page, those 4 div tags are not where they're supposed to be (they're in the bottom right of the page, hundreds of pixels from where they're supposed to be). Any ideas?
    Here's the code if it will help. Sorry its really long.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>SSR Shop!</title>
    <style type="text/css">
    <!--
    #apDiv1 {
        position:absolute;
        width:771px;
        height:186px;
        z-index:6;
        left: 232px;
        top: 121px;
    #apDiv2 {
        position:absolute;
        width:635px;
        height:774px;
        z-index:1;
        left: 299px;
        top: 368px;
        overflow: hidden;
    #apDiv3 {
        position:absolute;
        width:600px;
        height:30px;
        z-index:2;
        left: 315px;
        top: 514px;
    #apDiv4 {
        position:absolute;
        width:79px;
        height:22px;
        z-index:2;
        left: 307px;
        top: 48px;
        overflow: hidden;
        visibility: visible;
    #apDiv5 {
        position:absolute;
        width:86px;
        height:23px;
        z-index:8;
        left: 440px;
        top: 47px;
        visibility: visible;
    #apDiv6 {
        position:absolute;
        width:171px;
        height:33px;
        z-index:4;
        left: 539px;
        top: 44px;
        visibility: visible;
    #apDiv7 {
        position:absolute;
        width:185px;
        height:28px;
        z-index:5;
        left: 317px;
        top: 77px;
        visibility: visible;
    #apDiv8 {
        position:absolute;
        width:186px;
        height:36px;
        z-index:6;
        left: 520px;
        top: 79px;
        visibility: visible;
    #apDiv9 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:7;
        left: 757px;
        top: 29px;
    #apDiv10 {
        position:absolute;
        width:161px;
        height:91px;
        z-index:7;
        left: 778px;
        top: 9px;
        visibility: visible;
    body {
        background-color: #000000;
    #apDiv11 {
        position:absolute;
        width:211px;
        height:250px;
        z-index:8;
        left: 14px;
        top: 17px;
    #apDiv12 {
        position:absolute;
        width:146px;
        height:103px;
        z-index:8;
        left: 301px;
        top: 349px;
    #apDiv13 {
        position:absolute;
        width:200px;
        height:120px;
        z-index:9;
        left: 463px;
        top: 348px;
    #apDiv14 {
        position:absolute;
        width:227px;
        height:115px;
        z-index:10;
        left: 1013px;
        top: 519px;
    #apDiv15 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:11;
        left: 297px;
        top: 335px;
    #apDiv16 {
        position:absolute;
        width:120px;
        height:86px;
        z-index:1;
        left: 15px;
        top: 18px;
    #apDiv17 {
        position:absolute;
        width:262px;
        height:104px;
        z-index:2;
        left: 140px;
        top: 19px;
    #apDiv18 {
        position:absolute;
        width:128px;
        height:122px;
        z-index:12;
        left: 1012px;
        top: 354px;
    #apDiv19 {
        position:absolute;
        width:214px;
        height:33px;
        z-index:13;
        left: 1013px;
        top: 317px;
    #apDiv20 {
        position:absolute;
        width:134px;
        height:30px;
        z-index:14;
        left: 1011px;
        top: 484px;
    #apDiv21 {
        position:absolute;
        width:123px;
        height:86px;
        z-index:3;
        left: 14px;
        top: 148px;
    #apDiv22 {
        position:absolute;
        width:207px;
        height:114px;
        z-index:4;
        left: 145px;
        top: 138px;
        overflow: hidden;
    #apDiv23 {
        position:absolute;
        width:237px;
        height:257px;
        z-index:15;
        left: 714px;
        top: 335px;
    #apDiv24 {
        position:absolute;
        width:159px;
        height:25px;
        z-index:5;
        left: 459px;
        top: 6px;
    #apDiv25 {
        position:absolute;
        width:138px;
        height:80px;
        z-index:16;
        left: 772px;
        top: 349px;
    #apDiv26 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:17;
        left: 736px;
        top: 445px;
    #apDiv27 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:1;
        left: 234px;
        top: 6px;
        visibility: visible;
    #apDiv28 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:9;
        top: 112px;
        left: 236px;
        visibility: visible;
    #apDiv29 {
        position:absolute;
        width:402px;
        height:491px;
        z-index:19;
        left: 410px;
        top: 175px;
    #apDiv30 {
        position:absolute;
        width:675px;
        height:76px;
        z-index:1;
        left: 49px;
        top: 605px;
    #apDiv31 {
        position:absolute;
        width:200px;
        height:73px;
        z-index:19;
        left: 285px;
        top: 614px;
    #apDiv32 {
        position:absolute;
        width:231px;
        height:300px;
        z-index:19;
        left: 1px;
        top: 2px;
    #apDiv33 {
        position:absolute;
        width:230px;
        height:100px;
        z-index:19;
        left: 3px;
        top: -2px;
    #apDiv34 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:1;
        left: 8px;
        top: 160px;
    #apDiv35 {
        position:absolute;
        width:265px;
        height:293px;
        z-index:19;
        left: -33px;
        top: 14px;
    #apDiv36 {
        position:absolute;
        width:233px;
        height:295px;
        z-index:19;
        left: 106px;
        top: 100px;
    #apDiv37 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:19;
        left: 282px;
        top: 611px;
    #apDiv {
        position:absolute;
        width:197px;
        height:28px;
        z-index:4;
        left: 539px;
        top: 367px;
        background-color: #000000;
    #apDiv38 {    position:absolute;
        width:241px;
        height:58px;
        z-index:3;
        left: 487px;
        top: 323px;
    #apDiv39 {    position:absolute;
        width:603px;
        height:27px;
        z-index:5;
        left: 300px;
        top: 493px;
    #apDiv40 {    position:absolute;
        width:601px;
        height:792px;
        z-index:3;
        left: 316px;
        top: 356px;
    #apDiv41 {    position:absolute;
        width:200px;
        height:115px;
        z-index:4;
        left: 188px;
        top: 603px;
    #apDiv42 {    position:absolute;
        width:200px;
        height:115px;
        z-index:4;
        left: 62px;
        top: 456px;
    #apDiv43 {    position:absolute;
        width:185px;
        height:28px;
        z-index:4;
        left: 182px;
        top: 5px;
    #apDiv44 {    position:absolute;
        width:601px;
        height:792px;
        z-index:3;
        left: 316px;
        top: 356px;
    #apDiv45 {
        position:absolute;
        width:671px;
        height:733px;
        z-index:19;
        left: 291px;
        top: 331px;
    #apDiv46 {
        position:absolute;
        width:676px;
        height:103px;
        z-index:20;
        left: 283px;
        top: 313px;
    #apDiv47 {
        position:absolute;
        width:580px;
        height:332px;
        z-index:21;
        left: 333px;
        top: 473px;
    #apDiv48 {
        position:absolute;
        width:584px;
        height:329px;
        z-index:22;
        left: 329px;
        top: 467px;
    #apDiv49 {
        position:absolute;
        width:207px;
        height:245px;
        z-index:10;
        left: 13px;
        top: 306px;
        visibility: visible;
    #apDiv50 {
        position:absolute;
        width:440px;
        height:233px;
        z-index:1;
        left: 506px;
        top: 918px;
        background-color: #000000;
        overflow: hidden;
        outline-color: #CCCCCC;
        outline-style: solid;
        outline-width: 2px;
        border-color: #CCCCCC;
        border-width: 2px;
        border-style: solid;
    #apDiv51 {
        position:absolute;
        width:201px;
        height:233px;
        z-index:2;
        left: 293px;
        top: 918px;
        background-color: #666666;
        outline-color: #CCCCCC;
        outline-style: solid;
        outline-width: 2px;
        border-color: #CCCCCC;
        border-style: solid;
        border-width: 2px;
    #apDiv52 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:3;
        left: 310px;
        top: 958px;
    #apDiv53 {
        position:absolute;
        width:108px;
        height:41px;
        z-index:23;
        left: 389px;
        top: 982px;
    #apDiv54 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:3;
    #apDiv55 {
        position:absolute;
        width:112px;
        height:41px;
        z-index:23;
        left: 389px;
        top: 1132px;
    }td img {display: block;}td img {display: block;}td img {display: block;}td img {display: block;}td img {display: block;}td img {display: block;}td img {display: block;}td img {display: block;}td img {display: block;}
    #apDiv56 {
        position:absolute;
        width:212px;
        height:251px;
        z-index:3;
        left: -223px;
        top: 567px;
        visibility: visible;
    }td img {display: block;}td img {display: block;}td img {display: block;}td img {display: block;}td img {display: block;}td img {display: block;}td img {display: block;}td img {display: block;}td img {display: block;}
    #apDiv57 {
        position:absolute;
        width:361px;
        height:174px;
        z-index:4;
        left: 274px;
        top: 973px;
    #apDiv58 {
        position:absolute;
        width:207px;
        height:287px;
        z-index:1;
        left: -317px;
        top: -460px;
    #apDiv59 {
        position:absolute;
        width:211px;
        height:369px;
        z-index:23;
        left: 7px;
        top: 836px;
    #apDiv60 {
        position:absolute;
        width:213px;
        height:268px;
        z-index:24;
        left: -496px;
        top: -357px;
    #apDiv61 {
        position:absolute;
        width:665px;
        height:150px;
        z-index:22;
        left: 288px;
        top: 919px;
    #apDiv62 {
        position:absolute;
        width:664px;
        height:250px;
        z-index:25;
        left: 297px;
        top: 921px;
        overflow: hidden;
    #apDiv63 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:26;
        left: 11px;
        top: 565px;
    #apDiv64 {
        position:absolute;
        width:200px;
        height:764px;
        z-index:27;
        left: 1025px;
        top: 10px;
    #apDiv65 {
        position:absolute;
        width:200px;
        height:413px;
        z-index:28;
        left: 1026px;
        top: 782px;
    #apDiv66 {
        position:absolute;
        width:655px;
        height:115px;
        z-index:24;
        left: 291px;
        top: 927px;
    #apDiv67 {
        position:absolute;
        width:160px;
        height:115px;
        z-index:23;
        left: 294px;
        top: 317px;
    #apDiv68 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:24;
        left: 294px;
        top: 500px;
    #apDiv69 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:24;
        left: 486px;
        top: 320px;
    #apDiv70 {
        position:absolute;
        width:186px;
        height:219px;
        z-index:11;
        left: 339px;
        top: 416px;
        color: #FFFFFF;
        background-color: #CF000C;
        visibility: visible;
    #apDiv71 {
        position:absolute;
        width:186px;
        height:219px;
        z-index:12;
        left: 527px;
        top: 416px;
        visibility: visible;
    #apDiv72 {
        position:absolute;
        width:186px;
        height:219px;
        z-index:13;
        left: 715px;
        top: 416px;
        background-color: #CF000C;
        visibility: visible;
    #apDiv73 {
        position:absolute;
        width:186px;
        height:219px;
        z-index:14;
        left: 339px;
        top: 637px;
        visibility: visible;
    #apDiv74 {
        position:absolute;
        width:186px;
        height:219px;
        z-index:15;
        left: 527px;
        top: 637px;
        background-color: #CF000C;
        visibility: visible;
    #apDiv75 {
        position:absolute;
        width:186px;
        height:219px;
        z-index:16;
        left: 715px;
        top: 637px;
        visibility: visible;
    #apDiv76 {
        position:absolute;
        width:186px;
        height:219px;
        z-index:17;
        left: 339px;
        top: 857px;
        background-color: #CF000C;
        visibility: visible;
    #apDiv77 {
        position:absolute;
        width:186px;
        height:219px;
        z-index:18;
        left: 527px;
        top: 857px;
        visibility: visible;
    #apDiv78 {
        position:absolute;
        width:186px;
        height:219px;
        z-index:19;
        left: 714px;
        top: 857px;
        background-color: #CF000C;
        visibility: visible;
    #apDiv79 {
        position:absolute;
        width:186px;
        height:219px;
        z-index:32;
        left: 339px;
        top: 978px;
    #apDiv80 {
        position:absolute;
        width:186px;
        height:154px;
        z-index:20;
        left: 339px;
        top: 419px;
        visibility: visible;
    #apDiv81 {
        position:absolute;
        width:186px;
        height:30px;
        z-index:21;
        left: 340px;
        top: 574px;
        visibility: visible;
    .style16 {
        font-size: 24px;
        color: #FFFFFF;
        font-weight: bold;
    #apDiv82 {
        position:absolute;
        width:200px;
        height:115px;
        z-index:35;
    #apDiv83 {
        position:absolute;
        width:187px;
        height:51px;
        z-index:22;
        left: 339px;
        top: 601px;
        visibility: visible;
    #apDiv84 {
        position:absolute;
        width:186px;
        height:115px;
        z-index:23;
        left: 528px;
        top: 420px;
        visibility: visible;
    #apDiv85 {
        position:absolute;
        width:186px;
        height:32px;
        z-index:24;
        left: 527px;
        top: 574px;
        visibility: visible;
    .style17 {
        font-size: 24px;
        color: #FFFFFF;
    #apDiv86 {
        position:absolute;
        width:186px;
        height:63px;
        z-index:25;
        left: 527px;
        top: 601px;
        visibility: visible;
    #apDiv87 {
        position:absolute;
        width:675px;
        height:44px;
        z-index:26;
        left: 284px;
        top: 1136px;
        visibility: visible;
    #apDiv88 {
        position:absolute;
        width:186px;
        height:115px;
        z-index:27;
        left: 715px;
        top: 420px;
        visibility: visible;
    #apDiv89 {
        position:absolute;
        width:186px;
        height:30px;
        z-index:28;
        left: 715px;
        top: 574px;
        visibility: visible;
    .style18 {font-size: 24px; color: #FFFFFF; font-weight: bold; font-style: italic; }
    .style19 {font-size: 22px}
    #apDiv90 {
        position:absolute;
        width:187px;
        height:69px;
        z-index:29;
        left: 715px;
        top: 601px;
        visibility: visible;
    #apDiv91 {
        position:absolute;
        width:186px;
        height:137px;
        z-index:30;
        left: 339px;
        top: 644px;
        visibility: visible;
    #apDiv92 {
        position:absolute;
        width:186px;
        height:151px;
        z-index:31;
        left: 527px;
        top: 644px;
        visibility: visible;
    #apDiv93 {
        position:absolute;
        width:186px;
        height:151px;
        z-index:32;
        left: 715px;
        top: 644px;
        visibility: visible;
    #apDiv94 {
        position:absolute;
        width:186px;
        height:30px;
        z-index:33;
        left: 339px;
        top: 795px;
        visibility: visible;
    .style20 {
        font-size: 20px;
        color: #FFFFFF;
        font-weight: bold;
        font-style: italic;
    #apDiv95 {
        position:absolute;
        width:186px;
        height:32px;
        z-index:34;
        left: 527px;
        top: 796px;
        visibility: visible;
    .style21 {
        font-size: 20px;
        font-weight: bold;
        font-style: italic;
    .style22 {color: #FFFFFF}
    .style23 {
        font-size: 20px;
        font-style: italic;
    .style25 {font-size: 20px; color: #FFFFFF; }
    #apDiv96 {
        position:absolute;
        width:186px;
        height:34px;
        z-index:35;
        left: 715px;
        top: 796px;
        visibility: visible;
    #apDiv97 {
        position:absolute;
        width:188px;
        height:61px;
        z-index:36;
        left: 339px;
        top: 820px;
        visibility: visible;
    #apDiv98 {
        position:absolute;
        width:186px;
        height:69px;
        z-index:37;
        left: 527px;
        top: 820px;
        visibility: visible;
    #apDiv99 {
        position:absolute;
        width:186px;
        height:56px;
        z-index:38;
        left: 715px;
        top: 820px;
        visibility: visible;
    #apDiv100 {
        position:absolute;
        width:186px;
        height:115px;
        z-index:39;
        left: 339px;
        top: 862px;
        visibility: visible;
    #apDiv101 {
        position:absolute;
        width:187px;
        height:35px;
        z-index:40;
        left: 339px;
        top: 1014px;
        visibility: visible;
    -->
    </style>
    <script src="../main_page/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <script type="text/javascript">
    function MM_CheckFlashVersion(reqVerStr,msg){
      with(navigator){
        var isIE  = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
        var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
        if (!isIE || !isWin){ 
          var flashVer = -1;
          if (plugins && plugins.length > 0){
            var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
            desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
            if (desc == "") flashVer = -1;
            else{
              var descArr = desc.split(" ");
              var tempArrMajor = descArr[2].split(".");
              var verMajor = tempArrMajor[0];
              var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
              var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
              flashVer =  parseFloat(verMajor + "." + verMinor);
          // WebTV has Flash Player 4 or lower -- too low for video
          else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;
          var verArr = reqVerStr.split(",");
          var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
          if (flashVer < reqVer){
            if (confirm(msg))
              window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <script src="../articles/jc/x_division/Scripts/AC_ActiveX.js" type="text/javascript"></script>
    </head>
    <body onload="MM_CheckFlashVersion('9,0,28,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?\\\\\\\');MM_preloadImages(\\\\\\\'TV_guide/finished/days/wed_r2_c2_f2.gif\\\\\\\',\\ \\\\\'TV_guide/finished/days/thur_r2_c2_f2.gif\\\\\\\',\\\\\\\'TV_guide/finished/days/fri_ r2_c2_f2.gif\\\\\\\',\\\\\\\'TV_guide/finished/days/sat_r2_c2_f2.gif\\\\\\\',\\\\\\\'TV_gu ide/finished/days/sun_r2_c2_f2.gif\\\\\\\',\\\\\\\'TV_guide/finished/days/mon_r2_c2_f2.gif \\\\\\\',\\\\\\\'TV_guide/finished/days/tue_r2_c2_f2.gif\\\\\\\',\\\\\\\'TV_guide/finished /days/thu_r2_c2_f2.gif\\\\\\\',\\\\\\\'TV_guide/finished/days/monday_f2.gif\\\\\\\',\\\\\\ \'TV_guide/finished/days/thurday_f2.gif\\\\\\\',\\\\\\\'TV_guide/finished/days/friday_f2.g if\\\\\\\',\\\\\\\'TV_guide/finished/days/sunday_f2.gif\\\\\\\',\\\\\\\'TV_guide/finished/ days/suckerpunch_f2.gif\\\\\\\',\\\\\\\'TV_guide/finished/days/wednesday_f2.gif\\\');MM_pr eloadImages(\\\'TV_guide/finished/days/wed_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/thu r_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/fri_r2_c2_f2.gif\\\',\\\'TV_guide/finished/d ays/sat_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/sun_r2_c2_f2.gif\\\',\\\'TV_guide/fini shed/days/mon_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/tue_r2_c2_f2.gif\\\',\\\'TV_guid e/finished/days/thu_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/monday_f2.gif\\\',\\\'TV_g uide/finished/days/thurday_f2.gif\\\',\\\'TV_guide/finished/days/friday_f2.gif\\\',\\\'TV_ guide/finished/days/sunday_f2.gif\\\',\\\'TV_guide/finished/days/suckerpunch_f2.gif\\\',\\ \'TV_guide/finished/days/wednesday_f2.gif\');MM_preloadImages(\\\'TV_guide/finished/days/w ed_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/thur_r2_c2_f2.gif\\\',\\\'TV_guide/finished /days/fri_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/sat_r2_c2_f2.gif\\\',\\\'TV_guide/fi nished/days/sun_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/mon_r2_c2_f2.gif\\\',\\\'TV_gu ide/finished/days/tue_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/thu_r2_c2_f2.gif\\\',\\\ 'TV_guide/finished/days/monday_f2.gif\\\',\\\'TV_guide/finished/days/thurday_f2.gif\\\',\\ \'TV_guide/finished/days/friday_f2.gif\\\',\\\'TV_guide/finished/days/sunday_f2.gif\\\',\\ \'TV_guide/finished/days/suckerpunch_f2.gif\\\',\\\'TV_guide/finished/days/wednesday_f2.gi f\');MM_preloadImages(\'TV_guide/finished/days/wed_r2_c2_f2.gif\',\'TV_guide/finished/days /thur_r2_c2_f2.gif\',\'TV_guide/finished/days/fri_r2_c2_f2.gif\',\'TV_guide/finished/days/ sat_r2_c2_f2.gif\',\'TV_guide/finished/days/sun_r2_c2_f2.gif\',\'TV_guide/finished/days/mo n_r2_c2_f2.gif\',\'TV_guide/finished/days/tue_r2_c2_f2.gif\',\'TV_guide/finished/days/thu_ r2_c2_f2.gif\',\'TV_guide/finished/days/monday_f2.gif\',\'TV_guide/finished/days/thurday_f 2.gif\',\'TV_guide/finished/days/friday_f2.gif\',\'TV_guide/finished/days/sunday_f2.gif\', \'TV_guide/finished/days/suckerpunch_f2.gif\',\'TV_guide/finished/days/wednesday_f2.gif'); MM_preloadImages(\\\'TV_guide/finished/days/wed_r2_c2_f2.gif\\\',\\\'TV_guide/finished/day s/thur_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/fri_r2_c2_f2.gif\\\',\\\'TV_guide/finis hed/days/sat_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/sun_r2_c2_f2.gif\\\',\\\'TV_guide /finished/days/mon_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/tue_r2_c2_f2.gif\\\',\\\'TV _guide/finished/days/thu_r2_c2_f2.gif\\\',\\\'TV_guide/finished/days/monday_f2.gif\\\',\\\ 'TV_guide/finished/days/thurday_f2.gif\\\',\\\'TV_guide/finished/days/friday_f2.gif\\\',\\ \'TV_guide/finished/days/sunday_f2.gif\\\',\\\'TV_guide/finished/days/suckerpunch_f2.gif\\ \',\\\'TV_guide/finished/days/wednesday_f2.gif\');MM_preloadImages(\'TV_guide/finished/day s/wed_r2_c2_f2.gif\',\'TV_guide/finished/days/thur_r2_c2_f2.gif\',\'TV_guide/finished/days /fri_r2_c2_f2.gif\',\'TV_guide/finished/days/sat_r2_c2_f2.gif\',\'TV_guide/finished/days/s un_r2_c2_f2.gif\',\'TV_guide/finished/days/mon_r2_c2_f2.gif\',\'TV_guide/finished/days/tue _r2_c2_f2.gif\',\'TV_guide/finished/days/thu_r2_c2_f2.gif\',\'TV_guide/finished/days/monda y_f2.gif\',\'TV_guide/finished/days/thurday_f2.gif\',\'TV_guide/finished/days/friday_f2.gi f\',\'TV_guide/finished/days/sunday_f2.gif\',\'TV_guide/finished/days/suckerpunch_f2.gif\' ,\'TV_guide/finished/days/wednesday_f2.gif');MM_preloadImages(../ssr_tv/'TV_guide/finished /days/wed_r2_c2_f2.gif/',/'TV_guide/finished/days/thur_r2_c2_f2.gif/',/'TV_guide/finished/ days/fri_r2_c2_f2.gif/',/'TV_guide/finished/days/sat_r2_c2_f2.gif/',/'TV_guide/finished/da ys/sun_r2_c2_f2.gif/',/'TV_guide/finished/days/mon_r2_c2_f2.gif/',/'TV_guide/finished/days /tue_r2_c2_f2.gif/',/'TV_guide/finished/days/thu_r2_c2_f2.gif/',/'TV_guide/finished/days/m onday_f2.gif/',/'TV_guide/finished/days/thurday_f2.gif/',/'TV_guide/finished/days/friday_f 2.gif/',/'TV_guide/finished/days/sunday_f2.gif/',/'TV_guide/finished/days/suckerpunch_f2.g if/',/'TV_guide/finished/days/wednesday_f2.gif');MM_preloadImages('../ssr_tv/TV_guide/fini shed/days/wed_r2_c2_f2.gif','../ssr_tv/TV_guide/finished/days/thur_r2_c2_f2.gif','../ssr_t v/TV_guide/finished/days/fri_r2_c2_f2.gif','../ssr_tv/TV_guide/finished/days/sat_r2_c2_f2. gif','../ssr_tv/TV_guide/finished/days/sun_r2_c2_f2.gif','../ssr_tv/TV_guide/finished/days /mon_r2_c2_f2.gif','../ssr_tv/TV_guide/finished/days/tue_r2_c2_f2.gif','../ssr_tv/TV_guide /finished/days/thu_r2_c2_f2.gif','../ssr_tv/TV_guide/finished/days/monday_f2.gif','../ssr_ tv/TV_guide/finished/days/thurday_f2.gif','../ssr_tv/TV_guide/finished/days/friday_f2.gif' ,'../ssr_tv/TV_guide/finished/days/sunday_f2.gif','../ssr_tv/TV_guide/finished/days/sucker punch_f2.gif','../ssr_tv/TV_guide/finished/days/wednesday_f2.gif')">
    <div align="center">
      <div id="apDiv10"><img src="../images/ssr_mini_logo.jpg" width="126" height="85" /></div>
      <div id="apDiv27"><img src="../images/redblacktemplate.jpg" width="775" height="1200" longdesc="http://ShootingStarRadio" /></div>
      <div id="apDiv56"><img src="../images/jc_tv.jpg" width="207" height="245" /></div>
      <form id="form1" name="form1" method="post" action="">
        <div id="apDiv28"></div>
      </form>
      <div id="apDiv8">
      <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','widt h','138','height','27','src','../news/text5','quality','high','pluginspage','http://www.ad obe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#000000 ','movie','../news/text5' ); //end AC code
    </script><noscript>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="138" height="27">
      <param name="movie" value="../news/text5.swf" />
      <param name="quality" value="high" />
      <param name="bgcolor" value="#000000" />
      <embed src="../news/text5.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="138" height="27" bgcolor="#000000"></embed>
    </object>
    </noscript></div>
    <div id="apDiv7">
      <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','widt h','164','height','28','src','../news/text4','quality','high','pluginspage','http://www.ad obe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#000000 ','movie','../news/text4' ); //end AC code
    </script><noscript>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="164" height="28">
      <param name="movie" value="../news/text4.swf" />
      <param name="quality" value="high" />
      <param name="bgcolor" value="#000000" />
      <embed src="../news/text4.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="164" height="28" bgcolor="#000000"></embed>
    </object>
    </noscript></div>
    <div id="apDiv6">
      <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','widt h','146','height','32','src','../news/text3','quality','high','pluginspage','http://www.ad obe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#000000 ','movie','../news/text3' ); //end AC code
    </script><noscript>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="146" height="32">
      <param name="movie" value="../news/text3.swf" />
      <param name="quality" value="high" />
      <param name="bgcolor" value="#000000" />
      <embed src="../news/text3.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="146" height="32" bgcolor="#000000"></embed>
    </object>
    </noscript></div>
    <div id="apDiv5">
      <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','widt h','81','height','20','src','../news/text2','quality','high','pluginspage','http://www.ado be.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#000000' ,'movie','../news/text2' ); //end AC code
      </script>
      <noscript>
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="81" height="20">
        <param name="movie" value="../news/text2.swf" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#000000" />
        <embed src="../news/text2.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="81" height="20" bgcolor="#000000"></embed>
      </object>
      </noscript>
      </div>
    <div id="apDiv4">
        <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','widt h','85','height','18','src','../news/text1','quality','high','pluginspage','http://www.ado be.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#000000' ,'movie','../news/text1' ); //end AC code
    </script><noscript>
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="85" height="18">
        <param name="BGCOLOR" value="#000000" />
        <param name="movie" value="../news/text1.swf" />
        <param name="quality" value="high" />
        <embed src="../news/text1.swf" width="85" height="18" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000" ></embed>
      </object>
      </noscript>
      </a></div>
    </div>
    <div id="apDiv49"><img border="0" src="../images/sponsor_ssr_tv.jpg" width="207" height="245" /></div>
    <div id="apDiv70"></div>
    <div id="apDiv71"></div>
    <div id="apDiv72"></div>
    <div id="apDiv73"></div>
    <div id="apDiv74"></div>
    <div id="apDiv75"></div>
    <div id="apDiv76"></div>
    <div id="apDiv77"></div>
    <div id="apDiv78"></div>
    <div id="apDiv80">
      <div align="center"><a href="cwa/collision_course_2005.html"><img border="0" src="cwa/collisioncoursedvd.jpg" width="115" height="147" /></a></div>
    </div>
    <div class="style16" id="apDiv81">
      <div align="center" class="style23">Collision Course 2005</div>
    </div>
    <div id="apDiv83">
      <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
        <div align="center">
      <input type="hidden" name="cmd" value="_s-xclick">
      <input type="hidden" name="hosted_button_id" value="4958801">
      <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
      <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">    </div>
      </form>
    </div>
    <div id="apDiv84">
      <div align="center"><a href="cwa/encore_2005.html"><img border="0" src="cwa/encore2disc.jpg" width="138" height="146" /></a></div>
    </div>
    <div id="apDiv85">
      <div align="center"><em><strong><span class="style25">Encore- 2 Disc Set</span></strong></em></div>
    </div>
    <div id="apDiv86">
      <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <div align="center">
      <input type="hidden" name="cmd" value="_s-xclick">
      <input type="hidden" name="hosted_button_id" value="4959128">
      <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
      <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">  </div>
    </form>
    </div>
    <div class="style17" id="apDiv87">
      <div align="center">PAGE 1 2 3</div>
    </div>
    <div id="apDiv88">
      <div align="center"><a href="cwa/collision_course_2006.html"><img border="0" src="cwa/collisioncourse2006cover.jpg" width="138" height="146" /></a></div>
    </div>
    <div class="style18" id="apDiv89">
      <div align="center" class="style19">Collision Course 06</div>
    </div>
    <div id="apDiv90">
      <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
        <div align="center">
      <input type="hidden" name="cmd" value="_s-xclick">
      <input type="hidden" name="hosted_button_id" value="4959266">
      <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
      <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">    </div>
      </form>
    </div>
    <div id="apDiv91">
      <div align="center"><a href="cwa/super_summer_sizzler_2006.html"><img border="0" src="cwa/supersummersizzler2006cover.jpg" width="138" height="146" /></a></div>
    </div>
    <div id="apDiv92">
      <div align="center"><a href="cwa/going_the_distance 2005.html"><img border="0" src="cwa/goingthedistance2cover.jpg" width="138" height="146" /></a></div>
    </div>
    <div id="apDiv93">
      <div align="center"><a href="cwa/snowed_out_2007.html"><img border="0" src="cwa/snowedFout2007cover.jpg" width="138" height="146" /></a></div>
    </div>
    <div class="style20" id="apDiv94">
      <div align="center">Super Summer Sizzler</div>
    </div>
    <div class="style21" id="apDiv95">
      <div align="center" class="style22">Going The Distance 2</div>
    </div>
    <div class="style21" id="apDiv96">
      <div align="center" class="style22">Snowed Out 2007</div>
    </div>
    <div id="apDiv97">
      <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <div align="center">
      <input type="hidden" name="cmd" value="_s-xclick">
      <input type="hidden" name="hosted_button_id" value="4959957">
      <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
      <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    </div>
    <div id="apDiv98">
      <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <div align="center">
      <input type="hidden" name="cmd" value="_s-xclick">
      <input type="hidden" name="hosted_button_id" value="4960022">
      <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
      <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">  </div>
    </form>
    </div>
    <div id="apDiv99">
      <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <div align="center">
      <input type="hidden" name="cmd" value="_s-xclick">
      <input type="hidden" name="hosted_button_id" value="4960178">
      <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
      <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">  </div>
    </form>
    </div>
    <div id="apDiv100">
      <div align="center"><img src="cwa/conclusioncover.jpg" width="138" height="146" /></div>
    </div>
    <div class="style25" id="apDiv101">
      <div align="center"><strong><em>Conclusion</em></strong></div>
    </div>
    </body>
    </html>

    Div tags 98-101 are positioned in the right place when I'm looking at my page in Dreamweaver. But when I preview the page, those 4 div tags are not where they're supposed to be
    I thought I was reading it wrong, but you really do have 101 AP divs on the page. I don't have the time to go through your code, but using absolutely positioned divs as the sole basis for page layout is likely to lead to massive problems. AP divs (or layers, as they used to be called) were all the rage several years ago, because people wrongly thought they would make web pages work like desktop publishing. I used them, too, until I realized they caused massive problems.
    It won't solve your current problem, I'm afraid, but I recommend that you take a look at the following page, which describes some of the problems with AP div/layers: http://apptools.com/examples/pagelayout101.php.

  • CSS Div tag content???

    I am a novice working on a website... all the help is needed...
    I have a div layout for my website but want to create content with pictures, text, links inside the div tags... I know that there is many options to do it.
    What is the best way?
    Tables?
    Incorporating HTML?
    I guess if I can get past this obstacles I am well on my way.
    Thank you.
    GC02

    Tables are not required for modern web page layouts.
    Basic 1-column CSS Layout (view source in browser to see the CSS and HTML code)
    http://alt-web.com/TEMPLATES/Basic-1-col-fixed.shtml
    Basic 2-column CSS Layout
    http://alt-web.com/TEMPLATES/CSS-Basic-2-column-layout.shtml
    Tutorial: Creating your first web site in DW CS5 -
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Is there a way to Auto-Correct Spelling of text as I write text in Dreamweaver CS6 ?

    While I write text on the html pages using Dreamweaver CS6 (Adobe Cloud downloaded version 2014), there is only an option to Spell Check the page.
    But I am asking if there is a way to set preferences to auto-correct suggestions such as how Word Docs offer solutions to mis-spelled words?

    Thank you for your replies.
    I am using Adobe, Creative Cloud /  Dreamweaver Software Program iMac Downloads, updated to current.
    I believe there not to be the feature present in Dreamweaver on "Page View" to Spell Correct Automatically by giving word options, etc.
    I know to spell check the entire page before posting the page(s) live.
    I am not only writing in code view, designing HTML 5 pages, but  I am the Author and Editor of all content as well.
    I can see how the coders would hate having text auto correct.
    But, on the editor side, as a writer, from the page view, ... it would rock as an option.
    :-) Sharon S.

  • Noob question about DIV tags

    Learning DW and CSS so patience is in order .
    I've being reading numerous posts here and on the web about avoiding tables for laying out web pages. I can see the advantages in terms of cleaner codes and easiness of updating and changing sites at a later time. So I started learning about DIV tags (although tables is very easy for me) and have practice a few times with fairly good results, love the absolute positioning with it. Having said that, for the love of me, can't find a way of centering horizontally a page designed with DIV tags (due to ignorance), for example, 1 column/three rows page, after defining styles, size and colors I enclosed everything in another DIV tag, wrapper I think is called, but have not found a way of centering it on the page, text-aligment on the DIV tag only centers the text not the DIV itself, how to go about this? Help is appreciated.

    love the absolute positioning with it.
    Get over it.  It's a trojan horse.  Absolute positioning is not a general layout method.
    To center ANY block (non-absolutely positioned) element, use CSS to give it a width and left/right margins of 'auto'.  For example -
    <div id="foo">...</div>
    That div will be centered with this CSS -
    #foo { width:300px; margin:0 auto; }
    I think you are on the wrong path already, though.  Stick with tables (which you say are very easy for you) UNTIL you a) understand CSS well enough to understand what absolute positioning is and why I say it's bad, and b) understand how to use float, margin, and padding to place things on the page.  Then you are ready to move away from tables.

  • CS4, Cannot write text

    I cannot write text on certain jpg images.  Any help is appreciated.
    CS4-64bit, CS4-32bit, and Elements behaves same.  I tried on
    Windows-7(64bit) and Windows-XP, but the symptom is same.
    After opening the captioned jpg image, I click "Text Tool", then draw
    rectangle frame by mouse.  The right side pane tells that layer-1 is
    created.
    At this point, there is no cursor(caret)  in the text box. Hitting keyboard
    does not bring any letters in it. I have set colors and letter size as
    visible.
    After cliking "move tool", the layer1 indicator shows the text I typed.
    But I see no text in the text box on the picture.
    Versions of CS4 is 11.0.1 and Elements is 6.0 of Japanese.
    The jpg file was created by my friend using a scanner. The picture
    is displayed normally on those applications as well as other image
    editing softwares.
    FastStoen (an image editor) and other softwares can write text
    on the picture.  Several pictures he made behaves same, on the
    other hand, pictures I created on my machine have no problems.
    Do I miss any setting?
    Thanks in advance.
    Tak
    (attached is the captioned file, but blurred extreamly respecting copyright.)

    Thanks John,
    The information follow:
    Mode: RGB Color, 8bit/channel
    Resolution: 5782x3946 pix, 36.12x25.06mm, 4000pix/inch
    Format: jpg
    Other information that I found:
      Made by Nikon Coolscan V ED, software is Nikon Scan version 4.0.0 W
    rgds
    Tak

  • Write text out of bean into textfield/combobox

    hy @ all!
    i hope somebody can help me!
    for better understanding i try to explain the logic behind my question:
    on my login-page the user has to fill out the form with his/her username and password! after clicking on the "login" button i want to show the input of the login page in a textfield! data is saved in LoginFormBean!
    a simple output like <bean:write...> is not the problem! but i didn't solved it with the textfield or combobox yet.
    has anybody solved this problem?
    please tell me the way!
    thx
    ciao david

    It's similar to a <bean:write>.
    But instead of bean:write you use the <html:input> tag to create a textfield.
    You need to have the LoginFormBean still in scope and
    <html:input name="LoginFormBean" property="username"/>

  • IE7 seems to "hide" text in DIV tags

    Hi Guys
    How can I solve this? I would like to have the text horizontally and vertically centered in the DIV-tags. It goes quite well but in Internet Explorer 7 it only shows half of the text.
    How to solve this?
    And an additionnal question: I would like the lowest of the three buttons to be nearly pasting to the bar you can see under it. In Internet Explorer, that goes smoothly, but in Google Chrome or Firefox there's a lot of space between the button and the bar?
    Thanks!
    Bob

    I'm not certain what you're using now, but I would write the css code something like this...
    .centered {
         font-family:verdana;
         font-size:12px;
         font-weight:bold;
         line-height:20px;
         text-align:center;
         width:150px;
         height:20px;
         background-color:purple;
         border-radius:5px;
    Then the html would look like this...
    <div class="centered">some text</div>
    It's hard to say what's going on with yours though without a link to the actual page.

  • Text in Div tag question

    hello Dreamweavers.
    I have made a Div Tag and placed and image within it. Im also copy/pasting lorum ispum text in the div tag.
    what id like to know is,why does DW put the text down the bottom and not from the top where the red arrow is.
    So how can I add text from the top of the image?
    thank you.

    Try the following
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
    .banner {
        width: 600px;
        margin: auto;
    .banner img {
        display: block;
        float: left;
        margin-right: 15px;
    .banner p {
        margin-right: 15px;
    .banner p span {
        font-weight: bold;
    </style>
    </head>
    <body>
    <div class="banner"> <img src="_images/top_back8.jpg" alt="img">
      <p><span>Lorem Ipsum</span> is the exploitation of core competencies as an essential enabler, measure the process, not the people. Building a dynamic relationship between the main players. As knowledge is fragmented into specialities an important ingredient of business process reengineering whether the organization's core competences are fully in line, given market realities. The three cs - customers, competition and change - have created a new world for business highly motivated participants contributing to a valued-added outcome.</p>
    </div>
    </body>
    </html>
    I like to keep it simple and restrict the use of ID's

  • How to add a value(text) from javascript to html:option tag .....

    How to populate the <html:option> tag dynamically
    I have a tree view, in tree view tag ( <layout:maeuItem> tag i have written "onclick " event )
    <layout:menuItem key="${agrovoc.AGURI}" link="#"
                                       onClick="return copyVal(this)">
    <script language="javascript" type="text/javascript">
                   function copyVal(obj){
                   str= obj.innerHTML; 
                   l = str.length-4;
                   xyz= str.substring(12,l);
                   document.getElementById('agrovoc').value =document.getElementById('agrovoc').value + xyz+'\n';
                   </script>Here "xyz" contains the Term ( the term clicked in the tree view) now i want add these terms ( clicked in tree view) into <html: option> tag.... how to do this.. plz give me some ideas
    <html:select  property="agrovocbuffer" size="10" >
                        <html:option value="" styleId="agrovoc1"></html:option>
                        </html:select>

    Hi,
    i have tried with this, it's works fine... but when i click on the next page ( i mean 2 or 3 page etc ) the content of <html:option> are erasing (deleting).. i wanted those terms wht i have selected in the 1st page to remain in <html:option> when i click on 2 nd page also...
    Tree view code
    <layout:menuItem key="${agrovoc.AGURI}" link="#"
                                       onClick=" copyVal(this)">JavaScript
    <script language="javascript" type="text/javascript">
                    var i=0;     
                    var myArray=new Array();
                   function copyVal(obj){
                        var flag=0;     
                   str= obj.innerHTML; 
                   l = str.length-4;
                   xyz= str.substring(12,l);
                   while (xyz != null) {
                   for( var l=0;l<myArray.length;l++){
                   if( myArray[l]==xyz){flag=1;alret("The Term is already selected.");}
                   if(flag!=1){
                   document.getElementById('agrovoc').options[i] =new Option(xyz,xyz);
                   myArray=xyz;
                   i++;
                   //alert(i);
                   xyz=null;
                   function del(){
                                  var oc=document.getElementById('agrovoc').options;
                                  //alert(oc.length);
                                  firstBox = document.getElementById('agrovoc');
                                  selectedOption = firstBox.options[firstBox.selectedIndex].value;
                                  selected = firstBox.options[firstBox.selectedIndex].index;
                                  //alert(selected);
                                  for( var l=0;l<myArray.length;l++){
                   if( myArray[l]==selectedOption){myArray[l]="";}
                                  firstBox.options[firstBox.selectedIndex] = null;
                                  var oc=document.getElementById('agrovoc').options;
                                  //alert(oc.length);
                                  for(var x=selected;x<oc.length;x++,selected++)
                                  document.getElementById('agrovoc').options[x] =new Option(firstBox.options[selected].value);
                                  i=oc.length;
                   </script>
    <html:select> code<div align="left" id="hopt">     
                   <td valign="top">
                   <logic:present name="hcount">
                        <html:select property="agrovocbuffer" size="15" styleId="agrovoc" multiple="true" style="width:200px;" >
                        <html:option value="" ></html:option>
                        </html:select><html:button property="button" onclick="del()"> DEL</html:button>
                   </logic:present>
                   </td>
                   </div>
    And all the above code is in <html:form> tag & i have written a custom pagination page
    Now i want  all terms which are in <html:option> remain  in options when i goto 2 nd page..
    how to do this? In the DOM inspector i'm getting the options, but when see the source HTML there are no <html:options>.. when click on the 2 page link the terms which are in <html:option> are not going to the "Action" class ..  :(
    how to do this .. any idea plz..?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • How do you submit an online form?

    I am using Contribute to edit our webpage, it has been fine for what we've needed so far, but that has been very basic stuff. We're now wanting to add an online employment application that can be submitted (directly emailed) to out HR department. I'v

  • How do I set an instrument to hold volume in ES2

    This seems like a ridiculously easy question, and perhaps I have lost my mind, but how do I change an instrument whose volume dissapates while I am holding the key down to one that holds its volume. I thought this was Decay, but the setting seem to h

  • Merging vhdx & .avhdx with powershell error ....

    i m trying to merge a vhdx & avhdx with powershell the codes are Run diskpart. Enter: select vdisk file="<full path to the latest differencing disk>" A differencing disk ends in either .avhd or .avhdx. Enter: merge vdisk depth=n n will be the number

  • Photoshop CS5 & (64bit)

    Using Photoshop CS5 with Windows 7. If I open my photoshop cs5 from a desktop short cut I get it from Programs Files/Adobe/Photoshop CS5 (64bit) which will not work with some of my old plugins, Having placed a short cut of the other photoshop cs5 ont

  • Delay after Windows XP loads

    Ok guys I fell alittle better about this board now (although I have 12 days left on my RMA #).  I have the MSI 875P Neo-FIS2R with a Seagate 120GB 8MB cache SATA Hard dive installed on the South Bridge.  When Windows XP Professional is finished loadi