Jump to content


Problems with tables


6 replies to this topic

#1 HEki_

    Young Padawan

  • Members
  • Pip
  • 167 posts

Posted 30 March 2005 - 03:03 PM

Ok,

i am like :D
i have a table in which i have 2 columns. In left i have some text in right i will display news ... atleast i am trying to display it :D

now if i place anything in right column, it goes in the center of teh column. what i really want is to be at the top.

to see my problem

http://se7en-clan.com/chi-web/home.htm

what must i do?

p.s. how do i add google adds?

#2 [mez]

    Young Padawan

  • Members
  • Pip
  • 96 posts
  • Location:Brisbane, Australia

Posted 31 March 2005 - 08:37 AM

Are you using Dreamweaver?

You need to set the Vertical Alignment to top or default.

GoogleAds: Youneed to first register with the google adsense program and be accepted. Then instructions are on the site.

#3 Spooky

    Rooster

  • Members
  • PipPip
  • 463 posts
  • Gender:Male
  • Location:Littleton, CO
  • Interests:Web Design, Programming, Client Management, Web Hosting, Tutorial Writing

Posted 31 March 2005 - 08:46 AM

Sigh, some people need to learn the HTML code ;), no offence mez :).

The code for vertical alignment with HTML in the td tags would be

valign="top"

so

<td valign="top">

There really is no way to do it with CSS for tables, it rarely works for me.

#4 HEki_

    Young Padawan

  • Members
  • Pip
  • 167 posts

Posted 31 March 2005 - 09:57 AM

well i didnt know for that code.
thx

#5 Jamie Huskisson

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 3,648 posts
  • Gender:Male
  • Location:Nottingham, UK

Posted 31 March 2005 - 10:06 AM

td class="top"

top {
vertical-align: top;
}

works most of the time, but not if u use form elements in the table ( i think )

#6 Spooky

    Rooster

  • Members
  • PipPip
  • 463 posts
  • Gender:Male
  • Location:Littleton, CO
  • Interests:Web Design, Programming, Client Management, Web Hosting, Tutorial Writing

Posted 31 March 2005 - 09:04 PM

thats true Jay, but using CSS with tables is just pointless, they look different in the browsers most of the time

#7 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 31 March 2005 - 09:17 PM

Spooky, on Mar 31 2005, 11:04 PM, said:

thats true Jay, but using CSS with tables is just pointless, they look different in the browsers most of the time
Yes but some of us uneducated designers can't do CSS layouts yet <_<





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users