CSS in CS4: Can I create "nested styles" similar to InDesign's?

I am working on the obituary archive section of a newspaper website. I have lists of similar 3-line "units", and I have a different class style set up for each line. A typical "unit" would be:
(Person's name) - bold weight, soft return
(Person's age/residence) - regular weight, soft return
(Date of obit publication) - smaller text, hard return
In InDesign, I could easily set up a nested paragraph style (with the help of defined character styles) to automatically format this, but I haven't been able to figure out a quick way to do so in Dreamweaver. So I waste a lot of time selecting different class styles for each line to make it look how I want it. Is it possible to make this simpler? Am I making it too hard?

Am I making it too hard?
You are in a way.  What are your skills with HTML and CSS?  If 'minimal' then you are in for a rough ride.  DW doesn't take kindly to that....
It would be a simple matter to define a few descendent selectors that would style everything in each of those units automatically.  Does that mean anything to you?
For example -
#obitUnit { .... }
#obitUnit div { ... }
#obitUnit h1 { font-size:1.6em;margin:1em 0 0; /* gives a 'soft return' along with the next rule */ }
#obitUnit h1+p { margin:0 0 1em; }
#obitUnit p+p { font-size:x-small; }
would style -
<div id="obitUnit">
     <h1>Person's Name</h1>
     <p>Person's age/residence</p>
     <p>Date of publication</p>
</div>

Similar Messages

  • Can I create a style fill color? in Pages on my IPAD

    Can I create a style fill color? in Pages on my IPAD..  All the colors I have to pick from at to dark. can someone please tell me if I can create a fill color

    You mean you want to create a shorcut to a website on your home screen?  If so, go to the site you want to create it for in Safari, tap the share button on the top left (box with upward pointing arrow), then tap Add to Home Screen.  Taping this icon in the future will launch Safari and take you to this site.
    Not sure what you mean by home page for iCloud, but you can't go to icloud.com from your iPad if that's what you want to do.  You have to go there from your computer browser.

  • Can I create a newsstand app in Indesign with the single edition of the Publishing suite?

    Can I creat a newsstand app in Indesign with the single edition or do I need the Professional?  If I can't what is it about the Professional or enterprize plan that give the capability to publish a app using the Newsstand format?

    You need professional or enterprise. You can only produce single issue, non-newsstand, applications with Single Edition.
    Neil

  • Can I create nested address lists?

    I want to create a set of nested address lists so that I can manage a largish group of contacts in a voluntary organisation with a hierarchy, rather like the way I manage contacts in Work using MS Outlook (sorry for mentioing the competition!). I tried adding an existing list (call it List1) to a new list (call it List2) which also has to carry some additional individual contacts. When I do this, "List2" shows the individual contacts and "List1" as well; when I select it for the "To:" line in a new email, "List2" appears OK, however when I send the email it is only sent to the individuals and does not go to the members of "List1".
    Am I doing something wrong or does Thunderbird not support this?

    Basic info on 'Address Book'.
    There are two default address books which you cannot delete.
    'Personal Address Book' and 'Collected Addresses'.
    You can add further 'address books'.
    File > New > Address Book.
    Enter a name and click on OK
    Address books can be created to hold specific contacts eg: Family, Clients or if you have a lot of people you can sub divide them.
    eg: A - M in one and N-Z in another
    You can also create 'Mailing Lists'.
    Mailing Lists are sub groups to an address book.
    Mailing lists are designed to allow selected contacts that are already in the address book be grouped together so that you can send one email to that group of people in your address book.
    So, a person in a 'Mailing List' must also be in the associated address book and must have a valid email address.
    More info on Mailing Lists here:
    * https://support.mozilla.org/en-US/kb/how-create-and-use-mailing-lists

  • Encore CS4 can't create a project with Snow Leopard

    After many crashes on a Windows XP 64Bit Dell workstation trying to render a project, I thought I would create the project from scratch on my MacBook Pro 17" with Snow Leopard installed. I get a strange string error message trying to create a new project. It goes back to the welcome screen and I try to open the project it just created. I get a second error message that the project was created with Windows and can't be opened with a Mac. Strange. Then I get a third message saying an input contract violation has occurred. I guess I'm in trouble somehow for this . I think I was successful at creating a service issue with this, but I only grabbed the first error message at that time.
    I'll attach the messages here....
    Rick

    Sorry to say, no I have not. I was able to complete the work on my Windows XP 64Bit system.
    The MacBook is my personal laptop, but I use it as backup to what I am doing on the workstation.
    I was sent some info on permissions and maybe starting in safe mode. I don't know that "safe mode" exists on a Mac, and I am the only owner/user on it. Permissions should not be an issue. No time right now to do an uninstall/reinstall, but that's what I was thinking of doing.
    It tells me I can't create the file, yet it appears in the folder. Then I try to open it and it says it was created with a Windows machine. Neat trick.
    I just tried again, no luck.

  • Can you create nested condition in merge(e.g. insert/update) using owb

    Hi,
    Does OWB9iR2 allow you to build in nested condition in merge. such as
    If no match on col1 and col2 then
    if col3 match then no new sequence insert <---
    else insert new sequence;
    else (there is match on col1 and col2)
    update col3 and sequence.
    I have an incremental load for a lookup table, where insert/update is used. There are two match columns and surrogate key is used. When there is no match, it shall not insert a sequence when there is a match on third column. I can not use the 3rd column in the original match because it shall be updated where there is a match for the two match column.
    I am trying to avoid using transformant for performance impact. Thanks

    HIi I think the misleading thing is that in PL/SQL you can use booleans, which is not possible in SQL. So in a PL/SQL tranformation, this is OK:
    a:= case when not orgid_lkup( INGRP1.ORG_ID )
    then get_supid(..)
    else ...
    but, the following SQL does not work:
    select case when not orgid_lkup( INGRP1.ORG_ID )
    then get_supid(..)
    else ...
    into a
    from dual;
    I ended up using only 0/1 as boolean return values for these reasons;
    so I can have:
    select
    case when orgid_lkup( INGRP1.ORG_ID ) = 0 then ...
    though true booleans are better if you don't have to embed them in SQL.
    Antonio

  • How can I create this style? Rave Motion graphics etc. See link

    I'm fairly new to AE but here is the sort of thing I'm wanting to make Bobmo - "When I Look" ft. Shaun J. Wright - YouTube. Particularly the face at 0:28 and the background at 2:53. If anyone could point me in the direction of where I can learn this sort of thing I would be very grateful!
    Thanks!

    Ohhhh, another new user who wants to jump into the deep end of the pool RIGHT NOW.  You're asking technique questions that go way beyond a simple post in a forum.
    You aren't going to do yourself or any of us any favors if you do that.  You will hurt yourself especially.  So slow down, take a deep breath, recognize that AE is is complex application that requires a good knowledge of the basics and go here:
    Getting started with After Effects (CS4, CS5, CS5.5,  CS6, & CC)
    Seriously.  In the long run, you'll be better off.

  • Can we create a role similar to SAP_J2EE_ADMIN

    Hi,
    Our portal UME is ABAP datasource so in order to assign Super Administrator we are giving SAP_J2EE_ADMIN in the backend .
    Our security team has decided that instead of giving SAP_J2EE_ADMIN to users, they want to tweak this role a little bit and create another role where we can control all the authorisations in that role.So we are trying to understand how this SAP_J2EE_ADMIN authorisations are built( I believe all the authorisation are given by java coding)
    If anybody is having any info on how this role is build and how this role can be copied let me know
    Thanks
    Bala Duvvuri

    It's just an ABAP role which then becomes a portal group.  I don't believe the name is important. You should be able to copy the role in PFCG and then do appropriate group to portal role assignments in Java.

  • How can I create template documents for non-InDesign users to edit the text of later?

    I'm looking to produce a small system for people within my company to edit and print labels as needed that comply with our internal design standards. I would like to use InDesign to produce a few templates for labels that people could then edit one or two fields later on, things like item name and ID number. I'm not averse to producing a small application in XCode that users can start up, enter their data and it saves the printer-ready label sheet to their desktop. I started out using Acrobat Pro, but I'm running into trouble embedding fonts for use in form fields, centering text, and outputting a filled-in pdf for print use, and not a form that submits info to an email or server. If InDesign is the wrong tool for the job of setting up a template like this, please feel free to suggest another route.

    I would direct you to the Acrobat forums, personally. You can enable rich-text formatting of Acrobat form fields from within Acrobat Pro, and also IIRC embed fonts for use in form fields. If you can spec out what you mean by "fine detail that we'd need" then we, or someone over at the Acrobat forums, can tell you whether or not rich text in Acrobat forms will work for you. I suggest this to you because centering text for Acrobat form fields is dead easy, so I suspect you've not investigated the tools available in Acrobat after you've exported the PDF from InDesign.
    Post-export PDF data merge sounds like, I dunno, variable-data printing? which doesn't sound like it would fit your case.

  • Can i create separate articles from 1 inDesign document?

    I have a 120 page proposal that I would like to have the separate sections in that document show up in the TOC on ACV on my tablet, without splitting up the document as it's paginated and I don't want to lose that or have to rework it. Possible?

    Bummer. Thanks for your succinct reply

  • Can you create a ToC with nested character styles?

    I'm creating a technical guide document, and for ease of formatting within document creation I've used nesting character styles within the 'Body' paragraph style. I need to reference the second level headings within the ToC, but I since I can only use the 'Paragraph' styles in ToC creation - can I do this? (I'm using InDesign CC)
    The document looks something like this, with the italics indicating the nesting structure and the ** indicating what needs to go in ToC.
    1. Our Story (separate paragraph style, not an issue)
    1.1 Random Title Goes Here ("Body" paragraph style, nested "Heading 2")**
    Body text now, all over here, several paragraphs, etc. ("Body" paragraph style, nested "Body")
    Subheadings - not required in ToC ("Body paragraph style," nested "Subheading")
    1.2 Random Section Title goes here ("Body" paragraph style, nested "Heading 2")**
    More body text, you get the gist. ("Body paragraph style, nested "Body")
    Basically, I need to build my ToC with the Heading 1 and the Heading 2, but Heading 2 is nested in "Body" paragraph style.

    Nested styles are NOT a TOC style function, it is only available in a paragraph style. But when you choose a paragraph style to be written into your TOC based on another Para Style, most likely a headline, you can define such nested styles in this para style.
    But a TOC entry can only include a complete paragraph, a single one. You can make a Para Style, let's name it TOC1 which draws the information from Headline 1, but not for headline 2.
    This TOC1 can include nested styles (or GREP styles).
    Another way to define chara styles automatically is via the TOC style definition. Styles there will override any styles which come from nested and GREP styles. (But this does not necessary mean, that they have no functionality any more, because ID's styles are only partially defined and leave room for other elements of a style to be used together.)

  • Can't get the "End Nested Style Here" function to work

    Hello,
    I have been testing a very simple nested style routine in InDesign CS3.
    It has a number with a period after it (and I have a character style named number), a single word followed by a colon (and I have a character style for that word and the colon) and then a paragraph of text (and a style called body for that). Because there are sometimes more than one paragraph of text, I used the Insert, Special Character-Other-"end nested style here" character, in the TYPE menu, to tell InDesign how long to use the body copy style (the final character style) before kicking in a new start up sequence starting with the Number style. But, no matter what I try, the second paragraph wants to begin the sequence over, even though, it has just a hard return and no "end style sheet here" character.
    Any thoughts....
    thanks
    barbara

    Hi Bob,
    That is what I thought...but, then when I learned about the End Nested Style Sheet here character, I thought that would override that issue.
    Thanks for clarifying that there is no way around the new paragraph issue.
    I kept thinking there has to be a way and I just don't know how to do it, but I guess that is not the case. That is the only downfall to me regarding that amazing feature.
    thanks!
    Barbara

  • Create nested directory on FTP folder if they don't exist while uploading file

    How can I create nested directory on FTP folder if they don't exist. A local file is suppose to exactly uploaded in the same directory structure level in ftp folder. My question is -
     1. Is there any C# opensource/free library that take care of creation of all sub-directories from file-path, if they don't exist on ftp and upload the file in one shot.
     2. How much it will be feasible to make all these uploads along with some database update, archive, quarantine task in asynchronous? All succeeding tasks are sequentially depends in their order.i.e. ftp upload >> database update>> archive
    from local >> quarantine the folder
    This really requires parallel & asynchronous operation for heavy upload/transfer and going to be done by a Windows-Service.

    Hello,
    Your Subject:
    >Sender File adpter --don't raise alerts when file does not exist in folder
    is contradictory to your question.
    >if the file does not exist,it is throwing an alert like "Could not process file '.file..xml: No such file or directory '
    > Is there any way i can avoid raising an alert if file does not exist in the source folder.
    I know you want to say "Don't Raise alerts when file does not exist in folder". Correct me if I am wrong.
    Some times it happens, when we write the right thing but it means something else and this is the reason many experts have replied, "how to raise an alert". So if you remove the word "Sender File adapter" from your subject then it will be easy to understand the exact meaning.
    Regards,
    Sarvesh

  • Can I create a single style that goes "text (tab) bold text (tab) text"?

    Im working on a car listing booklet and trying to figure out the best way to merge info into the document.  The best way I can figure out for my needs is to physically copy and paste the info out of an Excel file and into a text frame of the ID document.  Im familiar with normal merging when you make a connection to the file but I dont think that will work for this.
    What the listings need to look like is:
    Bobs Cars   (tab)   Ford   (tab)   Mustang   (tab)   Year
    I need the make to be in bold but since its not actual columns in the ID document, then I have to manually highlight the Ford and click the style for making it bold.  I have about 10,000 listings and that just isnt going to work that way!  Something like this I would generally create a paragraph style for the whole thing with a character style for the bold.  I want to be able to highlight the entire list and apply one style to make it work out.  Is there a way to create a style that knows to apply a character style after the first tab or some other method that I cant come up with yet?

    Thanks for all the help, I learned a lot about this!  But now the client wants to try a different layout...ugh!  I feel like this nested style method might be able to do something like this as well.  He wants the car make, model and year to be more like a bold heading with the miles, price, dealer, phone underneith it and in a non bold or smaller font.  Below is what one of the listings looks like in the Excel file:
    Acura
    ILX
    2013
    0
    $35,295
    L.P.C
    Phone
    0
    $32,295
    L.P.C
    Phone
    0
    $32,295
    L.P.C
    Phone
    0
    $30,095
    L.P.C
    Phone
    Like the previous, I would like to do one thing that will autoformat all 10,000 listings at once.  I was thinking since the info for the heading started with text and the info below started with numbers, maybe there is a way to set the styles to work only when the first "word" is text or numbers and know which style to apply to it? (The 0's are just for this one listing, many have other numbers for mileage also so cant set it to just search for zeros btw)

  • How can I create a photo album on Dreamweaver CS4?

    How can I create a photo album on Dreamweaver CS4? The button that is supposed to do this (Commands>create photo album) is disabled.

    Hi Nancy, Thank you for your help.   Do you have any idea why the button that creates photo albums in my version of Dreamweaver CS4 is disabled?
    Thank you,  Date: Sat, 19 Jan 2013 12:29:48 -0700
    From: [email protected]
    To: [email protected]
    Subject: How can I create a photo album on Dreamweaver CS4?
        Re: How can I create a photo album on Dreamweaver CS4?
        created by Nancy O. in Dreamweaver General - View the full discussion
    DW is web authoring software.  It's not a photo gallery creation tool. You can build your own own web gallery with HTML or PHP, CSS & JavaScript.  http://alt-web.com/GALLERY/Gallery.php Or you can use commercial products to help you. Project Seven's Image Gallery Magic 2:http://www.projectseven.com/products/galleries/igm2/index.htm jAlbumhttp://jalbum.net/  Nancy O.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5007136#5007136
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5007136#5007136
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5007136#5007136. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Maybe you are looking for