Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 30th, 2003, 08:54 PM
shokesy shokesy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 62 shokesy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 46 m 42 sec
Reputation Power: 7
urgent! how do i align this right?

Ok look at this page:

http://www.brownvado.com/temp/testing.htm

why is my alignment screwed up? in particular if you look at where it says "Box 1", why does the yellow background extend past the left-most border? how can i eliminate this, so that the yellow background remains within the left-most border?

i will be totally in debt to your cyber soul if you can solve this for me...but for real, thanks for any help or suggestions you can offer me...i just got into css, so im confused with certain things.

peaceNadvance

Reply With Quote
  #2  
Old October 1st, 2003, 08:18 PM
mohecan mohecan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 212 mohecan User rank is Private First Class (20 - 50 Reputation Level)mohecan User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
In your css definitions, you have set tables to have a background colour of yellow, thus yellow will be applied to tables.

You can eliminate this by declaring the style as you go, something like this, I would also set me left cell to span two rows
Code:
   <table width="300px" border="0" cellspacing="0" cellpadding="0">
       <tr>
          <td rowspan="2">&nbsp;</td>
          <td><img class="border" src="images/general/usratoon.jpg" width="360" height="418"></td>
  </tr>
  <tr>
          <td style="background-color: none">Box 1</td>
  </tr>
</table>


I'm not sure what the result of this would be, but it should point you in the right direction.
__________________
How can I soar like an eagle when
I'm flying with turkey's?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > urgent! how do i align this right?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT