This is a discussion on "thin white line" within the Web Page Design section. This forum, and the thread "thin white line are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
thin white line
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
can anyone tell me why i get a thin white line in IE6/7 below the header here?
Thanks! http://www.kehillot-tehilla.com/test.html |
|
|
|
|||
|
Re: thin white line
I'm guessing it's a border/margin issue. Try setting the borders and margins to zero and see what happens.
You could use:
Let us know what happens, it could be something else. Pete. |
|
|||
|
Re: thin white line
Oh, by the way the reason for this is that different browsers set different default margins and paddings so if you don't set your own you will often get different results with different browsers.
Pete. |
|
|||
|
Re: thin white line
thanks pete.
looks like its something else, the * { margin:0; padding: 0;} didnt have any effect on the line |
|
|||
|
Re: thin white line
Not sure why there is a space between the header and the div called #main.
I would guess it has something to do with the #main div. or the #content div because both of those come directly under the header. I would suggest that you switch to a full html/css based two column layout. That would make things so much easier for you. You need to take out all the styling out of the html and put that into css. (widths, heights, etc) You need to separate the Header div and the content div in the css. valign doesn't really work in css. So that might be part of your problem. But I can't see anything obvious. Maybe someone else will. This would work for you http://bonrouge.com/2c-hf-fluid.php as well as this http://bonrouge.com/2c-hf-content1st.php |
|
|||
|
Re: thin white line
Bummer.
I'll have look at it and get back to you. It could be the borders or cell padding if your using tables. Try setting them to 0 as well. Pete. |
|
|||
|
Re: thin white line
thanks guys.
the valign i put in to try fix it, but it didnt work will carry on playing... cheers |
|
|||
|
Re: thin white line
cool! i just found what the problem was - in my header i had:
thanks guys! |
|
|||
|
Re: thin white line
Fancy that. I'd never have spotted it.
Glad you're sorted now though. Pete. |
|
|||
|
Re: thin white line
:bounce8:
Applause, standing - o... that's great! |
|
|||
|
Re: thin white line
thanks again for the very speedy replies gang
|
|
||||
|
Re: thin white line
IE will actually render white space in your code. Weird.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
![]() |
| Tags |
| css spacing |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| big white gap in form | monkeymafia | Web Page Design | 3 | Nov 4th, 2007 20:19 |
| White List | JacobHaug | Webforumz Cafe | 15 | Jul 18th, 2007 07:24 |
| Black on white or white on black? | joshcxa | Webforumz Cafe | 14 | May 11th, 2007 14:31 |
| fade to white | christopher | Graphics and 3D | 2 | Jun 1st, 2006 12:02 |
| remove white line from the frames | swetha | Web Page Design | 0 | Jan 18th, 2006 10:53 |