How do I remove automatic margins when using list tags?

Hi there,
i'm trying to create a list of links on my webpage using Dreamweaver CS4. I've created a .li tag using CSS so that no bullets/numbers show up and i've then created .ul a:link, ul a:hover etc compound tags to make all list items into rollovers.
However, the text in the lists indents automatically (as if I have set some sort of margin) and is thus, out of line with the text above it. No margin/padding is set in any of the CSS elements so I am confused.
Any help would be appreciated.

yeah sure...
code:
</head>
<body class="twoColFixLtHdr">
<div id="container">
  <div id="header"><img src="../images/navbar_footer/navbar_ips.gif" alt="International Project Space" width="334" height="90" border="0" /><img src="../images/navbar_footer/navbar_ex.gif" width="128" height="90" alt="IPS- Exhibitions" /><img src="../images/navbar_footer/navbar_pro.gif" width="148" height="90" alt="IPS- projects" /><img src="../images/navbar_footer/navbar_info.gif" width="142" height="90" alt="IPS- Info" /></div>
  <!-- end #header -->
  <div id="sidebar1"><!-- end #sidebar1 -->
  </div>
  <div id="mainContent">
  <ul>
    <li><a href="../index.html">Current</a></li>
    <li><a href="../index.html">Forthcoming</a></li>
    <li><a href="../index.html">Archive</a></li>
    <li><a href="../index.html">NOICES</a></li>
  </ul>
  <!-- end #mainContent --></div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
<br class="clearfloat" />
  <div id="footer"><img src="../images/navbar_footer/footer.gif" width="193" height="80" alt="IPS- Contact Us" />
  <!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>
