Graphic Design Forum and Web Design Forum

Compare Web Hosting


Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »CSS Forum

Notices

CSS Forum Cascading Style Sheets (CSS) and XHTML Forum


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-01-2009, 08:36 PM
craigquik's Avatar
<--------->
 
Join Date: Oct 2007
Location: Aberdeen, Scotland
Gender: Male
Posts: 101
Default 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;
}
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote

  #2 (permalink)  
Old 08-01-2009, 08:39 PM
flick's Avatar
official g33k ®
 
Join Date: Aug 2007
Location: Manchester
Gender: Female
Posts: 3,111
Default

padding: none;
(i think)
____________________________


Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #3 (permalink)  
Old 08-01-2009, 08:58 PM
craigquik's Avatar
<--------->
 
Join Date: Oct 2007
Location: Aberdeen, Scotland
Gender: Male
Posts: 101
Default

Hmm...doesn't seem to be padding...
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #4 (permalink)  
Old 08-01-2009, 09:09 PM
SidekickWD's Avatar
Hangin with ceiling cat.
 
Join Date: Feb 2008
Location: Arizona
Gender: Female
Posts: 1,085
Default

Have a link?
____________________________

Fortune cookie says: "You will be successful, if you don't screw up."
SidekickWebDesign.com
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #5 (permalink)  
Old 08-01-2009, 10:05 PM
blueocto's Avatar
forum sniper
 
Join Date: Oct 2007
Location: Newcastle upon Tyne
Gender: Female
Posts: 3,633
Default

Are you sure it's not the images that have the white border? I've done that before *hangs head in shame*
____________________________

"I don’t take a p!ss without getting paid." - Harlan Ellison
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #6 (permalink)  
Old 08-01-2009, 10:06 PM
flick's Avatar
official g33k ®
 
Join Date: Aug 2007
Location: Manchester
Gender: Female
Posts: 3,111
Default

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
____________________________


Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #7 (permalink)  
Old 08-01-2009, 11:49 PM
SidekickWD's Avatar
Hangin with ceiling cat.
 
Join Date: Feb 2008
Location: Arizona
Gender: Female
Posts: 1,085
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #8 (permalink)  
Old 09-01-2009, 07:45 AM
PR Design's Avatar
CSS Wizardry
 
Join Date: May 2007
Location: Leeds, England
Gender: Male
Posts: 12,846
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #9 (permalink)  
Old 09-01-2009, 09:39 AM
craigquik's Avatar
<--------->
 
Join Date: Oct 2007
Location: Aberdeen, Scotland
Gender: Male
Posts: 101
Default

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... :)
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #10 (permalink)  
Old 09-01-2009, 09:41 AM
PR Design's Avatar
CSS Wizardry
 
Join Date: May 2007
Location: Leeds, England
Gender: Male
Posts: 12,846
Default

Ah, the outline is applied to li.image isn't it? And not the actual image. There's your issue I'd think.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
quick question eziemac Graphic Design and Web Design Help 5 25-09-2008 09:55 PM
quick and silly question gospastic Flash Forum 2 11-03-2008 04:04 PM
Quick Question... blueocto Graphic Design and Web Design Help 4 15-11-2007 02:32 PM
Quick question [newb question] snowy Graphic Design and Web Design Help 6 27-07-2007 11:08 AM



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

Create your own custom 2010 Calendars

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 | Design by Miner Skinz.com | Logo Design UK | Art Schools Online | Pressure Seal Printing | Vision.To Design

Colour Print | Graphic Design UK | Logo Design | Photography Blog | Brochure Design UK | Design Forum Links | Logo Design

Graphic Design Schools Online | Integrated Cards | Integrated Labels | Graphic Design | Logo Design | Graphic Design Social Network

Logo Design | Integrated Cards & Labels | Graphic Design Tutorials | Logo Designer | UK Logo Design Studio

Colour Printers, Web Design and Logo Design UK | Business Cards | Accident and Injury Claims Rotherham UK | Logo Design Blog

Funfair Hire, Carousel Hire, Carnival Hire in the UK | Web Designer Rotherham, Yorkshire, UK | Damp Proofing & Plastering, Dartford, Kent

Damp Proofing, Refurbishment & Plastering, London | Wedding Photography London, Wedding Photographer, Kent

Free Dating in Sheffield | Free Dating in Sheffield and Yorkshire Forum | Motorhome Rental and RV Hire Scotland | Vector Art Blog

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

All times are GMT. The time now is 10:35 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Estetica Design Forum's Privacy Policy