![]() |
HTML center text tag
Code:
text <center>link</center> |
td align="center"
|
Quote:
|
You can't have something left aligned and something centered....
the centered item would have no idea where the center is supposed to be. The more "text" you have left aligned, the further to the right the "centered" link is going to end up. |
ok, guess i will have to create 2 different tables to do this. one for the text & one for the link. i have to do this more then 60 times though. i was hoping for an easier way to do this. :(
|
you can do this using some simple css if you so wish
Code:
<html> |
i was just going to ask if there was a way to do this with css, thanks warlordx. i'll try that now.
|
no problemo bud im a code whore lmao speak nice things about me if the cops ever come knocking hehe
|
i was going to say, Css that shit in there... it may be tricky but it can damn near ALWAYS be done.....
|
Quote:
|
First of all, those should be classes instead of ID's if they're to be done again on the page.... secondly, it still won't work unless the divs have widths specified to them as the divs will adjust according to the length of the divs... again, not properly centering it.
|
<td align="center">
<div style="width: 500px;"> <p align="left"> text </p> </div> </td> |
i got it to work with css. thanks again warlordx. you rock! :)
|
Quote:
no problemo bud :) |
Quote:
|
Quote:
|
html/css guru here...
|
| All times are GMT -7. The time now is 09:17 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123