[help] The Html Code For Text Alignment

Hello!

I created a design in Photoshop. spliced it up, and then added text to one of the boxes I created in Photoshop. The issue is that the text goes onto a line which is part of the design making the text hard to read. Can someone please tell me the html code for text alignment?

Thank you,

htmlishard

#186865

Uhm.... the HTML? There's

tags... but you'd probably be best to go with CSS.

Try adding a style="left: 4px; top: 4px" to the tag that surrounds your text, but change 4px to whatever values put the text in the appropriate place.

It's sort of hard to give advice without seeing the code.

#186875

Originally posted by Cerebral@Jul 6 2004, 10:52 PM

Uhm.... the HTML?  There's

tags... but you'd probably be best to go with CSS.

Try adding a style="left: 4px; top: 4px" to the tag that surrounds your text, but change 4px to whatever values put the text in the appropriate place.

It's sort of hard to give advice without seeing the code.

<{POST_SNAPBACK}>

There are and tags? :blink:

There's (like

)

#186919

Originally posted by pst9er@Jul 6 2004, 09:11 PM

There are and tags?  :blink:

<{POST_SNAPBACK}>

Meh, I thought there were.. it's been a long time since I've used HTML for positioning.

-=edit=- Hmn.. upon looking up the HTML stuff, I see that there is indeed no or . My bad. Still, CSS can generally provide more exact positioning anywho. -=/edit=-

#187060

Thank you for all of your help.

I have an Adobe software suite and it has alot of programs like GoLive, InDesign, ect. Would any of these programs help me with centering my text so I can then go back to editing html in notepad?

htmlishard

#187097

Originally posted by htmlishard@Jul 7 2004, 11:47 AM

I have an Adobe software suite and it has alot of programs like GoLive, InDesign, ect. Would any of these programs help me with centering my text so I can then go back to editing html in notepad?

<{POST_SNAPBACK}>

No clue, I only use Vim (Notepad) for all my HTML work... can't help you with Software Suites and whatnot, sorry.

#187107

LOL Golive IS the HTML-Editor from Adobe

*hehe* - if you have problems - mail me or IM me

#187121

Originally posted by Cerebral@Jul 7 2004, 12:32 PM

Meh, I thought there were.. it's been a long time since I've used HTML for positioning.

-=edit=- Hmn.. upon looking up the HTML stuff, I see that there is indeed no or .  My bad.  Still, CSS can generally provide more exact positioning anywho. -=/edit=-

<{POST_SNAPBACK}>

Ah, gotcha. Yeah, I agree... I'm not a big fan of positioning with HTML like that when I'm gunning for precision :D

#187200