View Full Version : WTH!? DW I hate you?
Vexir
July 28th, 2006, 03:57 AM
What the heck are these little dotted lines? They are causing a gap in my layout and I can't find how in my source. Theres like a freaking 5-10px gap on the sides of my top two tables, and I really don't know how. Its breaking up my layout! Grr!
Pasquale
July 28th, 2006, 05:50 AM
padding lol- makesure everythign is 0ed out :P- i mean everything. sometimes by default 5 is added lol!
blazes
July 28th, 2006, 05:53 AM
Take it back. DW is the best thing ever invented.
ya3
July 28th, 2006, 07:11 AM
Hmm... cell padding... har har... oh, what hillarious pun :|
I just spent all afternoon formatting HTML tables :P
mlk
July 28th, 2006, 11:42 AM
It's been a pain in the arse but i'm glad i've switched to divs and spans =)
Jeff Wheeler
July 28th, 2006, 11:47 AM
Yes, keep hating DW. You'll be glad when you find an alternative. :D
DDD
July 28th, 2006, 11:54 AM
Are you looking at that in the design view of Dreamweaver? If so that view is not always 100% precise. Sometimes turning off some of the viewing options will snapthings into place. To get a better judge of your layout press f12.
Anogar
July 28th, 2006, 11:56 AM
I find the design view to be quite often just plain wrong. :-/
evildrummer
July 28th, 2006, 12:04 PM
My design view always looks messed up,
just lik the finished projecy
Templarian
July 28th, 2006, 03:07 PM
Yea... DW8 for the most part is how its logically suppose to look if all standards are kept exactly how they should. Yea and your problem is simply cell padding.
Jeff Wheeler
July 28th, 2006, 03:11 PM
Doesn't it use Opera 8's engine, which is certainly imperfect?
fasterthanlight™
July 28th, 2006, 03:12 PM
I'm glad i learned css at the same time i learned html.....
Vexir
July 28th, 2006, 03:29 PM
Are you looking at that in the design view of Dreamweaver? If so that view is not always 100% precise. Sometimes turning off some of the viewing options will snapthings into place. To get a better judge of your layout press f12.
Yeah don't worry I'm not that noob. :thumb2: It still happens.
I used CSS to remove the padding, I even went through the trouble of making double sure by putting cellpadding=0 in the table tags! :(
Table code:
<table width="668" height="135" border="0" cellpadding="0" cellspacing="0" class="structure">
CSS:
.structure {
width:688px;
background-color:#4E1515;
border:none;
text-align:center;
padding-top:0px;
padding-left:0px;
padding-right:0px;
padding-bottom:0px;
border-spacing: 0px;
margin:0px;
}
It is a padding issue though, because I can't type anything into those areas. Which means becuase theres no padding on the top and bottom, something is wrong with
padding-left:0px;
padding-right:0px;
Which I don't think there is.
-----------------------------------
Oh yes. Another issue.
It seems that the top two "messed up" table cells are the ones that are working right :P The images within are the right width, 668. Its just that the cells containing them are not!
The expanding table below those table rows are the same width as the table cells above but WITHOUT THE PADDING, causing them to be bigger than needed. Thus messing up my layout.
Vexir
July 28th, 2006, 04:04 PM
I just recoded the entire thing, all by hand, didn't even look at the preview pane, turned off code-hints and all that crap. :P Works just fine TYVM. Stupid d/w. Notepad owns you.
I still don't know whats wrong with the original one, I don't really care either :P
I used the same style sheet for both pages though, so I don't blame the CSS.
Just Dreamweaver. It sucks. For life.
Vexir
July 28th, 2006, 04:25 PM
WAIT! NEW PROBLEM.
<table width="668" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="100%"><img src="images/bgtile.jpg" width="668" height="100%" /></img></td>
</tr>
</table>
^ That works fine in D/W. Stretches to the bottom of the page and everything. Just doesn't work in the browser :P Well okay, it "works" but it doesn't' stretch to teh bottom of teh page.
DDD
July 28th, 2006, 04:28 PM
Why does your image have a 100% height? And you should set the actual table height to 100%.
Dont worry too much what you see in DW's design view, Its meant to be a close apporximation not a replacement for a browser view,
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.