Can we put a border around using CSS library item?

I want to change my web pages CSS and delete all tables that I have now. What I can and how to make a border around a library item? Look like this when complete:

http://www.kitchyglass.com/forsale/everything/everything.html

Thank you.

You can't style a library item.  It's just an exclusive piece of the DW code.  But you can style of the container in which lies the library item.

CSS:

{#divName}

border: 1px solid #000;

}

HTML:

your content or library item goes here...

Nancy O.

ALT-Web Design & Publishing

Web | Graphics | Print | Media specialists

http://ALT-Web.com/

http://Twitter.com/ALTWEB

http://ALT-Web.blogspot.com/

Tags: Dreamweaver

Similar Questions

  • How can you put a border around a Panel in muse when you have set up for a page 3 panel

    How can you put a border around a panel when you use the layout of the 3 panel Muse

    You mean a page 3 "column. You can take a shape tool and make a box that fits the left and right columns and then adds a line to them.

  • How can I put a border around my title, please?

    I have a title page for a short video, edited in Premiere Pro, for YouTube.  I want to put a rectangular frame (border) around the title page.  I want the color of the border of the same color as the font in the title.  How can I, please?  Here are the three elements of the editor - background, title and the frame.  I want to combine the same items in Premiere Pro. (I'm not trying to use Publisher in Premiere Pro, I'm just trying to make it more clear what I'm trying to do). (I'm a rookie, of course).  Thank you.

    Alexander technique

    Video teaching

    by

    Constance

    Clare-Newman

    AMSAT Certified Instructor

    Before I describe what I have done, is that kind of what you mean?

    To download this title, right-click here and save the link as a file.

  • How can I change < mx:Label > < / Label > using css?

    Dear Experts,

    It's funny that < mx:Label > < / mx:Label > is not property to change the background color.

    Does anyone know how I can change the < mx:Label > < / Label > using css?

    Kind regards

    Pak Hong, Dave man

    [email protected]

    I think that you have set the backgroundcolor for label Flex4...? In Flex3 doesn' is used to define the background color directly... However, you can use this work around if you want to set the background color.

    You can also set the color for textField in the code below using the textField styleSheet property.

    <>

    "xmlns:MX ="http://www.adobe.com/2006/mxml"layout ="absolute"creationComplete =" applyBGtoLabel () ">

    Import mx.controls.Text;

    private function applyBGtoLabel():void

    {

    var textField:TextField = new TextField();

    textField = myLabel.mx_internal::getTextField();

    textField.background =

    true;

    textField.backgroundColor = 0xFF0000;

    }

    ]]>

    <>

    ID = "myLabel" text = "" apply a background color for me... Please "height ="25"/ >"

    Thank you

    Jean Claude Chari.S

  • How to put a border around a picture n &amp; b

    I would like some advice on how to put a border around a black and white image imported into Illustrator CS2 (for PC).  Tiff images are imported from Photoshop I have read some of the previous assignments on this subject, but still can't seem to understand.  I wish that the border just to describe the image.  Nothing complicated.  I would essentially resemble what it would do if I import a picture into Powerpoint and just linked by a box. 

    Thank you

    fezala,

    You can:

    (1) select the image and open the palette/Panel of transformation;

    2) right-click the Rectangle tool anywhere and insert the values l and H;

    (3) select the rectangle and the image, then click on the image and the palette/Panel alignment tick Center Vertical and Horizontal Align center;

    (4) to set the weight of the race and the color you like and fill with None;

    (5) the rectangle and the image of the group.

  • I can't put music in my media player library

    I can't put music in my media player library... when I click on organize, and then manage the libraries, then music I get no dialog box to allow me to add music.

    To add media files in Vista WMP

    1) go to tools

    (2) options

    (3) library of

    (4) monitor records

    (5) add

    Browse 6) where your music files are stored (this has also included any support of the file you want to add even in the defaualt files)

    Hope this helps

  • How can I put a border on a photo

    I have several photographs that would benefit from a white border around them.  Can someone tell me how to do this.  I'm sure I saw somewhere but can't remember where it was.  I use Vista 32 bit.  I'm really a novice, any help would be greatly appreciated.

    I have several photographs that would benefit from a white border around them.  Can someone tell me how to do this.  I'm sure I saw somewhere but can't remember where it was.  I use Vista 32 bit.  I'm really a novice, any help would be greatly appreciated.

    Download and install Picasa
    http://Picasa.Google.com/

  • How to put a border around the text?

    Someone would be able to show me how to put a border of text around the text?

    Hello

    I think that if you want to put a border on the box containing that go to 'outline' so you can color and size choices
    but in the text, it is impossible.

  • Border around the selected ListField item?

    Hello

    I wonder if it is possible to customize a ListField, such as when you scroll through the list, the current row will have a border color around it?

    If this is not possible, I thought to imitate a ListField behavior using a TableLayout, where each row in the table has a HorizontalFieldManager.  Then, when an individual HorizontalFieldManager is selected, it will draw a border around it...

    Also, would it be possible to have a border around the current selected line (whether in a listfield or tablelayout) and then be able to select an object (such as a button) inside the line, without losing the border highlighted?

    Thank you!

    You might expect to have a special identification for the selected line in a ListField was asked and answered several times on this forum.  From memory, there are two options:

    (a) substitute drawfocus

    (b) in your drawListRow, check if the line that you draw is the selected line of the ListField.

    I suggest that you look in the forum for more information on these options.

    A ListField is a unique field, with a line at a time selected.  Without coding you something special it is not possible to have different parts of the line selected in different circumstances.  And although it is possible, don't normally add you a HorizontalFieldManager (or all other fields) to the ListField and which allows to paint content,

    What you're suggesting is indeed possible, but it is not for the faint-hearted.  I would recommend that investigate you other ways to achieve the desired effect before you start to look at using other fields to the layout and paint a line in the ListField.

  • Why can't preview my Web page using CSS?

    I use Dreamweaver MX 2004. I load the program, it asks me what type of file I want to use, I chose CSS out of the list.

    Everything loads up. Right now I'm testing just to see how things work so I copy examples of "" http://www.w3schools.com/ ". " So I know it can't be the script (but I could be wrong, I still don't know a lot of this.)

    I save the file. I know you have to do with the HTML files before you can get a glimpse of them. But when I click on the thing of little world that gives me the opportunity to privew (or press F12), it is grayed out.

    could someone give me some suggestions on what could be the problem please? It would be greatly appreciated.

    Thanks for reading!

    Celi_Jay wrote:
    > I use Dreamweaver MX 2004. I load the program, it asks me what kind of file
    > I want to use, I choose CSS out of the list.

    In doing so, you create a css file (i.e., leaf style external cascade).
    These files are code only mode and cannot be previewed in design mode (there is nothing for an overview).
    An external stylesheet produces nothing visible, it is just a collection of styles that
    You can then apply to your html pages.
    To apply styles, create an html page and in the css Panel, set the stylesheet to your page.
    In so doing, Dreamweaver inserts a line of code in the head of your html page, which looks like this:

    These lines if attached the external stylesheet to your html page, so now you can apply any style
    contained in this stylesheet to your html code.

    >
    > It all loads. Right now I'm testing just to see how things work so I
    > copy examples of "" http://www.w3schools.com/ ". " So I know that he cannot be the
    > script (but I could be wrong, I still don't know a lot of this.)
    >
    > I save the file. I know that you have to do with the HTML files before
    > you can preview. But when I click on the thing of few people giving me
    > the privew option (or press F12), it is grayed out.
    >
    > could someone please give me some suggestions on what could be the problem? He
    > would be greatly appreciated.
    >
    > Thanks for reading!
    >

    --
    SEB ([email protected])
    http://webtrans1.com | high-end web design
    Downloads: Slideshow, browser directory, mailing list

  • How can I change an application to use another library with a different name but the same name for public (easily)?

    When you perform comparisons between the programming approaches I create two libs with the same public calls but different internal components. Nothing special there. Unfortunately when I pass my test app to a lib to another, the application loader asks an all audiences of vi. But I thought I read somewhere that the application loader would get the idea where to look after that I saw the first public call to the new lib. Doesn't seem to work. With the help of 2010.

    Pull the lib not used out of the machine. Rename the current library under the same name that you used. Project save everything. Close to LabVIEW. Remove the current lib. Copy the another lib to the machine. Not necessarily easy but here's how I did similar exercises in the past.

  • How can I associate a navigation Html and Css with items on my DPS pages?

    Basically, I am currently having a static navigation on the left and content on the right. The Navigation that I coded is a mixture of an accordion and a carousel. Is it possible to href links in my code for elements on the page in Indesign?

    Yes, you can link the html code to the articles/pages, go here Digital Publishing Suite help | Overlays of hypertext link and button

  • How to align the position of a node in a pane of the grid using CSS?

    Hello

    I have an interface defined in FXML:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <?import java.lang.*?>
    <?import javafx.scene.*?>
    <?import javafx.scene.control.*?>
    <?import javafx.scene.layout.*?>
    
    <BorderPane xmlns:fx="http://javafx.com/fxml" >
        <center>
            <GridPane alignment="top_center" hgap="8" prefWidth="450" vgap="8" style="-fx-padding: 10;" >
                <styleClass>
                    <String fx:value="form"/>
                </styleClass> 
                        
                <children>
    
                    <Label text="From" GridPane.columnIndex="0" GridPane.rowIndex="0" />
                    <TextField fx:id="from" GridPane.columnIndex="1" GridPane.rowIndex="0"/>
    
                    <Label text="Recipient(s)" GridPane.columnIndex="0" GridPane.rowIndex="1" />
                    <TextField fx:id="recipients" GridPane.columnIndex="1" GridPane.rowIndex="1"/>
                    
                    <Label text="Subject (defaults to title)" GridPane.columnIndex="0" GridPane.rowIndex="2" />
                    <TextField fx:id="subject" GridPane.columnIndex="1" GridPane.rowIndex="2"/>                   
                    
                    <Label text="Send mail as ..." GridPane.columnIndex="0" GridPane.rowIndex="3" />
                    <ListView fx:id="mail_format" prefHeight="100" GridPane.columnIndex="1" GridPane.rowIndex="3" />  
                    
                    <Label text="Plain Text Mail" GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.halignment="center" GridPane.rowIndex="4" />                  
                    
                    <Label text="Template" GridPane.columnIndex="0" GridPane.rowIndex="5" />
                    <TextField fx:id="plain_template" GridPane.columnIndex="1" GridPane.rowIndex="5"/>                
                                      
                    <Label text="Send as is (do not dump into plain text)" GridPane.columnIndex="0" GridPane.rowIndex="6" />
                    <CheckBox fx:id="plain_noconvert" GridPane.columnIndex="1" GridPane.rowIndex="6"/>
                    
                    <Label text="HTML Mail" GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.halignment="center" GridPane.rowIndex="7" />
                                    
                    <Label text="Template" GridPane.columnIndex="0" GridPane.rowIndex="8" />
                    <TextField fx:id="html_template" GridPane.columnIndex="1" GridPane.rowIndex="8"/>               
    
                    <Label text="Other configuration" GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.halignment="center" GridPane.rowIndex="9" />
                    
                    <Label text="Reply-To" GridPane.columnIndex="0" GridPane.rowIndex="10" />
                    <TextField fx:id="reply_tos" GridPane.columnIndex="1" GridPane.rowIndex="10"/>
                    
                    <Label text="Cc" GridPane.columnIndex="0" GridPane.rowIndex="11" />
                    <TextField fx:id="ccs" GridPane.columnIndex="1" GridPane.rowIndex="11"/>
                    
                    <Label text="Bcc" GridPane.columnIndex="0" GridPane.rowIndex="12" />
                    <TextField fx:id="bccs" GridPane.columnIndex="1" GridPane.rowIndex="12"/>
                    
                    <Label text="HTML base (defaults to current server)" GridPane.columnIndex="0" GridPane.rowIndex="13" />
                    <TextField fx:id="html_base" GridPane.columnIndex="1" GridPane.rowIndex="13"/>
                                                                                                                   
                    
                </children>
            </GridPane>
        </center>
    </BorderPane>
    I want to align the labels to right using CSS:
    .form *.label {
      -fx-alignment: right;
      -fx-font-weight: bold;
      -fx-hpos: right;
      -fx-text-alignment: right;
      -fx-text-wrap: true;
    }
    However I have not found any way to align the labels in the GridPane using CSS, or - fx-alignment: right, - fx-node-hpos: right. -fx-hpos: right. -fx-text-alignment: seem to work well...


    The only way to make it work is to define the attribute of each label Grid.halignment:
                    <Label text="HTML Mail" GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.halignment="right" GridPane.rowIndex="7" />
    But what happens if I want to change that at a later stage-> I need to change this attribute for each node.


    How can align the labels to right using CSS only?

    Currently CSS in JFX cannot really be used for layout page (or calibration). This is one of those grey areas between what is style (which should be in the CSS) and what is layout (which should be in the FXML). I think I remember Richard mentioning once in a forum or an article that he did not want to add alignment stuff to the CSS at a certain point, but don't quote me on that. You might have a search through Kenai to see if there is a feature request for it and if not add one.

    Perhaps you could it with fake labels stretch to fill the available space in the GridPane. For this, you need to disable the restriction of maximum size (setMaxWidth and setMaxHeight to Integer.MAX_VALUE) and ensure your forced GridPane are such that the label will fill the cell. Once you have a stretched label alignment will come into play as the text is aligned relative to the area of the label (as opposed to a manager that aligns the entire label compared to its parent). I think that put a border on the label when debugging to work on what's going on.

    Another less confined but more flexible alternative might be to use variables in your FXML files. You can do this in a number of ways. We must create a bean that has all the variables of your on it with accessors get and then you can move it to your charger FXML namespace and then reference it by using things like ${myConstants.gridAlignment}. Another is to create static methods on a class that a node, these can then be called from the FXML using a notation similar to GridPane.alignment. This second approach only works for things where you want to work directly on the node, but for your scenario which should be ok I think. And then there is always the option to activate a script language in your FXML, allowing you to perform more nothing.

    Hope that helps,
    zonski

  • How can I remove a border from a picture

    I'm trying to understand how remove the logo of Facebook that I want to put on the homepage of the border. The site is www.futureair.ca. I noticed that there is a tag to put a border around images in CSS. Is there a way to leave it but to just an image?

    I tried

    IMG {Facebook_Logo.png}

    border = "0".

    }

    but had no chance.

    Thank you

    Brad

    You can create a new class and assign to the image.

    Something like:

    {.noborder}

    border: none;

    }

    Your image will be etc.

  • When using the 'typewriter', then put it a 'text area' at the border around the words, the word 'fade' o

    When using the "typewriter", then put a border of the "text area" around the words, the word "melted" and only can be seen.  How to fix?  Thank you

    I'm afraid, there is no option to this toolbar in Acrobat X quick tools. It of a dynamic toolbar and gets changed based on the selection.

    However, you can do it in Acrobat XI.

