Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 12-30-2004, 04:02 PM   #1 (permalink)
Crazy
 
Location: Arnold, MD
[html]Alignment Issues..

For somereason I can't seem to get the images within this table to align correctly, can someone please help me out. I feel stupid for askin for something so simple but I just can't seem to get it right.
http://www.uberest.com/workin/
Code:
<table width="516" height="304"  border="0">
          <tr valign="top">
            <td width="11" height="10"><div align="left"><img src="clt.gif" width="9" height="10" align="top"></div></td>
            <td width="494" height="10" background="top.gif">&nbsp;</td>
            <td width="11" height="10"><div align="right"><img src="crt.gif" width="10" height="9" align="top"></div></td>
          </tr>
          <tr>
            <td height="198" background="left.gif">&nbsp;</td>
            <td bgcolor="E6EEF1">&nbsp;</td>
            <td background="right.gif">&nbsp;</td>
          </tr>
          <tr valign="bottom">
            <td height="10"><div align="left"><img src="clb.gif" width="10" height="9" align="bottom"></div></td>
            <td height="10" background="bottom.gif">&nbsp;</td>
            <td height="10"><div align="right"><img src="crb.gif" width="9" height="10" align="right"></div></td>
          </tr>
        </table>
j0hnb is offline  
Old 12-30-2004, 04:16 PM   #2 (permalink)
Crazy
 
Location: Salt Town, UT
Your &nbsp; to put some content in the top and bottom cells is to high.

Try using a 1px by 1px spacer gif instead, and be sure not to have any spaces, IE will tend to choke on them. Let me know how it goes.

Also, don't use DIV's inside of the corner TD's, just set the alignment property directly in the TD (although, you don't really need an alignment property, since the cell should be just as large as the image anyways)

Also, on a few of your images, you have the width and heights backwards. So double check all of your images.
Rawb is offline  
Old 12-30-2004, 05:30 PM   #3 (permalink)
Crazy
 
Location: here and there
also, div tags act like a p tag in that it adds spacing. if you dont want that, use span instead.
__________________
# chmod 111 /bin/Laden
theFez is offline  
Old 01-03-2005, 12:18 PM   #4 (permalink)
Crazy
 
Location: Liverpool UK
There are many examples on the net of how to do rounded corners using css. Here's 3:
http://www.alistapart.com/articles/customcorners/
http://kalsey.com/2003/07/rounded_corners_in_css/
http://www.albin.net/CSS/roundedCorners/

Perhaps you are using a table because you're not accustomed to css, but it's definitely worth getting into css as it can make your pages smaller and load faster and you can do much more with css than with tables and spacer gifs.

try the following to see what css can do for you:
http://www.s7u.co.uk/
http://www.wow-factor.com/ (has links to many great css sites)
jimbob is offline  
Old 01-03-2005, 04:50 PM   #5 (permalink)
Tilted
 
Location: Boston
Quote:
Originally Posted by theFez
also, div tags act like a p tag in that it adds spacing. if you dont want that, use span instead.
You could always use "{display: inline;}" too.
franzelneekburm is offline  
Old 01-29-2005, 10:48 PM   #6 (permalink)
Upright
 
Quote:
Originally Posted by jimbob
Perhaps you are using a table because you're not accustomed to css, but it's definitely worth getting into css as it can make your pages smaller and load faster and you can do much more with css than with tables and spacer gifs.
Word. In my new job I've converted a page that used around 10 nested tables for layout to a rather shiny 3/4 divs and (very cacheable) CSS.

Way better!
quannum is offline  
 

Tags
htmlalignment, issues

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



All times are GMT -8. The time now is 10:12 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76