Norman Posted February 2, 2007 Share Posted February 2, 2007 Hi, I'm using this code: <!-- message --><table width="1007" border="0" cellPadding="0" cellSpacing="0" style="width:auto"><tr><td width="28" height="17" style="padding: 0px"><img src="images/border/khung_01.gif"></td><td width="959" background="images/border//khung_02.gif" style="padding: 0px"></td><td width="20" style="padding: 0px"><img src="images/border//khung_03.gif" /></td></tr><tr><td height="100" valign="top" background="images/border//khung_04.gif" style="padding: 0px"><img src="images/border//khung_05.gif"></td><td style="padding: 0px; background-color: #ffffff" bgColor="#ffffff"><p>sssssss</p> </td><td style="padding: 0px" background="images/border//khung_06.gif"></td></tr><tr><td style="padding: 0px"><img src="images/border//khung_07.gif"></td><td style="padding: 0px" background="images/border//khung_08.gif"></td><td style="padding: 0px"><img src="images/border//khung_09.gif"></td></tr></table><!-- / message --> But like you can see, if I write something, it atomatic center the text. And I can't do nothing. I'm using Macromedia Dreamweaver. Link to comment Share on other sites More sharing options...
roondog Posted February 2, 2007 Share Posted February 2, 2007 Do you mean the ssssssss is centered vertically. If so put valign="top" or valign="bottom" in the <td> tag depending on where you want it. Also you could try using divs rather than tables for the layout not sure how you do that in dream weaver. Link to comment Share on other sites More sharing options...
ste Posted February 2, 2007 Share Posted February 2, 2007 table width="1007"that should probably be % Link to comment Share on other sites More sharing options...
Norman Posted February 2, 2007 Author Share Posted February 2, 2007 Thanks for your replies. Do you mean the ssssssss is centered vertically. If so put valign="top" or valign="bottom" in the <td> tag depending on where you want it. Also you could try using divs rather than tables for the layout not sure how you do that in dream weaver.Now the valign attribute is 'top'. It should be at the top, but it's centered. And I don't know why. that should probably be %What you mean exactly? Link to comment Share on other sites More sharing options...
roondog Posted February 2, 2007 Share Posted February 2, 2007 Thanks for your replies. Now the valign attribute is 'top'. It should be at the top, but it's centered. And I don't know why. What you mean exactly?I just tried this in notepad and it works.<td style="padding: 0px; background-color: #ffffff" bgColor="#ffffff" valign="top"><p>sssssss</p> </td> I think ste thought you pressed 7 instead of % or do you want it to be 1007px wide? Link to comment Share on other sites More sharing options...
Norman Posted February 2, 2007 Author Share Posted February 2, 2007 Oh, sorry. My mistake. Now it work! Thanks, Roondog. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now