[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

how to put borders order text

Posted on 1999-12-02
6
Medium Priority
?
150 Views
Last Modified: 2010-04-09
I know how to create tables and use borders with those, but I am trying to do something different. I want to create one (skinny) border to go around a few lines of text. Basically I want a box to outline a few lines of text. I suspect I can do this with tables, but for the life of me I can't figure it out!
thanks,
Scott
0
Comment
Question by:cscott57
  • 2
  • 2
  • 2
6 Comments
 
LVL 4

Accepted Solution

by:
garrethg earned 200 total points
ID: 2249051
Is this the sort of thing you're looking for?

<TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0" BGCOLOR="#000000">
<TR>
<TD>
  <TABLE CELLSPACING="1" CELLPADDING="3" BORDER="0">
  <TR>
  <TD BGCOLOR="#FFFFFF">text</TD>
  </TR>
  </TABLE>
</TD>
</TR>
</TABLE>

Nested tables must be used to achieve the same results on both NSN and MSIE.
0
 

Author Comment

by:cscott57
ID: 2249085
Is this a nested table? What you provided here is EXACTLY what I am looking for and is working well on my IE4. Will it work well on other browsers too?

(Weird that the question was posted twice. I think it is because I had pressed "refresh" on my browser.")

thanks,
Scott
0
 
LVL 4

Expert Comment

by:oubelkas
ID: 2249123
scott>> garrethg gave the right answer, it works on both IE and NS. I used this method once and it works on all browsers. So you could accept his comment as an answer ;)

Joseph
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 

Author Comment

by:cscott57
ID: 2249141
THANKS
0
 
LVL 4

Expert Comment

by:garrethg
ID: 2249150
Yes you can get a repost to the server on refresh.

The advantage of using tables for this (as opposed CSS) is that it will work on all browser that support tables with background colors. Such browsers are used by something around 95%+ of net using public. That's about the widest coverage you're going to get.
0
 
LVL 4

Expert Comment

by:oubelkas
ID: 2249159
yep, I'm with garrethg ;)
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question