SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast AdamZman's Avatar
    Join Date
    Oct 2004
    Location
    jersey C.I.
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post <li> problems with Opera 7.54

    right hi guys and girls new to the forum but thought i would ask a question

    i have created a list of images and i want them to have a margin/padding of 5px at the bottom of all of the but i have got it to work on IE6 and Mozilla 1.7.3 but with Opera 7.54 it just seems do nothing

    and sagestions on how to get a margin/padding on the li's in Opera 7.54???

    HTML CODE:
    HTML Code:
    <div id="takecontrol">
    <ul>
    <li><a href="/"><img src="Images/updateyoursite.gif" alt="UPDATE YOUR WEBSITE EASILY"></a></li>
    <li><a href="/"><img src="Images/limitcontent.gif" alt="LIMIT CONTENT TO CERTAIN PEOPLE"></a></li>
    <li><a href="/"><img src="Images/driveenquiries.gif" alt="DRIVE ENQUIRIES"></a></li>
    <li><a href="/"><img src="Images/hostyoursiteoffshore.gif" alt="HOST YOUR SITE OFFSHORE"></a></li>
    </ul>
    </div>
    CSS CODE
    HTML Code:
    #takecontrol
    {
    margin:0;
    padding:0;
    float:left;
    width: 321px;
    height: 58px;
    margin-top: 73px;
    }
    
    #takecontrol ul
    {
    margin:0;
    padding:0;
    }
    
    
    #takecontrol li
    {
    display:inline;
    padding-bottom: 5px;
    margin-bottom: 5px;
    }
    looks like this in IE and mozilla


    but looks like this in Opera



    Thanks Adam
    Last edited by AdamZman; Oct 7, 2004 at 13:27.

  2. #2
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    OKC
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    have you tried adding the 5px to the images? you have an ID in the css but none in the markup, I assume that was just a hasty posting mistake? If that ID is indeed there you should be able to get a handle on the imgs inside and try that out

  3. #3
    SitePoint Enthusiast AdamZman's Avatar
    Join Date
    Oct 2004
    Location
    jersey C.I.
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes sorry posting to fast

    added ID
    ~Adam~


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
  •