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....
~

Similar Messages

  • How can i show the first item in the list as selected item

    Aslam o Alikum (Hi)
    Dear All
    How can i show the first item in the list as selected item when user click on the list. Right now when user click the list the list shows the last item in the list as selected or highlighted. Furthermore if the list item have large no of value and a scroll bar along with it then the list scroll to last item when user click it with mouse. I want that when user click the list item with mouse list should show the first item as highlighted.
    Take Care
    Allah Hafiz

    Hi!
    You can set list "initial value" using When-Create-Record trigger.
    I.g.
    :<Block_name>.<list_item_name> := Get_List_Element_Value('<Block_name>.<list_item_name>', 1);

  • Defaulting a dropdown to the first item in the list

    I have two dropdowns in InfoPath 2010. The second dropdown gets populated depending on what the first dropdown is set to.
    Example: If the first is set to Florida, the second will display all the cities in Florida. If you set the first to Georgia, the second will change to a list of cities in Georgia.
    The problem is that it defaults to a blank line, I need the first item in the second dropdown to populate with the first item in the list.
    I've scoured the web but I can't seem to find a solution.
    Any solutions or workarounds?

    Hi,
    To achieve your requirement,  creating cascading dropdown fields with InfoPath.
    Please refer to the following blogs about creating cascade drop down in InfoPath form step by step:
    http://blogs.msdn.com/b/bharatgupta/archive/2013/03/07/create-cascading-dropdown-in-browser-enabled-infopath-form-using-infopath-2010.aspx
    For the issue that second dropdown defaults to a blank line, add a formatting rule to the first dropdown. Refer to the following articles:
    http://www.pointbeyond.com/2011/11/20/cascading-dropdowns-in-infopath-2010/
    http://msreddysharepoint.blogspot.in/2012/12/infopath-2013-web-browser-creating.html
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Hide "more" button in a list view, only works for first item in the list

    I have the following code in a list view that outputs several dozen items in a web app.  The code only works for the first item, how can I make it loop through and execute the test for each item in the list view?  The {tag_hide more button} is a checkmark field that yields a numeric 1" if checked otherwise yields a numeric "0".
    <div id="more-option">
            <p class="right"><a href="{tag_itemurl_nolink}" class="btn btn-small btn-very-subtle">More &rarr;</a></p>
          </div>
          <div class="more-selection" style="display: none;">{tag_hide more button}</div>
          <script>
    if ($(".more-selection").text() == "1") {
        $("#more-option").hide();
    </script>

    What's the URL for the site where you are using this?  Offhand, it looks like it should work with your first example so you are either placing the script before those elements are loaded or you might try wrapping your current javascript inside the:
    $(document).ready(function() {
    --- your existing javascript here
    This make sure the code runs once all the html is loaded on the page.  Without seeing a URL and debugging with the js console in Chrome I can't give you a solid answer.
    But, I do know that you can probably do this with a lot less markup.  Once we figure out what the actual problem is I have a better solution mocked up for you on jsfiddle.
    When looking at my HTML code on jsfiddle, please realize I setup some dummy HTML and removed your tags and added actual values which would be output by your tags.  The main thing I did was remove the whole div.more-selection and instead, added a "data-is-selected" attribute on your div.more-option element.  Then, in my javascript for each div.my-option element on the page, we loop through them, find the value of that data attribute and hide that div if it's less than 1 (or 0).
    Here's the fiddle for you to look at:  http://jsfiddle.net/thetrickster/Mfmdu/
    You'll see in the end result that only two divs show up, both of those divs have data-is-selected="1".
    You can try pasting the javascript code near the closing </body> tag on your page and make sure to wrap my js inside a <script> tag, obviously.  My way is neater on the markup side.  If you can't get it to work it's likely a jquery conflict issue.  My version is using the $(document).ready() method to make sure all the code is loaded before it runs.
    Best,
    Chris

  • Is it possible to show first item in a Drop down list

    Is it possible to automatically display the first item in a drop down list ?
    The reason I ask is  ... I am generating pre-filled PDF forms using XML data files.
    Whenever there is a certain type of data I am populating a drop down list for the user to review.
    Currently, the user must click on the drop down to see if data is there regardless of whether there is no data at all or many data lines of data..
    I would like to make it clear to the user whether or not there is any data - right awa.y
    I have considered creating a display item next (like a check box or a text field ) next to the drop down and setting it to cindicate if there is data, etc -
    but i thougth that I would ask if the drop down could simply be set to automatically display the first item in the list (this is the preferred functionality)
    If this is not possible I can always create a check box and set it if there is any data as an  indicator for the user ..
    Thanks

    You can do this way..
    Place the code in Inititalize event with Java Script
    if(DropDownList1.rawValue == null)
        DropDownList1.selectedIndex = 0;
    You need to check if the Dropdown has a value selected from the previous save.. If not then set the selected item to 0th index. (which is 1st one in the dropdown values)..
    Thanks
    Srini

  • First Item In Adobe Exchange

    So excited to have my first product in Adobe Exchange..
    http://bit.ly/14WCsBR
    Have a couple more free ones I need to get processed.

    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....
    ~

  • Windows Explorer - How to select the first item once we open the explorer?

    Hi,
    In Windows Explorer - How to select the first item once we open the explorer using keyboard shortcut. I typically use downward arrow, it goes to the 2nd item in the list, then I again have to use upward arrow to go up.
    Is there a shortcut to select the first item in the list using keyboard? This is not specific to Windows 7, it has been the behavior even in previous Windows OS versions.
    Thanks,
    Mallik

    Opening a Microsoft Ticket is probably your best option. Unfortunately the change will not happen immediately and it will require multiple users to send in a ticket. I hope this ends up being resolved though.
    Good luck Mallik
    Also, don't forget to mark the post as answered so that it does not show up as unanswered to help others who search the forums.
    Agreed, MS wont change it easily. :)
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • Powershell Iterate through webs and lists to get Document ID Value of first item

    After some some trial and error I came up with the follow script. But it's so slow! And seems to be missing my document centre - it has about 80000 items in it.
    Two questions: Can I make this quicker? and why can't it handle getting results from the document centre?
    $webs = (Get-SPSite "http://portal...." | Get-SPWeb -Limit all -ErrorAction SilentlyContinue)
    if($webs.count -ge 1 -OR $webs.count -eq $null)
    foreach($web in $webs)
    $lists = $web.Lists
    foreach($list in $lists)
    if ($list.BaseType -eq "DocumentLibrary" -OR $list.BaseType -eq "GenericList")
    $item = $list.Items[0]
    if (($item -ne $null) -and ($item["Document ID Value"] -ne $null))
    $finalstring = $item["Document ID Value"].ToString()
    write-output $finalstring | Out-File "C:\scripts\results.txt" -append
    $web.Dispose()

    I thought that pointing to items[0] would literally just grab the first item.
    So what do I do here? How can I use an spquery in my code? I'm confused in the order and the exact sytax I would use the spquery.
    Thanks for you help so far Alex.
    Edit: Amended my code, is this correct?
    Add-PSSnapin Microsoft.Sharepoint.PowerShell
    $webcount = 0
    $listcount = 0
    $itemcount = 0
    $itemid = ""
    $TimeStamp = Get-Date
    $Date = $TimeStamp.ToShortDateString()
    $Time = $TimeStamp.ToShortTimeString()
    $webs = (Get-SPSite "Http://portal..." | Get-SPWeb -Limit all -ErrorAction SilentlyContinue)
    $query = New-Object Microsoft.Sharepoint.SPQuery
    $query.Query = "<Where><IsNotNull><FieldRef Name='ID'/></IsNotNull></Where>,<OrderBy><FieldRef Name='_dlc_DocId' Ascending='True'/></OrderBy>"
    $query.ViewFields = "<FieldRef Name='_dlc_DocId'/>"
    if($webs.count -ge 1 -OR $webs.count -eq $null)
    foreach($web in $webs)
    $lists = $web.Lists
    foreach($list in $lists)
    if ($list.BaseType -eq "DocumentLibrary" -OR $list.BaseType -eq "GenericList")
    $listcount += 1
    $items = $list.GetItems($query)
    foreach ($item in $items)
    if ($item["_dlc_DocId"] -ne $null)
    $itemid = $item["_dlc_DocId"].ToString()
    if ($itemid -ne "")
    $itemcount += 1
    $finalstring = $Date + " ; " + $Time + " ; " + $web.url + " ; " + $list.title + " ; " + $itemid
    write-output $finalstring | Out-File "C:\scripts\results.txt" -append
    break
    $webcount += 1
    $web.Dispose()
    Write-Host "Amount of Webs checked:"$webcount
    Write-Host "Amount of Document Library Lists:"$listcount
    Write-Host "Amount of valid IDs:"$itemcount

  • Galleries - default to first item in list

    I am working on a trade show app using Siena. I have a number of product galleries that load from excel, but I am having trouble getting the galleries to default to the first item in a selected list. Instead, if I select a new gallery, it starts on the last
    position viewed by another gallery instead of starting clean on first item.
    I thought it has something to do with DefaultVisibleIndex, but I have had no success. Any help would be greatly appreciated.
    Rojon123

    Hi Rojon,
    In your dropdown list control, set Behavior>OnChange property to: UpdateContext({index:5});UpdateContext({index:1}). You're setting a context variable named index to 5 and then 1--basically cause its value to change every time the selection in the control
    changes.
    Now, set the DefaultVisibleIndex property of your gallery to: index
    Thanks
    Robin

  • Detect first and last spark list items

    Hi,
    I have a custom item renderer with a background image for each item in a list. the thing is I'm trying to have a different background for the first and last items (curved respectively) and I'm not sure how to do that.
    Any help will be appreciated.

    If you are scrolling, will you change which ones have the different
    background?
    If not, look at ButtonBar.  It is based on ListBase and assigns different
    skins to the first and last renderer.

  • Windows Phone 8.1 xaml, c# ComboBox does not display selection when first item is selected from full page list.

    I have 3 comboboxes on a xaml page and most of the time when I select the first item on the full page list displayed when the number of items are > 5, the screen returns to the combobox and the box is blank. The combobox.SelectedItem is valued but it
    does not display.  This does not happen every time and I have seen this using the emulator and my windows 8.1 phone.  If I select any other item in the list they always display but when I go back and select the first item the box is blank. 
    Does anyone know what I could be doing that is causing this?

    Thanks for your help.  When I run the code below and the page is displayed, I select an item from the page list and it displays fine and then I select the first item from the page list and I do not see that selected item in the box. 
    If I remove the SelectedIndex=0 it all works fine except I do not have an item selected for the initial display.  Below should show problem and should work copy/paste in universal blank app.
    ScrollViewer x:Name="scrollViewer1">
            <StackPanel x:Name="stackPanel1" Background="Transparent">
                <ComboBox x:Name="comboBoxTestTypes" Margin="20,117.75,0,465.25" SelectedValuePath="ItemDescription" Width="310" Height="Auto" FontSize="17"
           ItemsSource="{Binding}" HorizontalAlignment="Left" VerticalAlignment="Center">
                <ComboBox.ItemTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding ItemDescription}" />
                    </DataTemplate>
                </ComboBox.ItemTemplate>
            </ComboBox>
     </StackPanel>
        </ScrollViewer>
    public sealed partial class MainPage : Page
            public ObservableCollection<ItemDetail> itemDetail;
            public MainPage()
                this.InitializeComponent();
                this.NavigationCacheMode = NavigationCacheMode.Required;
                this.itemDetail = new ObservableCollection<ItemDetail>();
            protected override void OnNavigatedTo(NavigationEventArgs e)
                PageLoad();
            public class ItemDetail
                public string ItemDescription { get; set; }
                public string ItemName { get; set; }
            private async void PageLoad()
                await initializeTypes();
                var comboBoxTestTypesItemsSource = await GetTestTypes();
                comboBoxTestTypes.ItemsSource = comboBoxTestTypesItemsSource;
                comboBoxTestTypes.SelectedIndex = 0;
            private async Task initializeTypes()
                await addTestType("Item1");
                await addTestType("Item2");
                await addTestType("Item3");
                await addTestType("Item4");
                await addTestType("Item5");
                await addTestType("Item6");
            private async Task<ObservableCollection<ItemDetail>> GetTestTypes()
                //ObservableCollection<ItemDetail> list = new ObservableCollection<ItemDetail>();
                //Random rnd = new Random();
                //for (int i = 0; i < 50; i++)
                //    list.Add(new ItemDetail() { ItemDescription = "hello" + rnd.Next(0, 1001), ItemName = rnd.Next(0, 101).ToString() });
                await getSaveDataFileDataAsync("get");
                return itemDetail;
            private async Task addTestType(string description)
                int newIdAdd = 0;
                if (itemDetail != null && itemDetail.Count > 0)
                    newIdAdd = itemDetail.Max(mT => Convert.ToInt32(mT.ItemName)) + 1;
                var addTestType = new ItemDetail();
                addTestType.ItemName = newIdAdd.ToString();
                addTestType.ItemDescription = description;
                itemDetail.Add(addTestType);
                await getSaveDataFileDataAsync("save");
            private async Task getSaveDataFileDataAsync(string getSave)
                try
                    DataContractJsonSerializer jsonSerializer1 = null;
                    string dataFileName1 = "testFileName";
                    jsonSerializer1 = new DataContractJsonSerializer(typeof(ObservableCollection<ItemDetail>));
                    if (jsonSerializer1 != null && getSave == "get")
                        using (var stream1 = await ApplicationData.Current.LocalFolder.OpenStreamForReadAsync(dataFileName1))
                            itemDetail = (ObservableCollection<ItemDetail>)jsonSerializer1.ReadObject(stream1);
                    if (jsonSerializer1 != null && getSave == "save")
                        using (var stream1 = await ApplicationData.Current.LocalFolder.OpenStreamForWriteAsync(dataFileName1, CreationCollisionOption.ReplaceExisting))
                                jsonSerializer1.WriteObject(stream1, itemDetail);
                catch

  • Drop down language list in Google translate only shows first item, HTML drop downs work OK and google translate works OK in SAMSUNG browser

    I have Firefox 18.0.2 for android running on a Samsung Galaxy Tab 2 7.0. The drop down list in Google translate (for translating complete web pages e.g. http://www.samtorrance.com/google-translate.htm ) only shows the first item (select language). Google translate works on Samsung's own browser, HTML drop down lists work OK in Firefox and Google translate on the same webpage works on desktop machine.

    Could you provide the snapshot.
    if your using ICS or JB
    press Menu + power button (or) <br>
    Volume down key + power button

  • CRM Quotation: Attachment with template: only first item shown

    Hi all,
    I created a webservice with WS_DESIGN_TOOL to fill a WORD template with the data of a quotation.
    The header data looks fine, but from item data only the first item is shown. by debugging the generated FM I saw, the there are entries in data_tab for every item. I think my problem is placed in the WORD template. What do I have to do to loop over all items? The following XML-Tags in template deliver only the first item
    <itemsofheader>
         <allitemsoforder>
              <item>
                   <btitemconditionset>
                        <allitemconditionlines>
                             <item>
                                  <kwertprt />
                                  <koein />
                                  <kawrtprt />
                             </item>
                        </allitemconditionlines>
                   </btitemconditionset>
                   <description />
              </item>
         </allitemsoforder>
    </itemsofheader>
    I expected, there will be a loop automatically when there is a list of items, but it isn't. What is my mistake.
    regards
    Martin

    <?xml version='1.0' ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" />
    <xsl:template match="/">
    <xsl:MT_messagetype>
    <xsl:for-each select = "item">
    <item>
    <xsl:value-of select="item"/>
    </item>
    </xsl:for-each>
    </xsl:MT_messagetype>
    </xsl:template>
    </xsl:stylesheet>

  • How can I select an item from a list component with a seperate button

    This is a repost, I decided it'd probably be better here than
    in the general discussion board. I will try to delete the other
    one.
    Hello Everyone,
    This is my first post here. I am trying to figure out how to
    select an item within a list component with a button. This button
    is calling a function. I have searched for the past 3 hours online
    and I can't find anything about it. I thought perhaps I could set
    the selectedItem parameter, but that is read only, and I believe it
    returns an object reference rather than something like a number so
    even if i could set it, it would be pointless. I also found a get
    focus button, thought that may lead me somewhere, but I think that
    is for setting which component has focus currently as far as typing
    in and things like that. I am lost.
    Basically I am looking for a way to type this
    myList.setSelected(5); where 5 is the 5th item in the list.
    Any help would be much appreciated.

    Never mind found it. It is the property called selectedIndex
    and it is writable

  • How to get items from a list that has more items than the List View Threshold?

    I'm using SharePoints object model and I'm trying to get all or a subset of the items from a SharePoint 2010 list which has many more items than the list view threshold (20,000+) using the SPList.GetItems() method. However no matter what I do the SPQueryThrottledException
    always seems to be thrown and I get no items back.
    I'm sorting based on the ID field, so it is indexed. I've tried setting the RowLimit property on the SPQuery object(had no effect). I tried specifying the RowLimit in the SPQuerys ViewXml property, but that still throws a throttle exception. I tried using the
    ContentIterator as defined here:http://msdn.microsoft.com/en-us/library/microsoft.office.server.utilities.contentiterator.aspx,
    but that still throws the query throttle exception. I tried specifying the RowLimit parameter in the ProcessListItems functions, as suggested by the first comment here:http://tomvangaever.be/blogv2/2011/05/contentiterator-very-large-lists/,
    but it still throws the query throttle exception. I tried using GetDataTable instead, still throws query throttle exception. I can't run this as admin, I can't raise the threshold limit, I can't raise the threshold limit temporarily, I can't override the lists
    throttling(i.e. list.EnableThrottling = false;), and I can't override the SPQuery(query.QueryThrottleMode = SPQueryThrottleOption.Override;). Does anyone know how to get items back in this situation or has anyone succesfully beaten the query throttle exception?
    Thanks.
    My Query:
    <OrderBy>
        <FieldRef Name='ID' Ascending='TRUE' />
    </OrderBy>
    <Where>
        <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
    </Where>
    My ViewXml:
    <View>
        <Query>
            <OrderBy><FieldRef Name='ID' Ascending='TRUE' /></OrderBy>
            <Where>
                <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
            </Where>
        </Query>
        <RowLimit>2000</RowLimit>
    </View>
    Thanks again.

    I was using code below to work with 700000+ items in the list.
    SPWeb oWebsite = SPContext.Current.Web;
    SPList oList = oWebsite.Lists["MyList"];
    SPQuery oQuery = new SPQuery();
    oQuery.RowLimit = 2000;
    int intIndex = 1;
    do
    SPListItemCollection collListItems = oList.GetItems(oQuery);
    foreach (SPListItem oListItem in collListItems)
    //do something oListItem["Title"].ToString()
    oQuery.ListItemCollectionPosition = collListItems.ListItemCollectionPosition;
    intIndex++;
    } while (oQuery.ListItemCollectionPosition != null);
    Oleg
    Hi Oleg, thanks for replying.
    The problem with the code you have is that your SPQuery object's QueryThrottleMode is set to default. If you run that code as a local admin no throttle limits will be applied, but if you're not admin you will still have the normal throttle limits. In my
    situation it won't be run as a local admin so the code you provided won't work. You can simulate my dilemma by setting the QuerryThrottleMode  property to SPQueryThrottleOption.Strict, and I'm sure you'll start to get SPQueryThrottledException's
    as well on that list of 700000+ items.
    Thanks anyway though

Maybe you are looking for

  • Enhance timing in garageband 3

    why does enhance timing not seem to work I follow the instructions but nothing happens. GB2 did the same. Any ideas?

  • HTTP ACCESS enabled but not to all

    Hi guys, Security question regarding HTTP access without managing it via firewall / VPN. I would like to have the access only for one ip (of my workstation) + the server itself. Can i modify some flows function / proc to achieve this? Maybe Dietmar c

  • Tecra A10 - BIOS updater doesn't work on Windows 7

    Upgrading BIOS for TECRA A10/M10 and Satellite Pro S300/S300M to version v1.90 using P0065v190.exe (bios-20090304141534) fails with message: "[Error] BIOS Update is not supported OS. Unsupported OS or service pack is installed." Note: Executing as an

  • What is the point and who is in charge of sending iphones to UAE without facetime

    why doesnt my phone have facetime and why apple as a world wide company would suggest two phones one for midle east with less features and another for the rest of the world ? arent we paying the same if not extra ? we pay for an iphone more than the

  • How to Dynamically add Search Criteria in Advance Search Region.

    Hi All, I want to understand how can we add Search Criteria dynamically in the Advance Search Region. The Requirement is to add 4 additional search criteria for an org_id in a multi org structure. For other business those fields should not be visible