Closed Thread Icon

Preserved Topic: CSS Positioning (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18125" title="Pages that link to Preserved Topic: CSS Positioning (Page 1 of 1)" rel="nofollow" >Preserved Topic: CSS Positioning <span class="small">(Page 1 of 1)</span>\

 
CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 08-15-2001 21:38

I am redoing my web page to be totally CSS. I have a question though.
For the news section, I have a "News Header" and a "Date/Time" section. I want both of these to be on the same line but the "Header" section left justified and the "Date/Time" right justified.

Pretty much what I have now is just a tag that defines the font, color, etc... but I need help with the spacing between the Header and Date.

Can someone give me some help on how this is done.

Thanks,
C:\

twItch^
Maniac (V) Mad Scientist

From: the west wing
Insane since: Aug 2000

posted posted 08-15-2001 21:40

spans.

text-align : left
and
text-align : right

div's put line-breaks, use spans.


s t e p h e n

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-15-2001 22:57

Hmmm... twitch, if you said display:inline for a div, would it behave like a span?

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 08-16-2001 14:43

Thanks twitch^

« BackwardsOnwards »

Show Forum Drop Down Menu