 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
seadog
Joined: 26 Apr 2008 Posts: 5
|
Posted: Mon Apr 28, 2008 4:29 pm aligning to the top with tables |
|
|
|
Im making a template in an extremely hard way. im using tables to make the layout and im using tables to make the posts and shit. im using <br> tags to make the tables in the center of the main layout stand at the top of the template. is there anyway to make these align center and top without having to use the <br> tags to do it.
you can see what i mean here
http://fpsroster.freehostia.com/
the post thats named welcome to clan nation. i want that to sit right under the banner right at the top. but in order to do that i have to use <br> tags... is there an alternative way? |
|
Straystudio
Joined: 14 Apr 2008 Posts: 92 Location: Nord Italy
|
Posted: Mon Apr 28, 2008 6:03 pm |
|
|
|
mmh ... tables inside tables; yes, it needs a while to be studied.
It seems as You are using series of <br> as vertical spacers.
Take care, how much a <br> spaces, depends on font size; in this case, the default font the User has set with Browser. So, things may vary a bit.
Be sure main tables won't want height="100%"
However, to align tables: either assign
align="left/center/right" valign="top/middle/bottom"
to the upper <td> driving them, or use
<div align="left/center/right">
( the whole table )
</div>
this last not for vertical-alignment.
align="" as Attribute of table Element itself, was deprecated; same for bgcolor="".
<!DOCTYPE xhtml PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN>
does not recognize height percentuage with table. |
|
seadog
Joined: 26 Apr 2008 Posts: 5
|
Posted: Tue Apr 29, 2008 9:24 am |
|
|
|
| nothing worked. i tried putting the tables in div tags. but it didnt work so i put it in Dreamweaver and dreamweaver says theres no valign for div tags. so im guessing it wont work because div doesnt recognize the command valign? for some reason i cant find to available option valign for any tag. i know its there but i think its a CSS command. i uploaded the template again you can check the source if u could =) |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|