Changing datetime indent...

Hi all. 
I have another question for the pros:
I've indented my body <p> elements, but want to remove that indent from a time element. The code is: <p><time datetime="2013-05-08" id="pubdate">May 8, 2013</time></p>
I've tried the following css rules, but none have any effect:
p[datetime="2013-05-08"] {
    text-indent: 0;
*[datetime="2013-05-08"] {
    text-indent: 0;
time[datetime="2013-05-08"] {
    text-indent: 0;
#pubdate {
     text-indent: 0;
#pubdate[datetime="2013-05-08"] {
    text-indent: 0;
#pubdate * [datetime="2013-05-08"] {
    text-indent: 0;
The only thing that seems to work is if I remove the <p> element and just use <time> on its own, but then I have to reset the color value.
Is this the only workaround?
Thanks in advance,
B.

Hi BobtheLantern.
Thanks for your reply.  Much appreciated.
Yeah - I don't get it either.  Everything's in an external stylesheet, and there's only one time element, so it's not like there's a specificity issue here.
Here's my code using your suggested rule - maybe you can see something I don't:
body {
    background: #eef;
    font-size: 100%;
    font-size: 17px; font-size: 1.7rem "Times New Roman", serif;
    line-height: 1.2;  
header#masthead {
    background: #cacbe7;
h1,
h2,
h3,
h4 {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    color: #6d0c67;
    text-align: center;
h1 {
    font: bold 25px; font-size: 2.5rem;
    line-height: 1.1;
    text-transform: uppercase;
h2 {
    font: bold 18px; font-size: 1.8rem;
h2#subtitle {
    color: #4f4290;
h3 {
    font: bold 14px; font-size: 1.4rem;
p {
          color: #90428b;
          text-indent: 1.5rem;
          text-align: justify;
p time {
    text-indent: 0;
blockquote p {
    font-style: italic;
    text-indent: 0;
B.

Similar Messages

  • Pages 5.2 How do I change the indent level used by the indent icon in the toolbar?

    I'd like to use the INDENT and OUTDENT icons in the Pages (5.2) toolbar.   They seem to default to 0.5 inches.   I would to change that but I cant' figure it out.
    I can accomplish what I want by going to "Style / Bullets & Lists / None / Indent - text.   I make that the inches I prefer - such as 0.25 etc.
    Is there a way to change the indent spacing used by the Indent (and Outdent) icons in the Toolbar?
    Thanks
    Rick Conklin
    Wichita, KS

    Mr. VikingOS
    Sorry, the above instruction changes the "first line" indent.   You can confirm this by going to "format / indents / first."
    That's not the same as the paragraph indent - which is what the Indent icons do.
    I just want a way to alter the distance used by those icons.
    Anybody else?
    Bueller?   Bueller?

  • How Can I write a script for change first indent?

    How can I write a java script to tell indesign:
    what ever the text first indent is, I want to change first indent =
    1) 8mm
    2) 0mm
    3)-8mm (if left indent is 0, change the first indent to 8mm, and then change first indent = -8)
    3 scripts
    Please someone help me, please!

    Hi hasive, thank you for your responses, thank you very much,
    I need three scripts
    1st script, I want to set the first indent to 8mm;
    2nd script, I want to set the first indent to -8 mm, but if the left indent is 0, please set the left indent to >8mm then set the first indent to -8mm;
    3rd, I want to set the first to 0mm, if the first indent is 8mm or -8mm;
    thank you
    Harvey

  • How to change datetime column in editform only when enduser select contenttype "X". Other contenttypes do nothing with this column?

    I have a sharepoint 2013 portal. I have custom documentlibrary with 10 contenttypes. When you upload a new document you can select a contenttype. After selecting the contenttype you see the columns/fields to fill in. One of the fields is a datetime column.
    I would like set in 1 situation the value at "date of today + 3 year". The situation is when the enduser select contenttype "X". How can I implement this? Maybe in javascript?

    Changing the value using Javascript only changes the displayed value for the user.  It does not prevent the user from changing the value to something that isn't correct for example if this date is the expiration date of a document, these dates are set
    by policy (3 years) but if the user is able to set the date, they may set it to less than 3 years which may or may not be desirable.
    Instead, why not use a workflow to set the value based on the Content Type that was selected and the date of the transaction?
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • Change DateTime format property to DateTime

    Hi,
    I have a DateTime field in  contenttype. 
    Field was set to DateOnly Format but user wants it to be as DateTime field. As it is already in live I have written a Feature upgrade reciever to update all the existing field. After Solution and feature upgrade its working fine for the new items but not
    to the existing files. I tried by updating the list field directly but the changes does not replicate in Edit/Display forms of an items.
    I have checked through Sharepoint Manager and the format DateTime.
    How can i change the DateOnly format to DateTime in existing list.
    Thanks

    Hi Mohammed,
    According to your description, my understanding is that you want to change the Date only field to Date Time in existing fields in SharePoint.
    I recommend to edit the date column in the browser directly.
    Please go to the List settings in the list where the content type is used and then click the date field under Columns. After that you can edit the date field to Date and Time format and all the existing fields will be updated with 12:00 AM value with the
    date value.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Adobe Photoshop Elements 12 changes DateTime EXIF parameter after editing and saving photo

    Hello, I have a little problem with Elements 12. After I edit a photo and save it, Elements changes the DateTime parameter to the time the photo was saved. Is there any way not to change this parameter? Just to save photo with stock EXIF-metadata?

    brian_oconner333 a écrit:
    Actually, it doesn't. But I would like to know if changing this parameter would affect other apps (including mobile galleries) recognition of date the photo was taken. I'm afraid that some photos may be incorrectly sorted, especially in mobile apps.
    I am in Windows 7. When I use the Windows Explorer to have a look at the properties of picture file, I can use the 'Right click' and choose 'properties'. In the 'details' tab, look at the various dates, and you can see that the 'date taken' is recorded in the Explorer. That means that other software can share that information. What is misleading is that by default, that 'date taken' is not shown by default in the Explorer. Just like keywords tags, you have to add that column to the display. It's not clearer in the Organizer where you are being shown the various dates in the catalog as well as dates read from the picture files...

  • Change Paragraph Indentation Before Text via macro

    I have a repetitive task where I need to format a paragraph 100s of places throughout my slide decks. I need to remove the bullet, change the font, and set the paragraph indentation before text property to 0.5"
    I can do everything but set the indentation before text property.  can someone please show me the line of code needed for this?
    Thanks.

    Hello moondaddy.
    I suggest you to ask this question in the
    Office Answers Forum.
    Bye.
    Luigi Bruno
    MCP, MCTS, MOS, MTA

  • Changing datetime format to another format in exixting table

    Hi i am using oracle11g version
    here i have one problem
    suppose datetime value which is in string format is 4/13/2012 03:55 PM in table
    now I want to update format to 04/13/2012 15:55 in table

    913672 wrote:
    Hi i am using oracle11g version
    here i have one problem
    suppose datetime value which is in string format is 4/13/2012 03:55 PM in table
    now I want to update format to 04/13/2012 15:55 in tableOk, so let's suppose you have a table and it has a DATE datatype column on it.
    When you're querying your data you see something like this...
    SQL> select dt from mydates;
    DT
    08/08/2012 09:41:51 AM
    08/07/2012 09:41:51 AM
    08/06/2012 09:41:51 AM
    08/05/2012 09:41:51 AM
    08/04/2012 09:41:51 AM
    08/03/2012 09:41:51 AM
    08/02/2012 09:41:51 AM
    08/01/2012 09:41:51 AM
    07/31/2012 09:41:51 AM
    07/30/2012 09:41:51 AM
    10 rows selected.Internally though, the dates are not stored in that format, that's just how they are displayed to you.
    Let's look at the internal format... (we can see a representation of the bytes of data values using the DUMP function)...
    SQL> col dmp format a40
    SQL> select dt, dump(dt) as dmp from mydates;
    DT                     DMP
    08/08/2012 09:41:51 AM Typ=12 Len=7: 120,112,8,8,10,42,52
    08/07/2012 09:41:51 AM Typ=12 Len=7: 120,112,8,7,10,42,52
    08/06/2012 09:41:51 AM Typ=12 Len=7: 120,112,8,6,10,42,52
    08/05/2012 09:41:51 AM Typ=12 Len=7: 120,112,8,5,10,42,52
    08/04/2012 09:41:51 AM Typ=12 Len=7: 120,112,8,4,10,42,52
    08/03/2012 09:41:51 AM Typ=12 Len=7: 120,112,8,3,10,42,52
    08/02/2012 09:41:51 AM Typ=12 Len=7: 120,112,8,2,10,42,52
    08/01/2012 09:41:51 AM Typ=12 Len=7: 120,112,8,1,10,42,52
    07/31/2012 09:41:51 AM Typ=12 Len=7: 120,112,7,31,10,42,52
    07/30/2012 09:41:51 AM Typ=12 Len=7: 120,112,7,30,10,42,52
    10 rows selected.So, what happens if I chance the date format for my session...
    SQL> alter session set nls_date_format = 'MM/DD/YYYY HH24:MI:SS';
    Session altered.
    SQL> select dt, dump(dt) as dmp from mydates;
    DT                  DMP
    08/08/2012 09:41:51 Typ=12 Len=7: 120,112,8,8,10,42,52
    08/07/2012 09:41:51 Typ=12 Len=7: 120,112,8,7,10,42,52
    08/06/2012 09:41:51 Typ=12 Len=7: 120,112,8,6,10,42,52
    08/05/2012 09:41:51 Typ=12 Len=7: 120,112,8,5,10,42,52
    08/04/2012 09:41:51 Typ=12 Len=7: 120,112,8,4,10,42,52
    08/03/2012 09:41:51 Typ=12 Len=7: 120,112,8,3,10,42,52
    08/02/2012 09:41:51 Typ=12 Len=7: 120,112,8,2,10,42,52
    08/01/2012 09:41:51 Typ=12 Len=7: 120,112,8,1,10,42,52
    07/31/2012 09:41:51 Typ=12 Len=7: 120,112,7,31,10,42,52
    07/30/2012 09:41:51 Typ=12 Len=7: 120,112,7,30,10,42,52
    10 rows selected.The dates are now displayed in the format I want, though the internal representation or bytes hasn't changed at all.
    Don't worry about the "format" of how the dates are stored on the database. Just remember that "format" relates to how things are displayed at the front end and can be controlled either through settings like NLS_DATE_FORMAT, or by using functions such as TO_CHAR when you query the data.
    Never consider storing the data in a different datatype than what is most suitable for it i.e. don't store DATE values as VARCHAR2, as this will cause you major problems later on. Store DATEs as DATE or TIMESTAMP datatypes, store numbers as NUMBER (or equivalent numeric datatype), store strings as VARCHAR2 etc.

  • Change tab (indentation) length in Notes

    In line with Apple's recent decisions to take control away from users, Notes has no way to add to default fonts or change the tab length.  I found a hack to add to the font choices - http://hints.macworld.com/article.php?story=20120811055524908.  I can now choose a nice fixed width font. 
    However the tab length is still an issue, it seems to be a ridicously long 8 characters.  Anyone find a fix for this? 

    It probably isn't a permanent fix, but the Format Menu has an increase/decrease command.

  • CodeError:  Identity does not match. How do I change the indentity?

    I had a developer make the program for me. I open the project in xCode and try to Build It with either Release or Distribution and it comes up with error:
    "CodeSign error: Code signing identity "iPhone Developer: Joe Smith" does
    not match any code-signing certificate in your keychain. Once added to
    the keychain, touch a file or clean the project to continue"
    How do I change the CodeSign to know it is me? Joe Smith is the guy who developed the software, but I need to publish it.
    Also, for submitting to "App Store" do I Build it via "Release" or "Distribution"??

    Is it the password to the laptop itself or the iTunes Store?
    Cheers,
    Adam

  • How can I change the format of text pasted into a Mail email from another document?

    I paste some text from a word document into an email in Mail.  In the word document, the text was indented .5" from the right margin.  In the Mail email document, the text also appears indented .5" from the right margin.
    But since this was the last text in the email I am composing, my text following the pasted-in part continues at the indented "style" of the pasted in text.  And thre are no controls for changing this indentation on subsequent text in that email, nor can you chage the indentation formatting of the text pasted in.
    Even when you select "decrease indentation" under the format/indentation options in the menu bar, Mail will not reduce a "pasted-in" paragraph indentation nor will it return a subsequent text paragraph you type in manually back to a left-adjusted margin.
    Am I miising something?
    Is there a way to see something in each Mail message composition window akin to what you see in a word processing document that allows you to set margins and indentations and tabs for individual paragraphs?  Just like the Formatting controls you have here in the Apple Support communities when you ar composing a message and that I used to indent this paragraph?
    And then used to return this paragraph back to the original left adjusted formatting?
    Steve

    Thanks for the reminder.  I use the formatting toolbar but forgot to go there instead of the Format menubar item for Mail to try the indent and outdent commands.
    But, alas, that indent, outdent option has no impact on text pasted into the message.  It remains stuck at the indent level of the source text.
    Might the answer lie in switching to plain text and formatting there?  Tried that and no difference.
    I did discover that if you highlight text pasted in with its "own" indentation preference "baked in" you can indent that text further and even "outdent" it back to where it was, but you cannot shake it's original indentation status to get it back to full left margins.
    Steve

  • Set Default Number Indentation in a List Pages

    I have pages '09 and the default Number Indentation is 0.5in. For the work that I do I believe that this wastes a huge amount of space. I was wondering if there is a way to change the default value to 0.25in, because I do not want to have to change it every time.

    Create your own list style.
    You can change the indent for each level in:
    Inspector > Text > List > Bullets > Numbering > Number Indent > Text Indent
    When you are happy with these save them as a List Style:
    Menu > View > Show Styles Drawer > List > click on down triangle > Create New List Style from Selection > Name: > OK
    and apply that to your lists.
    Peter

  • First item in dd list indented in IE

    Hello
    On a few pages of a redesign I am doing I have a few
    <dd><li> - In FireFox its fine but in IE it is
    indenting the first item in the list.
    Any suggestions on how to fix? I looked in all my CSS and Im
    not seeing anything.. ( should I look harder?)
    Here is a page of a good example
    http://www.michaelsondesign.com/roomNine/html/aboutUs/parent_involvement.htm
    thanks
    R

    On Tue, 18 Sep 2007 18:41:03 +0000 (UTC), "NeilPeartRocks"
    <[email protected]> wrote:
    >Hello
    > On a few pages of a redesign I am doing I have a few
    <dd>
    - In FireFox its
    >fine but in IE it is indenting the first item in the
    list.
    > Any suggestions on how to fix? I looked in all my CSS
    and Im not seeing
    >anything.. ( should I look harder?)
    > Here is a page of a good example
    >
    >
    http://www.michaelsondesign.com/roomNine/html/aboutUs/parent_involvement.htm
    >
    > thanks
    > R
    >
    Definition lists - at least as I read it don''t just have
    <dd>'s as
    you have:
    Definition lists have a <dt> to define the definition
    term and then
    the <dd) to describe the definttion description. so it
    would look like
    <dl>
    <dt>the term</dt
    <dd>definition description</dd>
    <dt>the term</dt
    <dd>definition description</dd>
    <dt>the term</dt
    <dd>definition description</dd>
    </dl>
    but to change the indent - you can change the margin with
    css:
    dd {margin-left: 5px; margin-top:5px; margin-bottom:18px; }
    ~Malcolm N....
    ~

  • Not able to use the Tab key to Tab indent when within a text edit window...

    Two questions please... First one is above for the tab function. In Safari I just need to press control+option+tab to indent a tab within a text edit box on a website. This function is being used more via cloud and mobile capability.
    Second... I can, in Safari, Copy and paste a site with tables. Works great in Safari. When I try to do this in FF I lose the formatting of the tables and it just give plain text without the tabled fields.
    I would love to use FF because the compatibility if much greater than Safari, but... I need my functionality as well to do my work to the best and quickest ability.
    Thank you

    Help About says I'm on 20.0.1
    Up until last week, I was able to use the tab key when typing emails and other multi-line text boxes.
    Suddenly the behavior of the tab key changed. This isn't the first time. It's been quite a while ago that the function of the tab key changed from indenting to moving around the page, then after some time it changed back to indenting.
    Can we get this fixed and leave it alone, please?
    I may give one of those add-ins a try, but my problem with add-ins is that they break when FF is patched or upgraded, then I'm left with out the solution they provide.
    Can we just fix Firefox, please?
    Thanks,
    Frank
    P.S. Another potential fix I came across suggested starting FF in safe mode to see if the problem goes away. It does not. It seems to be a change to FF that appeared after an update last week. On or just befor 24 Apr.

  • Indent Lengths Between Pages for Mac and iOS

    I've been using Pages on my iPad a lot for classes. During lectures, I type outlines in a blank document and quickly switch between headings and subheadings with the "indent increase" and "indent decrease" buttons in the toolbar (looking at the ruler, it seems like the default indent length is a little more than half an inch - maybe 1.5cm?).
    The problem is that when I later open the document via iCloud in Pages on my iMac, the indent lengths become readjusted so that each indentation takes up 1.8 inches (so 3.6 inches for a double indent, 5.4 for a triple, etc.). Short of highlighting each line and manually changing the indent length in the inspector, I haven't found a way to fix this change. Further, if I make any other changes to the document in Mac Pages, that 1.8 inch indent length carries over to iOS Pages. When I then try to open the document in iOS, I get:
    "This document may look different on your iOS device than on your Mac. Use Open Copy if you want to preserve the original." [Open Copy] [Open]
    Not wanting a duplicate, I'll choose [Open], and I found I could quickly restore the 1.5cm length by selecting all text, going to list settings and selecting "None" (as opposed to "Bullet," "Image,' etc.). But the next time I try to open the document in Mac Pages, the cycle repeats.
    Am I missing some obvious way of keeping these indents consistent across devices, or do I just need to deal with this reformatting each time?
    (newest versions of desktop/mobile Pages are running on Mountain Lion and iOS 6)

    Nobody here can tell you why Apple does things the way it does them, but you can tell Apple how you would like things to work at
    http://www.apple.com/feedback

Maybe you are looking for

  • Adding a carriage return in an alert box

    Hello I have a user request to display this alert box in the format below: Attention: The owner name has changed on this vessel. Current Name: xxxxxxx: New Name : yyyyyyy Please confirm or deny that this is an owner change. Confirm and Deny are the t

  • Keep getting "Can't Locate Disk" error message when installing software

    Hi! I'm trying to install some software on my PowerBook G4 . . . every time I follow this routine: 1) I insert the installation disk of the software. 2) Classic 9 starts up - I then get the folder on the disk with then install icon. 3) I toggle throu

  • AcroExch Microsoft Word insert object

    Hi, I have encountered with the same error message when inserting pdf files as Object File in Microsoft Word for 3 scenarios. The message is "The program used to create this object is AcroExch. That program is either not installed on your computer or

  • How to pass parameters to an XSL for use in a transform (JSP/XSLT)?

    I have an XSL: style.xsl I have an XML: data.xml I want to do an XSL Transform on data.xml, using style.xsl, with parameter Language=en With Saxon you would do: saxon data.xml style.xsl Language=en But how would I do this with WL6.x, using the JSP XS

  • HP laptop with 52" LCD TV

    I have this 52" lcd tv and am toying with the thought of using it as a monitor with my laptop. Has anyone tried this setup, and if you did, does it funtion well. Thanks HP P2-1117BC x64 G460 HP dv7-1247cl X64 AMD 72 Windows 7 Home Premium AVIRA &Wind