This is a discussion on "Blank line problem" within the Web Page Design section. This forum, and the thread "Blank line problem are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Blank line problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Blank line problem
I'm having a frustrating time with a bit of CSS trouble!
Here is what I'm working on... http://www.artisswebdesign.co.uk/test/ Between the menu and the top advert there is a blank line. Unfortunately, it only appears in IE, and not Firefox. For the life of me, I can't get a blank line to appear consistently, and I don't know the cause either. Any assistance with this would be greatly appreciated. David. |
|
|
|
|||
|
Re: Blank line problem
You have a <br/> which I highlighted below in red. Take that out and see if it gets rid of the space.
|
|
|||
|
Re: Blank line problem
I put that there on purpose
It's creating the blank line in IE, which is what I want. I was just expecting Firefox to do the same thing. Instead of the BR I've tried using padding/margins/etc on the DIV's but that's had the same effect - no blank line in Firefox. David. |
|
|||
|
Re: Blank line problem
My apologies, I thought you wanted the space deleted. Let me go have a look at the code..
|
|
|||
|
Re: Blank line problem
If you find the fault, you will be a star beyond belief. It's been driving me mad for days!!!
David. |
|
|||
|
Re: Blank line problem
Did you try adding margin-bottom
|
|
|||
|
Re: Blank line problem
That worked! You know, I'm sure I've tried that before. I suspect I must have tried it before I fixed something else, and not since. Doh! Well, as I said you are a true star. Thank you. David. |
|
|||
|
Re: Blank line problem
No, apologies. It's not fixed.
The link I provided before now have the <BR> removed and the padding you suggested put into place. Still doesn't work with Firefox. David. |
|
|||
|
Re: Blank line problem
Well that stinks...
It is "better" though. Before there wasn't a bit of light blue showing, now there is a slight bit. Should you try margin-bottom: 50px;? You could also add to .center margin-top: 20px; Let me know.. |
![]() |
| Tags |
| css, firefox, spacing |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Have a major problem with Text Line-Height | vidoewebmastery | Web Page Design | 2 | Mar 24th, 2008 20:15 |
| Fwrite with new line break problem? | meth8200 | PHP Forum | 2 | Feb 4th, 2008 15:23 |
| Swf is blank? | spires | Flash & Multimedia Forum | 3 | Jul 21st, 2007 22:36 |
| problem running php from the command line | edwarrj1 | PHP Forum | 2 | Dec 5th, 2006 18:06 |
| Problem with IE , Firefox displays website fine (blank space issue) | eksquall | Web Page Design | 6 | Jul 29th, 2006 17:52 |