Author Topic: quick html query  (Read 1342 times)

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
quick html query
« on: 12 June 2003, 22:20 »
in the following, i want the table to line up against the left edge of the page, in the same way as the heading does, but it won't no matter what tags i put around it.
anybody know how to do this?

Code: [Select]

thanks in advance etc
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
quick html query
« Reply #1 on: 12 June 2003, 22:55 »
If you set border to 1 you'll see that the table is actually lining up against the side. It's just that the column headers are centered.
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


Pantso

  • Member
  • **
  • Posts: 1,249
  • Kudos: 55
    • http://www.support-freesoftware.org
quick html query
« Reply #2 on: 14 June 2003, 04:27 »
flap's right Calum. Just set the border value to "1" and you'll see that the table is actually aligned against the left edge of the page.

beltorak0

  • Member
  • **
  • Posts: 223
  • Kudos: 0
    • http://www.angelfire.com/realm/beltorak
quick html query
« Reply #3 on: 15 June 2003, 00:49 »
was this more or less what you had in mind?

Code: [Select]

Or is there a reason you would not want the title as part of the table?
from Attrition.Org
 
quote:
Like many times before, Microsoft is re-inventing the wheel and opting for something other than round.

-t.


xyle_one

  • VIP
  • Member
  • ***
  • Posts: 2,213
  • Kudos: 135
quick html query
« Reply #4 on: 15 June 2003, 01:16 »
to get the table to sit on the edge, i added margin tags-
Code: [Select]
[ June 14, 2003: Message edited by: ecsyle ]

[ June 14, 2003: Message edited by: ecsyle ]


jasonlane

  • Member
  • **
  • Posts: 743
  • Kudos: 0
    • http://www.root10.net
quick html query
« Reply #5 on: 2 July 2003, 22:02 »
Code: [Select]

Sorry guys but that wont be valid, left and right margin & marginwidth have to be expressed as CSS not as Markup attributes, try validating on W3C

Code: [Select]

(will produc a 20px top margin) OR

Code: [Select]

OR Even!

Code: [Select]


All in the interests of standards and rightness, not trying to flame    
The MES Anti-Prude Force
*******
"I don

Refalm

  • Administrator
  • Member
  • ***
  • Posts: 5,183
  • Kudos: 704
  • Sjembek!
    • RADIOKNOP
quick html query
« Reply #6 on: 2 July 2003, 23:34 »
I've put my beta page through W3C's validator, and I must say it's HTML 4.01 compliant. I'd never do it in XHTML though, it's just... ehm... kinda strange to me. CSS and PHP (HTML 4.01 compliant) is what I use on my beta homepage, and it works great.

xyle_one

  • VIP
  • Member
  • ***
  • Posts: 2,213
  • Kudos: 135
quick html query
« Reply #7 on: 3 July 2003, 02:23 »
i didn't valiadate mine. Margin tags were the first thing to come to mind    

Next time though.. you can be sure i will run it through the validator.

jasonlane

  • Member
  • **
  • Posts: 743
  • Kudos: 0
    • http://www.root10.net
quick html query
« Reply #8 on: 3 July 2003, 16:26 »
quote:
Originally posted by Refalm:
I've put my beta page through W3C's validator, and I must say it's HTML 4.01 compliant. I'd never do it in XHTML though, it's just... ehm... kinda strange to me. CSS and PHP (HTML 4.01 compliant) is what I use on my beta homepage, and it works great.


But XHMTL is so much better Refalm, divisions of concerns and all that. At then end of the day it's what ever you feel comfortable with  ;)
The MES Anti-Prude Force
*******
"I don