+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 16

Thread: Quick question...

  1. #1
    <---------> craigquik's Avatar
    Join Date
    Oct 2007
    Location
    Aberdeen, Scotland
    Posts
    101

    Quick question...

    Hey

    I've used CSS to put a 1px border round a few photos but there's a 2px gap between the photo and the border along the bottom edge.

    Any idea what's causing this?

    My CSS is:

    .image {
    outline: 1px solid;
    margin-right: 50px;
    }


  2. #2
    official g33k and RHCT ® flick's Avatar
    Join Date
    Aug 2007
    Location
    Manchester
    Posts
    3,594
    padding: none;
    (i think)

  3. #3
    <---------> craigquik's Avatar
    Join Date
    Oct 2007
    Location
    Aberdeen, Scotland
    Posts
    101
    Hmm...doesn't seem to be padding...

  4. #4
    Hangin with ceiling cat. SidekickWD's Avatar
    Join Date
    Feb 2008
    Location
    Arizona
    Posts
    1,160
    Have a link?
    Fortune cookie says: "You will be successful, if you don't screw up."
    SidekickWebDesign.com

  5. #5
    Forum Sniper™ blueocto's Avatar
    Join Date
    Oct 2007
    Location
    Newcastle upon Tyne
    Posts
    5,251
    Are you sure it's not the images that have the white border? I've done that before *hangs head in shame*

  6. #6
    official g33k and RHCT ® flick's Avatar
    Join Date
    Aug 2007
    Location
    Manchester
    Posts
    3,594
    Quote Originally Posted by blueocto View Post
    Are you sure it's not the images that have the white border? I've done that before *hangs head in shame*
    haha, bless :D

  7. #7
    Hangin with ceiling cat. SidekickWD's Avatar
    Join Date
    Feb 2008
    Location
    Arizona
    Posts
    1,160
    Quote Originally Posted by blueocto View Post
    Are you sure it's not the images that have the white border? I've done that before *hangs head in shame*
    That's actually what I was wondering, why I wanted to see the link. I can't figure any other reason there would be a border.
    Fortune cookie says: "You will be successful, if you don't screw up."
    SidekickWebDesign.com

  8. #8
    CSS Wizardry Harry's Avatar
    Join Date
    May 2007
    Location
    Leeds, England
    Posts
    13,881
    Dunno without looking, but is there a reason why you're using outline:; over border:;? It looks essentially the same but renders differently, which may (or may not) be causing your problem.

  9. #9
    <---------> craigquik's Avatar
    Join Date
    Oct 2007
    Location
    Aberdeen, Scotland
    Posts
    101
    Quote Originally Posted by blueocto View Post
    Are you sure it's not the images that have the white border? I've done that before *hangs head in shame*
    Haha I'm absolutely sure!

    link: Sam Brill Photography

    PR - I'll try using border instead.

    Please note that I've only spent an hour or 2 on it so far so spacings aren't sorted out etc... :)

  10. #10
    CSS Wizardry Harry's Avatar
    Join Date
    May 2007
    Location
    Leeds, England
    Posts
    13,881
    Ah, the outline is applied to li.image isn't it? And not the actual image. There's your issue I'd think.

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Similar Threads

  1. quick question
    By eziemac in forum Graphic Design and Web Design Help
    Replies: 5
    Last Post: 25-09-2008, 09:55 PM
  2. quick and silly question
    By gospastic in forum Flash Forum
    Replies: 2
    Last Post: 11-03-2008, 05:04 PM
  3. Quick Question...
    By blueocto in forum Graphic Design and Web Design Help
    Replies: 4
    Last Post: 15-11-2007, 03:32 PM
  4. Quick question [newb question]
    By snowy in forum Graphic Design and Web Design Help
    Replies: 6
    Last Post: 27-07-2007, 11:08 AM

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


The Graphics Forum Web Design Stuff Free Decent Downloads Free Quality Wallpapers Graphics Forum Free Vista Themes
The Top The Best Images Tech Talk 247 Logo Design - $149 Affordable Stock Vector Illustrations Creativecurio - Design Blog Graphic Design Advertising

Check the forum often for the latest design announcements. Everything from graphic design and web design, to films and music. Estetica is a great place for people to get together and help each other out.



Web Hosting - UK Web Hosting services for business or personal website hosting needs.

Dedicated Servers - A full range of Managed Dedicated Server solutions suitable for all your requirements.

Graphic Design Blog | Web Design Forum | Graphic Design and Print Forum | Graphic Design Links | Advertise On This Site

Web Design UK | Vision.To Design | Leaflet Printing | Estetica Design Forum's Privacy Policy

Flyer Printing | Photography Blog | Design Forum Links | Logo Design | Graphic Design Social Network | Logo Design

Graphic Design Tutorials | Logo Designer | UK Logo Design Studio | Land for sale | Vector Art Blog | Leaflet Printing

Free Web Hosting | Custom Logo Design - $149 Only | Affordable Print Design Templates | Small Business Logo Design | Company Logo Design

Logo Design Service | Logo Design Firm | Logo Design Reseller | Custom Logo Design | Letterhead Printing | Flyer Printing | Business Card Printing

Printing | Leaflet Printing | Online Backup | T-Shirt Printing | Personalised Mugs | Canvas Printing | Free Web Hosting Comparison Site