Click to See Complete Forum and Search --> : at the same line


handong888
07-02-2004, 09:14 AM
how can I put two words on the same line, but one is on the left and another one is on the right. what is the html code for it?

i tried <align ="left">, but it seems not working very well. thank you very much

Vladdy
07-02-2004, 09:41 AM
HTML marks up document structure. What you are talking about is presentation, which is controlled by CSS. Look up "float" property.

handong888
07-02-2004, 09:52 AM
could you explain a little bit what is different between CSS and Html? thank you very much

the tree
07-02-2004, 10:10 AM
I think vladdy just did,

HTML is for document sruture i.e. this bit bold, pararagraph start here, paragraph end here.

CSS is for presentation i.e. bold text go blue when mouse over, first letter of paragraph be green ect ect.