Discussion Forums  >  Uncategorized

Replies: 5    Views: 172

AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
02/15/12 01:31 PM (12 years ago)

Border to txt, custom html screen (ios)

Is there a way to add a border to the custom html, cause my text would look really good with a border?? Thanks Jack
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
02/15/12 01:50 PM (12 years ago)
Absolutely. The easiest way is probably to create a table using the html editor of your choice that would have one row and one column. then put all of your text into that table. You can set the width of the table to 100% so it will take up the whole screen. Then just adjust the border size of the table to get the look you want. Make sense? Josh
 
AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
like
02/15/12 02:15 PM (12 years ago)
that sounds perfect, thanks man!!
 
Zackamo
Aspiring developer
Profile
Posts: 175
Reg: Oct 25, 2011
Bryan TX
3,400
like
02/15/12 04:22 PM (12 years ago)
You should also be able to do it with a DIV.. Though since we are only talking about android and iphone browsers with which variation is rare, I would avoid using tables where all possible unless super necessary, as they are becoming more and more depreciated in new versions of HTML.
 
Zackamo
Aspiring developer
Profile
Posts: 175
Reg: Oct 25, 2011
Bryan TX
3,400
like
02/15/12 04:24 PM (12 years ago)
Boom, here is what you need. http://www.w3schools.com/css3/css3_borders.asp Note by using css and divs you can do stuff like shadows and some more interesting stuff.
 
AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
like
02/15/12 04:43 PM (12 years ago)
Thnaks man
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.