PDA

View Full Version : [CSS] - Postioning Text



Digitalosophy
May 13th, 2004, 02:41 PM
Ok here's a silly problem I'm having.

What CSS tage will alow me to position text within a cell.

i.e.

I have a table with 5 columns. Each column in 100 px in width. I have text to be displayed as a link in each cell. The text should start at 14 pixels in height and 10 pixels in width.

I've been at w3schools for a while now but cannot figure an easy way out for this.

Thanks

Digitalosophy
May 14th, 2004, 11:02 AM
da bump =(

this is driving me mad.....

absolute positioning only allows me to position an object according to the page, i want to position an object within a table cell only.

as_clark20
May 14th, 2004, 11:07 AM
could you publish your html/css files on the web so we could have a gander. its so much easier when you can see it.

Digitalosophy
May 14th, 2004, 11:14 AM
cheers.. here you go

http://www.digitalosophy.com/crap/help.htm

rdj
May 14th, 2004, 12:29 PM
http://www.w3schools.com/css/css_margin.asp here you go! hope this is what you mean!

Digitalosophy
May 14th, 2004, 12:48 PM
http://www.w3schools.com/css/css_margin.asp here you go! hope this is what you mean!
YES!

thank you so much. i wasn't aware that i could do that with margin.

thanks again! :drool:

rdj
May 14th, 2004, 12:51 PM
:D np! glad i could help someone out, since i aint good with flash yet.

nykoelle
May 16th, 2004, 07:18 PM
its something like p { text-align: center; } or something :)

and befriend that w3schools, its extremely handy

Digitalosophy
May 16th, 2004, 07:21 PM
indeed w3schools is ;)

http://www.w3schools.com/css/css_padding.asp

thats what i used