ANN: Styling backgrounds, borders, and tables - free chapters from CSS book

Just in time for some holiday reading, Adobe Developer Connection has made available three chapters from my recent book, Getting StartED with CSS:
Ch 1: What is CSS, and Why Should I Learn It?
Ch 5: How Do I Add Backgrounds and Borders to Improve the Look of My Page?
Ch 9: How Do I Style Tables?
Each chapter is in PDF format, and is FREE! Grab them at http://www.adobe.com/devnet/dreamweaver/articles/bk_getting_started_css.html.
You can download the exercise files for the chapters from the book's companion website, http://gettingstartedwithcss.com/, which also contains a full reference guide to all visual and print properties in CSS2.1, as well as all CSS2.1 selectors and widely used CSS3 selectors.
The book itself contains a lot more, and teaches the intricacies of CSS layout in a practical and understandable way, covering the whole of CSS2.1.

Thank you, Santa!
Beth

Similar Messages

  • Will the iphone 6 plus work in pakistan if i buy the unlocked and contract free version from the apple store?

    will the iphone 6 plus work in pakistan if i buy the unlocked and contract free version from the apple store? why is t mobile written on top of the button? it is so confusing no one will give me a straight answer on this. if i buy that one, would there be any monthly charges involved or not?

    Are you planning on flying to and visiting the US?  That is the only way you are going to get an iPhone from the Apple store because you will not be able to purchase one from the Apple store online and get it sent to Pakistan - it can't be done and Apple online stores will not ship internationally.
    You have not got a straight answer to this question because there is none.  The phone has T-Mobile on the top button, because it is a T-Mobile phone and although sold as contract free, but NOT unlocked - notice the difference, it still comes with a T-Mobile sim card.
    The phone may or may not work in Paskistan and if you do buy the phone, to ensure that it has the best possible chance of working is to take the T-Mobile sim card out of the phone first and DO NOT activate the phone using the T-Mobile sim.  If you want to use it in Pakistan, then activate it with your local Pakistan sim card and you will not be paying any charges to T-Mobile if you do this.  If you do happen to accidentally activate the phone with the T-Mobile sim card in it, then you will have a contract with them and yes, you will have a monthly bill with T-Mobile and you will need to keep this contract for 40 days, until you can get the phone unlocked by them.
    Also note, that if you buy the phone it may not work on 4G networks in Pakistan due to frequency differences and also you will have no warranty cover for the phone in Pakistan - iPhone warranty is NOT international, so country of original purchase, so the US, which means you have to fly back there - no postage accepted.
    So basically, the phone should work in Pakistan, but not on the 4G networks and you need to take the T-Mobile sim card out before you activate it and activate it using a local sim card and you will have NO warranty cover for the phone in Pakistan.

  • Hello . I'd like to buy an iPhone 5S Space Gray 64GB and get free shipping from the USA to Russa but the problem is I don't know about wireless service plan . What should I choose for Russian wirelesses ? Does T-Mobile work in Russia ? Please , help me

    Hello . I'd like to buy an iPhone 5S Space Gray 64GB and get free shipping from the USA to Russa but the problem is I don't know about wireless service plan . What should I choose for Russian wirelesses ? Does T-Mobile work in Russia ? Please , help me
    Sorry , but product is iPhone 5S

    You can't buy from the Apple store online in the US because it is country specific and you firstly need a US credit card and then a US address and they won't ship outside of the US so you can't.
    No Apple online store will ship outside the coutry.
    If you want an iPhone, then you'll have to order via the Russian Apple store online if there is one, or you'll have to wait until it is released in your own country or go and buy one in Europe.

  • Hi, i have problems with audiobooks, chapters from diffrent books stand togheter, the book is mixed with another book, does someone know how to fix this

    If i synchronise one book there is no problem,
    when I sinchronise more books then chapters from diffrent books stand togheter.
    In I-tunes the books are not mixed.
    In my  ipod classic the books are mixed.
    I use the latest version from i-tunes
    I work with windows vista pro NL

    The easiest thing to do is to make a playlist for each book. I have about ten audiobooks on my iPod and have the same problem with everything being put together in one long list. The iPod does not treat each book as it does an album by grouping each audiobook in one folder, it just lumps them all together in one long list.

  • Drag and dropping an address from address book to the desktop, the address file does not go where my mouse is positioned.

    If I drag and drop an address from address book to the desktop, the address file does not go where my mouse is positioned. It winds up somewhere in the middle of my screen. Any way to have the address file land and stay where my mouse pointer is?

    You have to assign the favicon yourself to the desktop shortcut (right-click the shortcut: Properties) after you have dragged the link to the desktop.
    You can usually find the favicon in Tools >Page Info > Media and save the icon there.
    Otherwise use the main domain of the website and add favicon.ico (e.g. mozilla.com/favicon.ico ) to display the favicon in a tab and save that image to a folder.

  • Add Attendees (name AND phone no.) from Address Book to iCal for iPhone use

    Hello scripting gurus and newbs alike.
    I've looked through the forums, but can't find a COMPLETE solution to what I believe should be a fairly straightforward problem. I'll start by asking the question as concisely as I can, then bring in more information about what I have tried, and learned, so far. I'll also outline my broad (mini) project aims at the end, in case anyone is interested.
    * Q: How can I add attendees, from my Address Book, to an iCal event, so that **ALL** the attendee details are included?
    Note: It is VITAL to me that attendees' phone number(s) are available through iCal, not just {display name, email, participation status}. This is because I want MobileMe to synch the event with my iPhone, so I can call attendees directly from iCal. (or at least have iCal open the attendee's Contacts record so I can call from there!)
    WHY DO I THINK IT SHOULD BE POSSIBLE?
    Manually, I can simply dbl-click on the event, click into the attendees field, start typing the attendee name, and hit enter. When I do this, it works. MobileMe synchs it to the iPhone, I open iCal, select the event, tap the attendee, and I'm calling.
    WHAT I'VE TRIED USING APPLESCRIPT
    When I try the following script, I've only managed to set Sheila's name/email/participation status. I can retrieve her phone number from Address Book using the above approach, but unsure how to make it stick in iCal * such that I am able to use it to call directly from iCal on the iPhone *
    ++++++++++++++++++++++
    tell application "Address Book"
    set anAttendee to name of (first person whose name contains "Sheila")
    end tell
    tell application "iCal"
    set newEvent to make new event at end with properties ¬
    {summary:"Meeting Info.", location:"ZIP", description:"More yak", start date:SD, end date:SD + 120 * minutes}
    make new attendee at end of attendees of newEvent with properties {display name:anAttendee}
    end tell
    ++++++++++++++++++++++
    WHERE I'VE LOOKED FOR SIMILAR EXAMPLES
    Thanks to Rob (et al) for providing script examples used to create the above, see here: http://macscripter.net/viewtopic.php?id=5692
    I've also looked at the following article, which makes me think I somehow need to use the PERSON ID in the event attendee list. Unfortunately, I have only managed to retrieve the ID, but had no joy trying to set it.
    http://www.mactech.com/articles/mactech … index.html
    THE PROJECT
    I'm a surveyor, and using dialog(s) to enter relevant info., I'm looking to streamline my preparation for surveys when I make each new appointment.
    My mini-project presently enables me to print survey forms (based on a Pages template) with details relating to the specific property (address/contact name&no./appointment date&time etc.) It also uses the appointment date&time to create the appropriate event in iCal.
    I'm also confident I can add the contact details, such as agent/owner name(s) and phone number(s) in Address Book.
    IF I COULD ONLY ADD THESE AS ATTENDEE(S), AS IF ADDED MANUALLY, I WOULD ALSO BE ABLE TO PHONE THE PROPERTY OWNERS WITH A COURTEOUS REMINDER WHEN I'M ON THE WAY!!
    Can anyone help me achieve this?
    Here's hoping.
    Phil (wiimixer)

    Phil
    Referencing the attendee in iCal will only directly record the properties you mention - because that's how it's designed to work and there's no way around the restriction unless iCal is changed.
    You could set the phone number elsewhere in the iCal event - e.g. notes, location, ... - and that would probably allow you to call from iCal (I don't have an iPhone so I can't be sure), but I am not sure I see the advantage over using the link to iPhone's Address Book which is set up by adding an attendee to the event. This might be because I am being dense, so if this is the case please elaborate.
    EDIT:
    I have read your original post in more detail since I wrote the above. It seems to me that you are saying that when you add the person to the iCal event via AppleScript that you do not get the link to the iPhone's Address Book when you sync via MobileMe. You imply, however, that it does work when you type the name manually. Are these both correct statements?
    Message was edited by: Bernard Harte

  • When i changed the names of my books in iTunes, it did not changed in the iPad after i had synced it again with the changes. can anyone help? i had added authors to the author column and deleted their names from the book titles.

    i had added books to iBooks on iTunes and synced with my iPad mini. Then I realised that the titles sometimes had the author name, or a random number before it. I made changes to all the books in my iTunes library, edited the titles, added authors to the author columns, year in year column etc and synced my iPad again. but my iPad did not update these changes at all is still in the old way. can this be rectified?

    Have you tried closing the iTunes store app via the multitasking bar and seeing if it works when you re-open it
    Have you tried closing the app via the taskbar ? (I assume that your iPad is on iOS 6, though the version that your tagline shows, 6.1.6, is not a version for iPads) From the home screen (i.e. not with iTunes store app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the iTunes app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't fix it then you could try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Drag and drop Contact from Address Book to Pages Document on iPad

    On OS X MacBook and iMac I can use Drag and drop Contact functionality from Address Book directly on a Pages document. In Pages I have setup Merge fields to merge values from my Contacts. This works great!
    I would also like to use this in Pages on my iPad mini. I know Pages on iOS are different from Pages for OS X, but I wonder if there is any possibility for me to open OS X created Pages document with Merge fields on iPad's Pages and replace existing Contacts values with new one from Address Book?
    It seems like Pages on iOS even don't recognise Merge fields that I have created on OS X at all.

    Are you dragging directly from one application and dropping into the other? What happens if you export to vcf card then import the vcf card with the other application?

  • I have updated to ios5 and latest pages and it has changed table borders and header colours etc, the colour I was using was imported and there border lines are v thick, help has made my docs look rubbish

    I have updated o iOS 5 and updated my pages but it as altered my documents, layout, and tables, changing header row colour and thickness of border lines, some thick some thin within same table, if I put default it puts all the lines back, but I only wan them in 2 out f the 4 columns, If I try to change each section then I have to select all borders as default does the whole table, but if I chose all then the order lines are all thick is there any way of changing thickness of lines, and also does anyone know how to pu in a table of contents? I'm currently having to manually put in the info in the table which is v long. Thank you very much

    Updated first post with dmesg output. I added all of it, but here's a quick snippet of the tail (which is right after booting up and attempting to autostart SLiM)
    [ 13.426857] NVRM: API mismatch: the client has the version 310.19, but
    NVRM: this kernel module has the version 304.60. Please
    NVRM: make sure that this kernel module and all NVIDIA driver
    NVRM: components have the same version.
    Why is the kernel getting 304.60 ? That's got to be the issue, but I don't why the kernel is getting 304.60 ...
    Output of pacman -Qs nvidia:
    local/conky-nvidia 1.9.0-2
    An advanced, highly configurable system monitor for X based on torsmo
    local/lib32-nvidia-utils 310.19-1
    NVIDIA drivers utilities and libraries. (32-bit)
    local/libvdpau-git-flashpatch 20120825-1
    Nvidia VDPAU library from git with patch to fix flash blue tint and bleed through
    local/libxnvctrl 304.51-1
    NVIDIA X Ctrl library
    local/nvidia 310.19-2
    NVIDIA drivers for linux.
    local/nvidia-utils 310.19-1
    NVIDIA drivers utilities and libraries.

  • Fx-background-image and rounded borders

    Hi,
    I am trying to use a simple image as background image for an HBox through repetition, but I have found a problem. The HBox has got rounded borders (using fx-background-radius) and when I set the background image with fx-background-image it does not fit the real borders of the HBox and it appears painted outside the limits.
    The css code is the following:
    -fx-background-radius: 0 0 30 30;
    -fx-background-image:url('image1.png');
    -fx-border-radius: 0 0 30 30;
    -fx-border-width:0 2 2 2;
    -fx-border-color:#D9D9D9 #D9D9D9 #D9D9D9 #D9D9D9;
    -fx-effect: dropshadow( two-pass-box , rgba(0,0,0,0.35) , 20.13095238095238,0.5 , 0 , 18 ); Is this the expected behaviour? If a try it with background-color, it adjusts perfectly to the rounded borders. Should I set another property? (I have tried with fx-background-size and fx-background-repeat and fx-background-position but with no result)
    Thanks in advance.
    Regards.

    This probably is expected behaviour.
    The properties for background fills (color, insets, radius) donot work together with the properties for background images (image, position, repeat, size). They are separate and painted in separate passes in order, quote from the CSS doc below:
    >
    Each Region consists of several layers, painted from bottom to top, in this order:
    background fills
    background images
    contents
    border strokes
    border images

  • Default background color and Focuslistener disapair on table?

    When I imp. TableCellRenderer on my table the default background color and Focuslistener disapair. What can I do to get it back and still keep TableCellRenderer on my table? This is how my TableCellRenderer looks:
        public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int col) {
            JFormattedTextField beloeb = new JFormattedTextField();
            beloeb.setFormatterFactory(new DefaultFormatterFactory(new NumberFormatter()));
            beloeb.setBorder(null);
            beloeb.setHorizontalAlignment(JTextField.RIGHT);
            if (value != null) {
                if (value instanceof Double) {
                    Double val = (Double) value;
                    beloeb.setValue(val);
                    if (val.doubleValue() < 0) {
                        beloeb.setForeground(Color.RED);
            beloeb.setFont(new Font("Verdana",Font.PLAIN, 11));
            beloeb.setOpaque(true);
            return beloeb;
        }

    I'm sorry to say this is a terrible example of a renderer. The point of using a renderer is to reuse the same object over and over. You don't keep creating Objects every time a cell is renderered. In your example your are creating:
    a) JFormattedTextField
    b) NumberFormatter
    c) DefaultFormatterFactory
    d) Font.
    So you start by extending the DefaultTableCellRenderer. A JLabel is used to display the text. There is no need to use a JFormattedTextField. All you want to do is format the data. So in your constructor for the class you would create a NumberFormatter that can be reused to format your data. Then your code in the renderer would look something like:
    if (value instanceof Double)
        Double val = (Double)value;
        setText( formatter.format(val) );
        if (negative)
          setForeground(Color.RED)
        else
            setForeground(table.getForeground());
    }Here is a really simple [url http://forum.java.sun.com/thread.jsp?forum=57&thread=419688]example to get you started

  • Background and table.

    Hi, I have a really easy question. How do I get a solid
    background with a table inside that has a set width and centered
    that my content would go in.
    Like this:
    http://www.leica-camera.com/
    Thanks

    >>What should I do here if I'm not a coder
    At the risk of sounding flip... Learn to code. Seriously, you
    really have
    only 2 choices:
    1. Learn to code
    2. Be willing to settle for a very simple, basic site. IOW
    forget things
    like drop-shadow effects.
    Walt
    "L0WRIDE" <[email protected]> wrote in
    message
    news:fv8s5k$6q6$[email protected]..
    > So I'm pretty new at this whole website thing, but I
    really want to become
    > good, and not only that, but correct. My problem is that
    since I'm just
    > learning basic html I'm really limited to what I can do?
    if you look at my
    > site
    > "mykkah.com" I want to put everything on a page effect
    from photoshop...
    > you
    > know just the look of a drop shadow on each side. so my
    question is, since
    > I'm
    > using tables to keep everything straight, I was
    wondering if I can put a
    > background image in a table and then put my content
    table inside of it?
    > does
    > that make sense? I tried to just use a small background
    image and repeat
    > it
    > through page properties, but anytime I resize the page
    or open it up in a
    > different browser it doesn't line up? the background is
    fixed, but my
    > content
    > isn't? What should I do here if I'm not a coder and
    don't have a lot of
    > experience?
    >

  • Figure and Table number out of sequence between chapters

    I inherited a lengthy Service Manual consisting of 6 separate files (chapters) that are intended to be consolidated into a book when complete. Page numbering, Figure numbering and Table numbering is supposed to be sequential, but I find when I delete a figure in one chapter, the next figure number in the subsequent chapter is out of order.  I'm new to FrameMaker 10 and can't seem to correct this.
    Please help!
    Margie

    I've checked the paragraph tags in each chapter, they appear identical:
    C:\tTable\<><><><n+>\t
    What happened is, the preceding chapter became shorter and I noticed the next chapter page numbers started incorrectly. I went to Format, Numbering, and changed the starting number to the correct one.  That's when the Table and figure numbers started renumbering from 1.
    I'm thinking it might be better to compile as a book, but I'm getting the "unvailable fonts" message. I've checked every font and they seem to be OK, but there's 150 pages and a zillion tags.  Is there any way to make a global deletion ofo fonts?  I can see the problem fonts screened back iin the font list.

  • Table background colors and images

    This should be easy, but I am not seeing it. I have a few pages with existing tables, probably created in DW CS3. In DW CS4, I need to select a table inside a cell of another table and assign a solid color for the background. Currently, the larger table has a textured background image and it is also filling the background of the table inside it.
    I can easily select the smaller table, but I don't see the old familiar information bar where I'd assign a color to the entire table.
    Any help would be appreciated.
    M. Jackson

    Hi Nancy O,
    I started a long time ago with Adobe Page Mill, then had to move to GoLive, and later into DW.
    The appeal of Page Mill was the GUI, letting a non-programmer make web pages visually, and letting the program write the code for me. Each upgrade have moved farther from that concept in my opinion.
    I just want to add tables and if DW wants to apply CSS to them, then fine. Maybe I will have to learn to do it in CSS, but it is not high on my current list of priorities. I'd prefer to spend most of my learning time in Photoshop. For now, I have quite a few pages that just need some tweaking and I don't have the extra time to dig into this venture.
    Thanks for taking the time to try to counsel me.  A couple of my photographer friends have suggested looking into Site Grinder as a plug-in to Photoshop. As I read the reviews, the artist group think it is the greatest and the code writers say it is not great at writing code.
    For now, I installed DW CS3 and made a few changes I can live with. CSS some other day or some other way.
    Best regards,
    M. Jackson

  • Ms word tables borders and shading

    I'm using the "word tables borders and shading.vi" and trying to put a border around the first row including between columns and the "inside line style" active x function in the word_set_table_borders.vi is being ignored. The file is attached. Open the library and run the word table.vi. You will have to create test.doc on the root directory on the hard drive. Any suggestions?
    Attachments:
    wordtable.zip ‏1362 KB

    I ran your code and it worked fine. The top row of the table had a darker rectangle around it. I did have problems opening the file and it crashed my LV at first. I suspect there may be a corruption in the binary executable of the VI. Try pressing control-shift-run arrow on your top level VI to force LabVIEW to rebuild the binary executable of the VI.

Maybe you are looking for