clryan Posted December 16, 2007 Share Posted December 16, 2007 Hi, I was wondering, could anyone please tell me the code to properly top align something? I tried putting "align="top"" in the table tags but that did not work properly.Here's the site with the problem: http://www.clrwebproductions.com/calendar/...2&year=2007The month and year areas are centered as opposed to being aligned with the calendar area.It should look something like:http://www.clrwebproductions.com/calendar/layout_copy.jpgThank YouEdit: Nevermind, got it using "valign="top""... I think I accidentally put it in the wrong <tr> tag before. Link to comment Share on other sites More sharing options...
miles5150 Posted December 17, 2007 Share Posted December 17, 2007 Hi, I was wondering, could anyone please tell me the code to properly top align something? I tried putting "align="top"" in the table tags but that did not work properly.Here's the site with the problem: http://www.clrwebproductions.com/calendar/...2&year=2007The month and year areas are centered as opposed to being aligned with the calendar area.It should look something like:http://www.clrwebproductions.com/calendar/layout_copy.jpgThank YouEdit: Nevermind, got it using "valign="top""... I think I accidentally put it in the wrong <tr> tag before.Hi there,I will just say that you should really try and get in the habbit of using style sheets instead of formatting within your tags. This will give you much more control over the way the page looks.Also, you should definately get the correct full doctype declaration at the top of your page. Without this every browser is going to go into quirks mode and guess how your page looks instead of displaying it exactly how you want it.All the best.Justin Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.