![]() | | ||||||||
| | #1 |
| Warrior Member Join Date: Jul 2009
Posts: 21
Thanks: 27
Thanked 1 Time in 1 Post
|
I was hoping someone could help me with a problem I'm having in Dreamweaver. I often have the problem where extra vertical space appears when I preview a page in a browser. The problem is fairly consistent between different browsers though the extra space is sometimes less in IE. For an example of the problem go to: What Do You Do If you scroll down to the bottom of the text area you will see a large blank space at the end of the text. For all the screwing around I did at least the space is at the end instead of in the middle. Extra space often appears between layout tables. Any suggestions would be most appreciated. I don't have much hair left to tear out. Thanks |
| | |
| | #2 |
| WPG War Room Member Join Date: Mar 2009 Location: New Jersey
Posts: 93
Thanks: 23
Thanked 18 Times in 11 Posts
|
Hi Promptor, I gave your website a quick look and this I know what will fix your issue for you. Since you are using tables and not pure CSS for the layout of the site, you have some table column definitions that have their height set to a fixed pixel amount. This amount makes more space than is necessary for the table causing the white space at the bottom. There are three places you need to make changes on your webpage. Find these three lines @line #560 Code: <td colspan="4" align="center" height="7909" nowrap="nowrap" valign="top"><img src="what-do-you-do_files/texturedspacer.jpg" alt="spacer" height="3" width="145"></td> Code: <td align="left" bgcolor="#f2f1f3" valign="top" width="15"><div align="left"><img src="what-do-you-do_files/grad14b.jpg" alt="edge" height="7909" width="14"></div></td> Code: <td align="left" bgcolor="#f2f1f3" valign="top" width="15"><div align="right"><img src="what-do-you-do_files/grad14.jpg" alt="edge" height="7909" width="14"></div></td> Should be a quick fix, let me know if you have any problems. Vossman |
| | |
| | #3 |
| Warrior Member Join Date: Jul 2009
Posts: 21
Thanks: 27
Thanked 1 Time in 1 Post
|
God bless you Vossman I'll give that a try and let you know.
|
| | |
| | #4 |
| Warrior Member Join Date: Jul 2009
Posts: 21
Thanks: 27
Thanked 1 Time in 1 Post
|
Way to go Vossman! That certainly did the trick, but I have a question. First of all the line numbers where different, but I assume that is from pasting the code in a different environment. I assume from your post that you're not using Dreamweaver. What was weirder is that the parameters of the lines where in a completely different order, but I suppose this could also be due to a different environment. My question is - since I have this type of problem often and I certainly don't expect you to fix all my pages, could you tell me how you came up with the number 7650 in place of 7909? As a side note I often get this extra space between layout tables. Thank you again. |
| | |
| | #5 | ||
| Warrior Member Join Date: Aug 2009
Posts: 10
Thanks: 0
Thanked 2 Times in 2 Posts
| Quote:
Regardless, the reason he came up with that number (or how I would) is he (roughly) guessed the extra space's pixel height and subtracted it from the original number. Typically you have to sort of feel around and try a few different numbers, cutting off 10s and 20s of pixels until you get the right height. Try it next time ![]() Quote:
The best of luck to you! | ||
|
Michael Schultz - http://www.sharppixeldesigns.com/ Website: http://www.twitter.com/MykeSchultz/ Email: Michael@sharppixeldesigns.com | |||
| | |
| | #6 |
| WPG War Room Member Join Date: Mar 2009 Location: New Jersey
Posts: 93
Thanks: 23
Thanked 18 Times in 11 Posts
|
Glad it worked! The line numbers were probably different because I used the source code out of firefox vs what you have in dreamweaver. The two can vary depending on whatever factors. If you have changed anything in dreamweaver since your last online publish that may explain the tags out of order. Either way, similar to what Michael is saying, once I identified all the elements that were too large and causing the whitespace I simply tested a few values until it looked the way it should. I used the FireFox Developer Toolbar to help me identify the different elements, I recommend you grab the plugin from mozilla, it makes troubleshooting a lot easier. I also second what Michael says about using pure CSS. It should be pretty easy in DreamWeaver although I am not really a layout/graphics guy, I am more into integration and coding so I don't really use DreamWeaver too much. Michael was saying look out for < p > and < br > tags but that wasn't the case with this setup so in the future I would recommend looking at your table configurations ( I would more so recommend learning CSS tables ). If you need further help feel free to PM me. Good luck with the product it looks quite interesting and I'll check back in the future when its available. Vossman |
| | |
| | #7 |
| Warrior Member Join Date: Jul 2009
Posts: 21
Thanks: 27
Thanked 1 Time in 1 Post
|
Thanks for the help and advice. Does working in pure CSS resolve the issues as far as displaying the same in different browsers? Any suggestions about tools, sources of info, or preferred environments to learn CSS? I've been programming since the days all we had to work with was machine language. Talk about tedious! Over the years I have learned many different languages and to tell you the truth I'm getting a bit languaged out at this point, if you know what I mean. I really prefer to work in Flash because my layouts are generally more graphical and Flash is such a pleasure. It has far more graphic capability and it seems to always look exactly the same in every browser. If it weren't for the page length restriction and SEO issues I wouldn't think twice about it. By the way - the product IS available. |
| | |
![]() |
|
| Tags |
| dreamweaver, extra, problem, space, vertical |
| Thread Tools | |
| |
![]() |