Maybe you are looking for

  • music does not sort by name of the song in the iOS 10

    I update my iPhone 6 iOS 10.0.1 yesterday and now when I sort my pieces of songs, he actually mentions the music by the artists name, not the title of the song Alphabettically.  Sort by artists works as it should, but by the song, it doesn't not work

  • Source of all news announcements?

    Since the publication of new 9.2 was inundated with ads. Get an ad every five titles or more. That's happened? It's really ugly and not what I'm looking for an Apple app. Can I use an adblocker on an Apple app? This one he really needs.

  • HP Omni 10 Tablet. External antivirus (Quick Heal Total security) is not functioning/media

    Hi all Whenever I have install quick heal antivirus protection the shelf stops working & restarts, & what anti-virus is uninstalled Tablet starts recovery and resets the default settings. Please suggest solution given that a potential threat of the v

  • I received a phone call from scam.

    Original title: someone contacted by girikt company suitor problem with windows 8 and the hard drive crash? my mother is harassed by a girikt person claiming that his drive hard crash of windows 8 problem... told to NOT talk to them... anyone else ha

  • Freelancer multi player ID does not

    I just installed an old game. FREELANCER wanted O play online with a friend. I bought 2 copies and we installed. to play online, the game gives an identification number. copy of my friend gave him a number. However, mine is not. our computers are ver