NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page How to Center a Layer in Dreamweaver MX?

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
10 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Closed Thread
 
LinkBack Thread Tools
Old 02-19-2004, 06:40 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Feb 2004
Posts: 6
saadahmed is an unknown quantity at this point
 



How to Center a Layer in Dreamweaver MX?


Here is what i need to do.. i need to make those Add to cart buttons centered so they align(centered) on top of the embeded add to cart text.. how can i center the layer on top of the website??

Here is the link
saadahmed is offline  
Old 02-20-2004, 01:17 AM   #2 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
place that layer inside another layer with a width of 100% and align it centered
adam_uk is offline  
Old 02-20-2004, 01:32 AM   #3 (permalink)
NamePros Expert
 
Anthony's Avatar
Join Date: Dec 2003
Location: NYC
Posts: 9,132
Anthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant future
 

Member of the Month
October 2004

Quote:
Originally posted by adam_uk
????: NamePros.com http://www.namepros.com/web-design-discussion/21207-how-to-center-layer-dreamweaver-mx.html
place that layer inside another layer with a width of 100% and align it centered
Right, that's the best way to do it. That way it will ensure the whole thing stays aligned!
Anthony is offline  
Old 02-20-2004, 02:10 PM THREAD STARTER               #4 (permalink)
New Member
Join Date: Feb 2004
Posts: 6
saadahmed is an unknown quantity at this point
 



ok i will this, thanks!!!
saadahmed is offline  
Old 02-20-2004, 08:28 PM THREAD STARTER               #5 (permalink)
New Member
Join Date: Feb 2004
Posts: 6
saadahmed is an unknown quantity at this point
 



well i cant seem to do this... i am really new with Dreamweaver, can you please explain to me how to do it?

here is the code of one layer
<div id="Layer3" style="position:absolute; left:271px; top:403px; width:128px; height:63px; z-index:3">
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd2" value="_cart">
<input type="hidden" name="business2" value="athdapaki1@juno.com">
????: NamePros.com http://www.namepros.com/showthread.php?t=21207
<input type="hidden" name="item_name2" value="Acura Integra Blitz (94-97) Full Bodykit">
<input type="hidden" name="amount2" value="399.99">
<input type="hidden" name="no_note2" value="1">
<input type="hidden" name="currency_code2" value="USD">
<input type="hidden" name="lc2" value="US">
<input name="submit2" type="image" src="images/Acura_24.jpg" alt="Make payments with PayPal - it's fast, free and secure!" width="57" height="13" border="0">
<input type="hidden" name="add2" value="1">
</form></div>
saadahmed is offline  
Old 02-21-2004, 01:33 AM   #6 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
Code:
<div id="Layer1" style="position:absolute; left:10px; top:44px; width:100%; height:222px; align:center; z-index:1" align="center">
  <div align="center"><div id="Layer3" style=" left:271px; top:403px; width:100%; height:63px; z-index:3">
		  <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
          <input type="hidden" name="cmd2" value="_cart">
          <input type="hidden" name="business2" value="athdapaki1@juno.com">
          <input type="hidden" name="item_name2" value="Acura Integra Blitz (94-97) Full Bodykit">
          <input type="hidden" name="amount2" value="399.99">
          <input type="hidden" name="no_note2" value="1">
          <input type="hidden" name="currency_code2" value="USD">
          <input type="hidden" name="lc2" value="US">
          <input name="submit2" type="image" src="images/Acura_24.jpg" alt="Make payments with PayPal - it's fast, free and secure!" width="57" height="13" border="0">
          <input type="hidden" name="add2" value="1">
     	  </form>
  </div>
</div>
</div>

????: NamePros.com http://www.namepros.com/showthread.php?t=21207
adam_uk is offline  
Old 02-21-2004, 10:17 AM THREAD STARTER               #7 (permalink)
New Member
Join Date: Feb 2004
Posts: 6
saadahmed is an unknown quantity at this point
 



that doesnt seem to work either.. basically what i want to do is add a shopping cart.... but the site is all photoshop slices...
????: NamePros.com http://www.namepros.com/showthread.php?t=21207
This is the shopping cart code:
Quote:
<input type="hidden" name="cmd2" value="_cart">
<input type="hidden" name="business2" value="athdapaki1@juno.com">
<input type="hidden" name="item_name2" value="Acura Integra Blitz (94-97) Full Bodykit">
<input type="hidden" name="amount2" value="399.99">
<input type="hidden" name="no_note2" value="1">
<input type="hidden" name="currency_code2" value="USD">
<input type="hidden" name="lc2" value="US">
<input name="submit2" type="image" src="images/Acura_24.jpg" alt="Make payments with PayPal - it's fast, free and secure!" width="57" height="13" border="0">
<input type="hidden" name="add2" value="1">
</form>
and this is the frame/table(slice) code in the HTML:
Quote:
<TD COLSPAN=2 ROWSPAN=2>
<IMG SRC="images/Acura_24.jpg" WIDTH=57 HEIGHT=13 ALT=""></TD>
How would i insert the shopping code into the slice code????
because thats why i was making a layer on top of the site because i thought it would be easier.. if you guys can help me this it woould be great!! thanks
Last edited by saadahmed; 02-21-2004 at 10:19 AM.
saadahmed is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 07:41 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger