frames in dreamweaver

Need technical advice on coding your web pages? Covers HTML, JavaScript, CSS, and some server side technologies. Also the issue of some webpages not displayed well.

Moderator: Don_HH2K

frames in dreamweaver

Postby thinkr1313 » Mon 18 Dec, 2006 1:35 am

okay, so I have basically just kind of taught myself how to use dreamweaver and there are still a few things that escape me. One being the pesky border when using frames. I have a graphic that I want to use, but it spans two frames. I have tried to adjust the alignment, but there is always a smallish space inbetween the two frames. How do I get rid of this space so the graphic looks fluid?

Thanks in advanced.
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3
thinkr1313
new member
new member
 
Posts: 1
Joined: Mon 18 Dec, 2006 1:33 am

Postby Don_HH2K » Mon 18 Dec, 2006 4:05 pm

There's no standard way to do it, but creating a frameset this way covers the majority of users:

Code: Select all
<frameset border="1" framespacing="0">
<frame border="0" frameborder="no" topmargin="0" />
</frameset>


...with this in either your CSS layout file or in a [tt]<style>[/tt] element in your page [tt]<head>[/tt]:

Code: Select all
frame, frameset {
border: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0 x64; en-US; rv:1.8.1) Gecko/20061030 BonEcho/2.0 (mmoy CE K8N-X02)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm


Return to Web Design and Page Coding

Who is online

Registered users: Exabot [Bot], Google [Bot]