Welcome Guest, please login or register.
Username:
Password:

News: Welcome to Hostpapa Forums!
Pages: [1]   Go Down
Topic Tools  
Read
March 03, 2010, 05:47:51 AM
d6709
Newbie
*
Posts: 7



Hi

I am trying to add a box around some text on my website, which was developed through drupal, the code I am using is
<table border=10>
<tr>
<td>
Some Text in a table
With a thicker border
</td>
</tr>
</table>

But all I seem to get is the text and no box around it, does anyone have any advice on how to solve this problem.

Tony
www.englishelectricpreservation.co.uk
Logged
 

Read
March 03, 2010, 12:27:24 PM
wspeeckaert
Jr. Member

**
Posts: 94



try something like this:

<tr>
<td>
<div style="border:solid #CCC">
Some Text in a table
With a thicker border
</div>
</td>
</tr>
</table>
Logged
 

Read
November 18, 2010, 05:12:11 AM
jocuri
Newbie
*
Posts: 4



For the box, is better to use table or div? I mean the page being G friendly.
Logged
 

Read
November 22, 2010, 03:25:34 PM
ax8l
Newbie
*
Posts: 4



To be google friendly it doesn't matter if is a div or not. More importantly is to be correct and pass validation.
Code:
<table frameborder="1" >
<tr>
<td>
text here
</td>
<tr>
</table>
Logged
 

Read
February 22, 2011, 01:58:30 AM
Austin Brove
Newbie
*
Posts: 1



hi
You can also try this <div style="border:1pxsolid red;">tytle</div>

Austin Brove
Website Design Templates
Logged
 

Pages: [1]   Go Up
Jump to:  

Theme by webtechnica.net