Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-06-2010, 06:09 AM   PM User | #1
BlackReef
Regular Coder

 
Join Date: Apr 2010
Posts: 193
Thanks: 100
Thanked 1 Time in 1 Post
BlackReef is an unknown quantity at this point
Can't find where to remove this 1px border in CSS! please help, thank you

Hello,

I have an issue that I can't quite resolve. I have used Firebug, Google Chrome tools etc and I can not find why there is a 1px space on a certain part of a website



This '1px' line shows on all category, sub-category and product details page.

Any help would be greatly appreciate, thank you very much

Last edited by BlackReef; 05-06-2010 at 09:38 AM..
BlackReef is offline   Reply With Quote
Old 05-06-2010, 08:31 AM   PM User | #2
effpeetee
Senior Coder

 
effpeetee's Avatar
 
Join Date: Feb 2007
Location: Clapham Junction - London SW
Posts: 4,884
Thanks: 228
Thanked 204 Times in 203 Posts
effpeetee is an unknown quantity at this point
Put this at the start of your css.
Code:
 *{padding:0;
  margin:0;
  border:0;}
Frank

It resets any browser to zero before it is programmed. Not all browsers start equal.
I have put it in the head of the html page, but it should be the first entry of your css page.

Look here to see result.
__________________
* Sources (updated: 21.11.2012.
Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

Last edited by effpeetee; 05-06-2010 at 08:40 AM..
effpeetee is offline   Reply With Quote
Users who have thanked effpeetee for this post:
BlackReef (05-06-2010)
Old 05-06-2010, 09:37 AM   PM User | #3
BlackReef
Regular Coder

 
Join Date: Apr 2010
Posts: 193
Thanks: 100
Thanked 1 Time in 1 Post
BlackReef is an unknown quantity at this point
Quote:
Originally Posted by effpeetee View Post
Put this at the start of your css.
Code:
 *{padding:0;
  margin:0;
  border:0;}
Frank

It resets any browser to zero before it is programmed. Not all browsers start equal.
I have put it in the head of the html page, but it should be the first entry of your css page.

Look here to see result.
Frank, thank you VERY much. I had an experienced .ASP programmer try to find this and could not. Your help is greatly appreciated friend.

Thank you!
BlackReef is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 Jump


All times are GMT +1. The time now is 10:52 AM.


Advertisement
Log in to turn off these ads.