Code2Design.com

User login

The Layout

Programming

Graphic Design

Resources

Navigation

C2D Projects

Unsystematic Affiliates

Tutorial-Search Photoshop Cafe DNSandIP Glitch Seekers 

Change Language

Who's online

There are currently 0 users and 2 guests online.

Aligning Top

I cannot seem to get it right. Everytime I try to align something to the top of the page, say a table in side of another table whereas the table inside would have space below it, but it just stays in the center of the table.


Submitted by Navigator on January 12, 2008 - 2:17pm.
printer friendly version

Aligning Tables

When ever you align something you have to think about everything that is a parent to the item you are aligning. I have had the same problem with tables before I started using CSS and divs.

In this case, you have to align the first table/tr/td to "top" and then align the table/tr/td that is inside it to "top", and so on for each table after that.

Because if you only align the inside table to top - the outside table is still set to show the inside table in the middle of the column. lol, get it?


Ah!

Thanks that will help!


Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <br /> <h3>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use BBCode tags in the text, URLs will be automatically converted to links
More information about formatting options



Like what you see?

Why not add more? C2D is looking for other Christian Web Masters who would like to help write articles for this site. If you have expericance in FLASH, CSS/HTML, PHP/MySQL, PhotoShop/GIMP, Blender, Javascript, or just General Design - our users would love to hear what you have to say. Contact Us

delicious   digg   reddit   magnoliacom   newsvine   furl   google   yahoo   technorati