SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist ktown's Avatar
    Join Date
    May 2001
    Location
    toronto
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    margins in opera?

    hey all


    A.navstyle1:hover {
    FONT-SIZE: 12px; COLOR: #000000; FONT-FAMILY: "Verdana","Arial","Helvetica","sans-serif"; FONT-WEIGHT: bold; margin-left: 3px; TEXT-DECORATION: none }


    okay... it works perfectly in IE & NS but in opera it doesn't seet he margin-left: 3px portion... ? any way to fix this...

    at least opera doesn't disregard the rest of the code like nuttscrape would

    thx~nina

    ps. how do you guys do that thing where it indents your code and puts lines above & underneith it? (in your posts i mean)

  2. #2
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First off, that would be [©ode][/code] or [quote] [⁄quote]. In fact, I use one of them below. :-)

    Anyway, on to Opera--it uses padding instead of margins, so just add the padding property and you should be set:
    Code:
    padding-left: 3px;
    ~~Ian

  3. #3
    SitePoint Evangelist ktown's Avatar
    Join Date
    May 2001
    Location
    toronto
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    thanks :p


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
  •