• Resolved prazim

    (@prazim)


    There is something in my style.css file which is indenting anything hyperlinked. What is the code in the CSS that defines how to position hyperlinked images?

    Thanks!
    Sue

Viewing 6 replies - 1 through 6 (of 6 total)
  • Try looking for something like this (varies from theme to theme):

    a { }
    a:link { }
    a:visited { }
    a:hover { }

    Thread Starter prazim

    (@prazim)

    ok, I found that, but adding margin:6px doesn’t change the position of my hyperlinked images. My issue is with the right sidebar. Here is the related CSS:
    #right h2 {
    color: #fff;
    background: #6A829E;
    font-family: verdana, “Microsoft Sans Serif”, Times, serif;
    font-size: 8pt;
    padding: 3px 6px;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #fff;
    }

    #right p {padding:0; margin: 0 6px 0 12px;}

    #right a {display: block; color: #6A829E; text-decoration: none; padding: 0 6px 0 12px; margin: 0; line-height: 14pt;}
    #right a:hover {color: #333; text-decoration: underline;}

    #right ul {
    margin:0 0 12px 0;
    padding:0;
    list-style:none;}

    #right ul li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    }

    #right ul ul {}

    #right ul ul li {}

    many thanks,
    Sue

    #right a {display: block; color: #6A829E; text-decoration: none; padding: 0 6px 0 12px; margin: 0; line-height: 14pt;} does changing the 12px do anything for you?

    Thread Starter prazim

    (@prazim)

    Actually, yes! that definitely shifts things to the left, but it shifts everything that is hyperlinked, and I only want to move the hyperlinked images. Is there a way to limit it to just them?

    #right a img { margin-left: -6px; }

    Does that move just the images over a bit?

    Thread Starter prazim

    (@prazim)

    oh! you are an absolute CSS angel!! That’s it!

    Thank you abundantly!!

    Sue

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CSS for hyperlinks’ is closed to new replies.