Register
FAQ
Calendar
Search
Today's Posts
Rules
Guidelines
SMS enable your application
via Clickatell’s fast, simple and reliable API's, built to integrate with any system.
Click here
to learn more.
Flash Website Builder
- Trendy Site Builder is a Flash Site Building tool that helps users build stunning websites.
Check Out Custom
Custom Logo Design
by LogoBee. Website Design and Free Logo Templates available.
CodingForums.com
>
:: Client side development
>
HTML & CSS
Gap between DIV and IMG??!?!
User Name
Remember Me?
Password
Before you post, read our:
Rules
&
Posting Guidelines
Thread Tools
Rate Thread
Enjoy an ad free experience by logging in. Not a member yet?
Register
.
03-06-2008, 05:33 PM
PM User
|
#
1
the-dream
Regular Coder
Join Date: Mar 2007
Location: Northamptonshire, UK
Posts: 477
Thanks: 8
Thanked 4 Times in 4 Posts
Gap between DIV and IMG??!?!
Hey Guys!
I've been pulling my hair out over this one!
On:
http://www.rsspberry.com/v2/
There is a 2px line at the bottom of the white box! this is that box coming under the img! I cannot think of a way to get it to go away! Thanks!
CSS:
http://www.rsspberry.com/v2/css/styles.css
Thanks for any and all help!
~ The-Dream (Christian)
__________________
Branchr Advertising Network
the-dream
View Public Profile
Visit the-dream's homepage!
Find More Posts by the-dream
03-06-2008, 05:34 PM
PM User
|
#
2
Apostropartheid
The Apostate
Join Date: Oct 2007
Posts: 3,215
Thanks: 16
Thanked 265 Times in 263 Posts
Code:
img { display: block; }
__________________
Blog
|
Twitter
Useful links:
W3C HTML Validator
|
W3C CSS Validator
|
HTML 5 Guide
CF:
HTML & CSS Resources/Tutorials Thread
|
HTML & CSS Posting Rules and Guidelines
Remember: no link, no code, no help!
Users who have thanked Apostropartheid for this post:
the-dream
(03-06-2008)
Apostropartheid
View Public Profile
Visit Apostropartheid's homepage!
Find More Posts by Apostropartheid
03-06-2008, 05:38 PM
PM User
|
#
3
the-dream
Regular Coder
Join Date: Mar 2007
Location: Northamptonshire, UK
Posts: 477
Thanks: 8
Thanked 4 Times in 4 Posts
OMFG, I can't believe I didn't think of that! Sorry for the trouble, and thanks a lot!
Thanks++
__________________
Branchr Advertising Network
the-dream
View Public Profile
Visit the-dream's homepage!
Find More Posts by the-dream
03-06-2008, 10:26 PM
PM User
|
#
4
Dan Schulz
New Coder
Join Date: Mar 2008
Location: Aurora, Illinois
Posts: 61
Thanks: 2
Thanked 6 Times in 6 Posts
Quote:
Originally Posted by
CyanLight
Code:
img { display: block; }
Actually that will neuter inlined images (such as smileys). A better alternative would be to set the vertical-align property to bottom. Here's an example (that also kills the border that appears around images inside links in Firefox).
Code:
img { border: 0; vertical-align: bottom; }
Dan Schulz
View Public Profile
Visit Dan Schulz's homepage!
Find More Posts by Dan Schulz
03-06-2008, 10:57 PM
PM User
|
#
5
VIPStephan
The fat guy next door
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,699
Thanks: 5
Thanked 875 Times in 850 Posts
Quote:
Originally Posted by
the-dream
There is a 2px line at the bottom of the white box! this is that box coming under the img! I cannot think of a way to get it to go away! Thanks!
Wanna know why?
http://developer.mozilla.org/en/docs...ysterious_Gaps
__________________
Don’t click this
link
!
VIPStephan
View Public Profile
Visit VIPStephan's homepage!
Find More Posts by VIPStephan
Bookmarks
del.icio.us
StumbleUpon
Google
Digg
Jump To Top of Thread
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Rate This Thread
Rate This Thread
:
5 : Excellent
4 : Good
3 : Average
2 : Bad
1 : Terrible
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
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
:: Client side development
JavaScript programming
DOM and JSON scripting
Ajax and Design
JavaScript frameworks
Post a JavaScript
HTML & CSS
XML
Flash & ActionScript
Adobe Flex
Graphics and Multimedia discussions
General web building
Site reviews
Building for mobile devices
:: Server side development
Apache configuration
Perl/ CGI
PHP
Post a PHP snippet
MySQL
Other Databases
Ruby & Ruby On Rails
ASP
ASP.NET
Java and JSP
Other server side languages/ issues
ColdFusion
Python
:: Computing & Sciences
Computer Programming
Computer/PC discussions
Geek News and Humour
Web Projects and Services Marketplace
Web Projects
Small projects (quick fixes and changes)
Medium projects (new script, new features, etc)
Large Projects (new web application, complex features etc)
Unknown sized projects (request quote)
Vacant job positions
Looking for work/ for hire
Project collaboration/ partnership
Paid work offers and requests (Now CLOSED)
Career, job, and business ideas or advice
Domains, Sites, and Designs for sale
Domains for sale
Websites for sale
Design templates and graphics for sale
:: Other forums
Forum feedback and announcements
All times are GMT +1. The time now is
05:59 PM
.
Advertisement
Log in to turn off these ads.
Web Hosting UK
|
Dedicated Server Hosting
|
Shareware Junction
|
Software Geek
|
Flash file uploader
|
Cloud Server
|
Web Hosting Australia
Home
-
Contact Us
-
Archives
-
Link to CF
-
Resources
-
Top
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.