Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy My images won't go side by side

    Hi there all!
    I feel so embarrased asking this but I need help!
    On my website I have a gallery but the images won't go side by side and over lap each other loads.

    http://www.dreadfallhair.co.uk/gallery.html

    I've fiddled with the CSS and asked some other friends but they have no clue what I need to do either

    Thanks and all answers are greatly appreciated

    EDIT: Forgot to mention that after you have visted the pictures the thumbnails go side by side :S
    Last edited by kezerb; 05-28-2009 at 09:26 PM. Reason: Added more info

  • #2
    New Coder
    Join Date
    May 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not sure if this will help, but you have a bunch of <li> elements by themselves. Those really should be in a <ul>.

    Due to the odd behaviour (that they fixed themselves after being visited), you might want to look at what styles you have applied to anchors.

  • #3
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,955
    Thanks
    9
    Thanked 726 Times in 720 Posts
    Your css has:

    Code:
    .verticalmenu li, a:link, .verticalmenu a:visited, .verticalmenu a:hover  {
    display : block;
    font : bold 1.1em Verdana, Arial, Helvetica, sans-serif;
    color : #9a1212;
    text-decoration : none;
    width : 196px;
    height : 27px;
    }
    Try replacing the red text with

    .verticalmenu a:link

    You are applying a different style to visited links than to unvisited linkes - which explains what you're experiencing.

    You also have some markup errors.
    Last edited by SB65; 05-29-2009 at 10:25 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •