Results 1 to 4 of 4

Thread: How to get Image Positioning In CSS

  1. #1
    Join Date
    Apr 2008
    Posts
    264

    How to get Image Positioning In CSS

    I have been playing with an IE-only stylesheet trying to align the relevant tags to get the image positioned properly but nothing is working, I have a class that puts an arrow image, which should line up with the right edge of the white border. In simple language my image will not align how I want it so how do I align it.

  2. #2
    Join Date
    Jan 2006
    Posts
    7,109

    Re: How to get Image Positioning In CSS

    I'm not sure exactly what you mean but if you take the background off the <a> and .currentpage and put the following on the <li> you get something maybe closer to what you want. But as per my understanding about the Positioning in CSS is as per the 'entry' class, the tag is superfluous. At any rate, I would think adding padding to this div would push the text in the div down as well so there would still be mismatch.

  3. #3
    Join Date
    Jan 2009
    Posts
    99

    Re: How to get Image Positioning In CSS

    Does the banner company use a z-index you have to almost counteract? OR can you absolutely position it? It looks like you have one list for your nav items, and another list for your arrows. You could combine these and make your life a bit easier. The idea is that your li elements themselves are wide enough to show the arrows.

  4. #4
    Join Date
    Feb 2008
    Posts
    129

    Re: How to get Image Positioning In CSS

    I am able to solve my own problem. The difference between the two links provided above was that one had a br tag while the other did not. In my CSS file, One more thing I have set the z-index of the a to -1 to go behind the black area. I coded a break statement for ALL br tags, so it causes it do act weird. as you have seen from the CSS, I have remove the h1 that contains the anchor in which the logo exists. So for that, remove the h1 tag surrounding the logo.

Similar Threads

  1. Utility for mouse cursor positioning
    By Diamond! in forum Windows Software
    Replies: 3
    Last Post: 15-10-2011, 07:24 AM
  2. Nokia E72 GPS Positioning Method
    By Manish M. Singh in forum Portable Devices
    Replies: 3
    Last Post: 27-11-2010, 01:29 AM
  3. Menu block positioning problem
    By AdityaR in forum Software Development
    Replies: 5
    Last Post: 05-01-2010, 12:55 PM
  4. Css positioning a div at bottom of window
    By kirti in forum Software Development
    Replies: 4
    Last Post: 05-11-2009, 09:34 AM
  5. How to set the Dynamic positioning of an image in JSP
    By Fragman in forum Software Development
    Replies: 3
    Last Post: 23-09-2009, 01:04 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,255,079.68616 seconds with 16 queries