:: Dreamweaver :: Vertical Alignment

This is a discussion on ":: Dreamweaver :: Vertical Alignment" within the Web Page Design section. This forum, and the thread ":: Dreamweaver :: Vertical Alignment are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack (1) Thread Tools
  1 links from elsewhere to this Post. Click to view. #1  
Old May 22nd, 2006, 12:30
New Member
Join Date: May 2006
Location: England
Age: 23
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
:: Dreamweaver :: Vertical Alignment

Hi,

I'm having problems aligning movies and images to the vertical middle of a page and would appreciate any help people could give me. In Dreamweaver it looks like the movie is centred but when I preview it in a browser its gone to the top of the page. The code I have created using Dreamweaver 8 is below. I think the problem might be to do with setting the page hieght?? Many Thanks.

<body>
<div align="center">
<div valign="middle">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="100%" height="100%" align="center" valign="middle"><div align="center" valign="middle"><img src="FG-design1.png" width="800" height="580" valign="middle" /></div></td>
</tr>
</table>
</body>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old May 22nd, 2006, 12:46
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Re: :: Dreamweaver :: Vertical Alignment

Read this post, it describes how to do it with CSS

http://www.webforumz.com/34611-post4.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old May 22nd, 2006, 14:09
New Member
Join Date: May 2006
Location: England
Age: 23
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: :: Dreamweaver :: Vertical Alignment

Hey

Thankyou for that information. I've added those values to the CSS but now the image has aligned to the horizontal middle of the page but is now missing out the top of the page??
Am I doing something wrong?

body {
background-image: url(FG-back1.png);
background-repeat: repeat-x;
background-color: #71FF71;
}
div {
width: 800px;
height: 580px;
position: relative;
top: 50%;
left: 50%;
margin-top: -290px;
margin-left: -400px;
}
-->
</style>
</head>
<body>
<div><img src="FG-design1.png" width="800" height="580" /></div>
</body>


Many thanks

Last edited by LittleDoug; May 22nd, 2006 at 15:01.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old May 22nd, 2006, 16:24
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Re: :: Dreamweaver :: Vertical Alignment

Link us to your site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old May 22nd, 2006, 16:40
New Member
Join Date: May 2006
Location: England
Age: 23
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: :: Dreamweaver :: Vertical Alignment

It's on

http://www.luxurymillcottage.com

I uploaded it quickly without exporting any of the images so it may look funny at first!

Thanks for your help

Last edited by LittleDoug; May 22nd, 2006 at 16:48.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
dreamweaver, vertical, alignment

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://webforumz.com/web-page-design/6483-dreamweaver-vertical-alignment.htm
Posted By For Type Date
del.icio.us/network/brookelarkin This thread Refback Mar 27th, 2007 21:26

Similar Threads
Thread Thread Starter Forum Replies Last Post
dreamweaver layer alignment in all screen resolution shinesmithdas Web Page Design 1 May 16th, 2008 22:47
Vertical alignment issues in IE6. IE7 Won't center my page! Itsumishi Web Page Design 5 Mar 24th, 2008 20:28
adobe dreamweaver Vs. Macromedia dreamweaver jahphill Scripts and Online Services 21 Nov 2nd, 2007 03:19
CSS Vertical Menu. Can someone help? CoolNeb Web Page Design 3 Jul 16th, 2007 18:00
Vertical Table Alignment Amphersand Web Page Design 6 Mar 13th, 2006 01:34


All times are GMT. The time now is 17:22.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42