Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

graphics to edge of web page

Status
Not open for further replies.

bch33

Technical User
Oct 13, 2001
151
US
How can I make my graphics extend the full length of the page at top and on the side? I use dreamweaver and have my tables set at100percent but it still boxes my graphic in away from the edges.
Looking for that smooth continous look...Here's an example of what I mean by graphic at top going smoothly from end to end
thanks
bch
 
Hello bch!

Probably, you need to set some attributes of tag <table> to zero:
<table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; height=&quot;100&quot;>

Also you may need to set vspace and hspace attributes of your image to zero:
<img src=&quot;some_file.jpg&quot; width=&quot;100&quot; height=&quot;100&quot; vspace=&quot;0&quot; hspace=&quot;0&quot;>

Also you may need to set some attributes of <body> tag:
<body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot;>

Hope it helps.

Good Luck! :)
 
Go to &quot;Modify&quot; , &quot;Page Properties&quot; and set the Margin Width, Margin Height, Left Margin, and Top Margin Properties to zero.
Also, this designer uses a page background so that the entire top of the browser window is covered in graphic. Its a 25 width by 4000 long graphic file, but it will create a continuous top border regardless of window size.
Also be sure that the table you put the graphic in has the cellspacing and cellpadding set to zero.
Hope this helps.
 
thanks Eugene, it works perfect
appreciate it
bch
 
thanks 'jentuck' Yeah, I was wondering how that page background worked in this scenario. Will give that a try
bch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top