CSS:
@charset "UTF-8";
body  {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #666666;
margin: 0;
padding: 0;
text-align: center;
color: #000000;
.twoColFixLtHdr #container {
width: 780px; 
background: #FFFFFF;
margin:0 auto;
text-align: left;
.twoColFixLtHdr #header {
margin: 0;
background: #FFFFFF;
padding: 0 0px 0 0px; 
.twoColFixLtHdr #header h1 {
margin: 0;
padding: 0px 0;
.twoColFixLtHdr #sidebar1 {
float: left;
width: 334px;
background: #FFFFFF;
padding: 0px;
height: 529px;
.twoColFixLtHdr #mainContent {
margin: 0 0 0 334px;
padding: 0 7px;
.twoColFixLtHdr #footer {
background:#FFFFFF;
width: 334px;
padding-top: 0;
padding-right: 10px;
padding-bottom: 0;
padding-left: 0px;
.twoColFixLtHdr #footer p {
margin: 0;
padding: 10px 0;
.fltrt {
float: right;
margin-left: 8px;
.fltlft {
float: left;
margin-right: 8px;
.clearfloat {
clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
ul a:link {
font-family: "Courier New", Courier, monospace;
font-size: 12px;
color: #000;
text-decoration: none;
ul a:visited {
font-family: "Courier New", Courier, monospace;
font-size: 12px;
color: #000;
text-decoration: none;
ul a:hover {
font-family: "Courier New", Courier, monospace;
font-size: 12px;
color: #F00;
li {
list-style-type: none;

Similar Messages

  • How can I remove print margins when manually setting them to zero doesn't work?

    I'm trying to print a web page that I've created with a custom paper size of 4.5x10.25 inches. I want the page to be printed right to the edge of the paper, with no margins at all.
    I've been reading for a few days and the best thing I can find is to use Mac's Page Setup dialog to create a custom paper size and custom margins, which I've done and set to the default for all of my printers. (Hopefully I'm able to post links to images --> http://i.imgur.com/kVbOZLk.png). No matter what I do though I can't get the margins to go away. There's always always always a .75 inch margin when I print and when I print preview (Again, hoping I can post links to images --> http://i.imgur.com/cxlVS8o.png). Just to note: The same thing happens printing other websites and documents (i.e it is not a problem with my website).
    Things I've tried:
    I've read that the margins are only visible in print preview and printing the page will remove them. This didn't work.
    I've tried tricking the system by setting my margins to 0.01 inches
    I've tried adjusting the website to not be exactly the size of the page (I made it smaller) and the margins were still there.
    I've set "print.print_extra_margin" to 0 in Firefox's about:config page.
    I've tried a different printer.
    I've tried a co-worker's machine running a newer version of OSX.
    I've made absolutely sure that my page size it set correctly.
    I'm using OSX 10.6.8 with Firefox v21.0.
    The closest I can come to this is using Google Chrome, where there is a specific option for "none" in margins and the Chrome preview looks okay, but I'm not able to specify paper size unless I click "Print using system dialog" which gives me the same problems as above.
    How do I remove the margins and just fit to the exact size of the page?

    Welcome to Apple Support Communities. We're all users here.
    Does your Print dialog offer photo 'borderless printing' settings for various paper sizes?
    Every photo printer I've ever encountered leaves some unprintable margin, unless 'borderless' and/or 'photo' media are specifically selected.
    On many of the Canon inkjet color printers I've used, borderless printing is only available when one of the photo papers is selected, even when a custom size specified that is smaller than the actual paper, trying to make it 'borderless'
    I stitch together and print panoramas of theatre sets for my local community theater, so I end up with an image about 4.5 inches by 11.5 inches to be printed.
    Selecting a photo and opening in Preview and selecting 'Fill Entire Paper' illustrates the standard unprintable borders for my specific printer.
    When I open the panoramic image in Preview, I get this print preview. (The set image is of course rotated left)
    By selecting Letter and Borderless in the Paper Size dialog for my Canon MG5320 printer, I get this result.
    This particular Canon printer of course does NOT actually 'know' what paper is inserted, but the ink is applied assuming that a photo paper is being used, so it will saturate a standard paper.
    Hope this helps!
    Message was edited by: kostby

  • How do I remove a number sequence using batch rename

    Hi
    I know I've done this in the past but cannot seem to work it out today.
    I have a series of images "_####_[layercompName].png".  I would like to remove the underscores and numbers.  The underscores removal is easy, but how do I remove the numbers (####) when they are different for each filename?  I would like the end result to be [layercompName].png
    The reason I have these filenames in the first place is that I have run the photoshop script "layer comps to files", and this adds a number sequence prefix.  I have tried to alter the script following various instructions I've found from trawling the internet (this one included How do you remove the number sequence when exporting layer comps to files? CS6. Windows 8.) but without any luck.  So now I'm resorting to batch renaming in Bridge.
    Thanks!

    Here you go, taken straight from: DesignEasy: How to Remove Sequence Numbers and Empty Spaces When Exporting Layers and Layer Comps
    Run Adobe Bridge and navigate to the folder with exported files.
    Select all files which have sequence numbers.
    Go to Tools > Batch Rename.
    Choose: String Substitution from the first drop-down list in New Filenamessection. From the second drop-down choose: Original Filename. In the Find: text field type: _\d{4}_ (underscore, backslash, letter d, open bracket, number four, closed bracket, underscore). Leave Replace with: text field blank. Ensure that you have Replace All and Use Regular Expression checked as shown on the screenshot below.
    Click on the Preview button in the top right corner and ensure that files will be renamed as you want.
    Click on Rename button and you are done.
    In case you are first time doing this and you still have doubts if everything will work as expected, check Copy to other folder option when renaming files. This option is located near the top left corner under: Destination Folder.
    Another thing I want to mention is to remove everything that you have below String Substitution options. In case you see additional renaming options just click on minus (-) sign on the right side to remove them.
    How to remove/substitute empty spaces in the file name using Adobe Bridge
    It is pretty similar process. The only difference is that you should type: \s (backslash followed with letter s) in the Find: text field. You can leave Replace with: text field blank or to type underscore.

  • How can I remove unread messages when I know I don't have any?

    How can I remove "unread messages" when I know I do not have any?

    Hit the num lock button again. Num lock forces only the numeric keypad underlying keys to work as a  numeric keypad, and the rest of the keyboard won't work.  Unfortunately Apple stopped including the numeric keypad hidden keyboard key labels on its keyboards.  They used to include them.  They are known as mouse keys: http://docs.info.apple.com/article.html?path=Mac/10.5/en/cdb_moskys.html

  • How can we get ADFSecurity work when used in OC4J, OID and OAM?

    I am getting error in http server log "mod_oc4j: Response status=499 and reason=Oracle SSO, but failed to get mod_osso global context."
    But I am not using Oracle SSO and my client doesn't want to use it either, I am using OAM SSO(CoreIDSSO) in my configuration. Please read the details below.
    I am using ADFSecurity in an app that is protected by OAM. To migrate ADFSecurity permissions from
    system-jazn-data.xml to OID, I used JAZNMigrationTool to populate OID with Grantees and Permissions. OAM gives login page, and authentication works fine.
    But ADFSecurity is not working. ADFComponent Delete button is enabled even for roles that dont have permissions for the iterator delete.
    - The app works fine when I use without OAM. ADF Security permissions work fine.
    - The app works fine when used with OAM, but with ADFSecurity disabled (enforce=false).
    - When I enforce ADFSecurity alongwith OAM, ADFSecurity is not working.
    In the doc "Oracle Containers for J2EE Security Guide b28957", there is a mention of use of CoreIDPrincipal for permissions. Our OID Permissions entries show
    LDAPRealmRole for attribute orcljaznprincipal. I am not sure if this could be the reason.
    We have configured AccessServerSDK for the SOA instance and have policy for the urls in the policy manager. We have entries in orion-application.xml, orion-web.xml and system-jazn-data.xml as per the documentations.
    How can we get ADFSecurity work when used with OID and OAM?

    Have you been able to successfully integrate OAS with OAM & OID? We have similar requriement and so far we have not been able to get it working.
    We have application specific roles which we map to OID roles using orion-application.xml.
    Any pointers to achieve this would be greatly appreciated.
    thanks,
    Dipal

  • How do I manage Lightroom photos when using 2 computers, keeping all edits made on either one?

    Based on http://forums.adobe.com/thread/1308132?tstart=0 I decided to add each question seperately:
    Hello, I'm quite interested in buying Lightroom 5.2. I tried the RC which ran out now. Yet, I have a several questions that I can't really find good conclusive answers to, that I'd like to get answered before buying LR. Please don't write maybe like this or that (assumptions), since I don't want to start my whole workflow and then realize that I have to change everything around, so please answer, if you know for sure that something works and you are, preferably, using that method too.
    This is the biggest question, where I mainly want a conclusive answer:  How do I manage Lightroom photos when using 2 computers, keeping all edits made on either one of them, using the same photos for editing. I won't use DNG. Details: I mainly use my older MacBook Pro, but would like to be able to use my PC as it's way better (Specs: i5 2500K, 16GB RAM, SSD, USB3, nVidia GTX 560 TI etc.). I have 2 external HDs that I could use, one for Backup and one for the actual Photos/Edits. I'll probably need to use it as my internal HDs are quite full, and I can't just delete stuff or move it to an (Developer programs, Lossless music, etc.).
    Based on this, how do I back up the whole thing e.g. Photos folder (all photos and edits, and preferably presets too)?

    I believe it should be possible to work cross-platform without having to relink files each time, or without having to keep exporting/importing the catalog, by keeping the single catalog and the image library on the one external drive which is then switched between systems as needed.
    Obvious first requirement is an external drive that is formatted in such a way (e.g FAT32) that it can be used on both platforms in read/write mode. Given that, if the catalog AND the images parent folder are both established at the same level in one overall parent folder, then it should be possible to take advatage of Lightroom's ability to use relative paths rather than absolute paths to detect the images, no matter if the drive is named (Mac) or lettered (PC). This is how "export as Catalog" works, i.e. it creates a "package", aka a parent folder, containing the catalog and a replica of the exported images folder hierarchy alongside the catalog. Take that "package" to another system (same OS or not) and "it just works" even if the drive letter is different or the OS is different....because the relative path from catalog to images is still the same.
    I haven't tested this cross-platform (though I have between different PC systems with different drive letters) so for me it's still just a theory, but there may be others who have done this successfully.

  • How do I close a JInternalFrame when using subclasses and a separate cla...

    The heading should be: How do I close a JInternalFrame when using subclasses and a separate class for the actionListener?
    I have just created a JInternalFrame appclication and now I want to structure up my code. I have a Superclass that contains the usual settings for the two JInternalFrame:s, and the two subclasses with frame specific information. Both the JInternalFrames use the same OK button. I want to have the actionListener outside the classes to avoid repetition of code. But the dispose()-function does not work properly, it does not close the opened JInternalFrame. What�s wrong?
    class Superclass extends JFrame
         JButton b= new JButton("ok");    
         Superclass()
    class Subclass1 extends Superclass
         Subclass1 ()
              add(ok);
           ok.addActionListener(new Listener());
    class Subclass2 extends Superclass
         Subclass2 ()
              add(ok);
           ok.addActionListener(new Listener());
    class Listener extends Superclass implements ActionListener
         public void actionPerformed(ActionEvent e)
                   dispose();
    }How do I controll in the Listener class that the button in Subclass1 is beeing pressed?

    First of all I think I misunderstood your question. You said you had two internal frames, so I thought you wanted to close the internal frame.
    It now looks to me like you want to close the entire JFrame, which makes the code even a little easier. Something like:
    JComponent component = (JComponent)event.getSource();
    JFrame frame = (JFrame)SwingUtilities.windowForComponent( component );
    frame.dispose();
    Ok, I will make a try:
    public static Container getAncestorOfClass(Class c, Component comp)
    w.getAncestorOfClass(w, this); Fiirst you need to learn the basics of reading the API.
    "getAncestorOfClass()" is a static method. That means you don't use a variable to invoke the method. You use the class itself.
    "w" is a variable, which is a JFrame, but that is not what the first parameter should be. The first parameter is a "Class".
    "this" will refer to your Listener class, but you need the Component that generated the ActionEvent.
    When I thought you wanted to close an internal frame then the code would have been something like:
    JComponent component = (JComponent)event.getSource();
    Container container = SwingUtilities.getAncesterOfClass( JInternalFrame.class, component );
    JInternalFrame internalFrame = (JInternalFrame)container;
    internalFrame.invokeSomeMethodHere();If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)", that demonstrates the incorrect behaviour.
    http://homepage1.nifty.com/algafield/sscce.html

  • How do I stop system sounds when using AirPlay on my MacBook Pro?

    Hi all,
    Probably a quick question, but I'm fairly new to Macs. I've a Macbook Pro 13 Late 2011 and now I've got an Apple TV, I use AirPlay. But how do I stop system sounds when using AirPlay?
    Many thanks in advance, Jon.

    Open AirPort Utility located in HD > Applications > Utilities
    From the AirPort Utility menu bar click AirPort Utility > Preferences
    Deselect:   Monitor AirPort base stations for problems

  • How can we remove a specific hyperlink using Acrobat X Pro ?

    How can we remove a specific hyperlink using Acrobat X Pro ?

    If the link is a real annotation in the file, just switch to the link tool in Acrobat, select it and press Delete.
    The Acrobat Family will, by default, scan all the text in a PDF file and temporarily make any URL or email address into a hotlink. You cannot stop that from happening as it's a preference on the client side; the only solution would be to break the pattern by adding a hairline space next to the colon or the @ symbol.

  • How do I remove the hover when I run the click of a second button?

    Good Morning,
    I found half the solution to my problem, that is, the part about the hover state to click on the button:
    1) I converted my Button in ToggleButton
    2) I have added this Style based Triggers:
    <Style TargetType="ToggleButton" x:Key="checkedToggle">
    <Style.Triggers>
    <Trigger Property="IsChecked" Value="True">
    <Setter Property="Background" Value="#5fc3f3"/>
    </Trigger>
    </Style.Triggers>
    </Style>
    To click the button keeps the "hover", the second click will remove.
    Now the other problem: how do I remove the hover when I run the click of a second button?
    Thank You.

    >>Now the other problem: how do I remove the hover when I run the click of a second button?
    You simply set the IsChecked property of the first button to false when the second button is clicked:
    <ToggleButton x:Name="firstButton" IsChecked="True" Style="{StaticResource checkedToggle}">...</ToggleButton>
    <ToggleButton Checked="ToggleButton_Checked" Unchecked="ToggleButton_Unchecked">...</ToggleButton>
    private void ToggleButton_Checked(object sender, RoutedEventArgs e)
    firstButton.IsChecked = false;
    private void ToggleButton_Unchecked(object sender, RoutedEventArgs e)
    firstButton.IsChecked = false;
    Please remember to mark close your threads by marking helpful posts as answer and please start a new thread if you have a new question. Please don't ask several questions in the same thread.

  • How can I customize the toolbar when using the attribute browser

    In CVI 2012, the toolbar changes depending on the environment, e.g. it is different for the source window and the UI editor. The toolbar can be customized using the menu Options / Toolbar...
    Unfortunately, when using the attribute browser of the UI editor, another toolbar is displayed, i.e. not the UI editor toolbar.... I would have assumed that the attribute browser belongs to the UI editor, obviously it doesn't... So how can I customize the toolbar when using the attribute browser?
    Solved!
    Go to Solution.

    Luis,
    It's nice to have you back 
    Thank you for the clarification, so I'll elaborate a bit more: In the regular workspace toolbar, I have a disk symbol to save the file. This symbol is gone in the attribute browser...
    So I have three different toolbars, for source code (workspace), UI editor, and the UI editor displayed but the attribute browser clicked on (selected)... 
    Thanks
    Wolfgang
    Source code:
    UI editor:
    Attribute browser:

  • HT201371 How can I remove touch ID when the handset is turned off?

    How can I remove touch ID when the handset is turned off?

    Off it off. The only thing you can do when the phone is off is turn it on either by plugging it into power or by pressing the power button...
    Please rephrase the question.

  • How do i remove a old never used icloud account from my iphone that has never been vif, how do i remove a old never used icloud account from my iphone that has never been vif

    how do i remove a old never used icloud account from my iphone that has never been vif, how do i remove a old never used icloud account from my iphone that has never been vif and the email is not used

    Hi BJEast,
    If you are having issues changing or removing an old iCloud account from your device, you may find the following article helpful:
    iCloud: Account troubleshooting
    http://support.apple.com/kb/ts3988
    Regards,
    - Brenden

  • HT4314 how do you remove friends from your friend list

    how do you remove friends from game center list

    I am having the same problem! And I dont understand why they changed things in Game Center...I believe it was back with the ios 6 or 7 update and the whole look changed. There is no place in the app to change things if  you want to, like picture or anything. All you can do is add a "status" which I personally find ridiculous.
    My bigges issue is that I have a friend who does NOT play a certain game anymore. This friend is taking up space in an area that I would like to fill with someone who DOES play and when I went through the motions of "unfriending" it takes them out of my list on Game Center but they are STILL there on the game in question. Makes no sense. Gone should be gone. There is no web site for Game Center and no real place to address these issues...

  • How do I remove my iPhone 3G from list of stolen phones?  It was stolen and then returned.

    How do I remove my iPhone 3G from list of stolen phones? I reported it to Apple as stolen and it was blacklisted so that whoever stole it would not be able to register it with apple.  The phone was returned to us 3 weeks later.

    Apple does not blacklist devices and has no list.
    " Apple does not have a process to track or flag lost or stolen product "
    http://support.apple.com/kb/HT2526

Maybe you are looking for

  • Parent child relation using query

    Hi, If i pass one parameter as a parent.It will retrieve all the child and subchild... but it will be retrieved by one single query. Is it possible?If possible pls give me an idea. I got the inner most child using stored procedure and recursive fn. B

  • Inbound Service Interface without Input Request Message

    Is it possible to create an Inbound Service Interface without Input Request Message?  We are trying to create a web service to get all records from a database table hence no input parameter is needed.  We have tried in both XI 7.0 and PI 7.1 but coul

  • BPC 7.5 compatability BW 7.3

    Hi, We are intending to setup BPC 7.5 with BW 7.3 since BPC 10.0 is not yet in available for General Release.  Is this approach recommended? Regards, Mark

  • ShoeDocument

    Any suggestions why this SUN's example doesn't work for me. There is no browser window displaying the requested site: http://java.sun.com/docs/books/tutorial/deployment/applet/browser.html

  • Need help with SQL conditions

    Hi All, I have a requirement to split the below query based on conditions. This should be done in SQL. SELECT cv.chr_val_code MOD_CODE,        cv.chr_val_id MOD_ID,        f_char_value_dscr(cv.chr_val_id, 4,1) MOD_DSCR,        f_char_value_dscr(schsg