• Hi.

    I would like to have a border around all my lines, not one borders around every line.
    One border around the whole thing. So it will look like a box.
    How do I do that?
    This is my code:

    <strong> <p style = "font-family:Helvetica; font-size:24px;  text-decoration:none;">
    <a href="" style="color:black" title="A - Websites 1 ">B - Websites 1<a>
    </br>
    <a href = "" style="color:black" tiltle ="B - Websites 2">B - Websites 2<a>
    </br>
    <a href="" style="color:black" title="A - Websites 3 ">B - Websites 3<a>
    </br> </p> </strong>
Viewing 7 replies - 1 through 7 (of 7 total)
  • might work putting a span with the border around the whole block of code:

    <span style="border:1px solid #000; "><strong> <p style = "font-family:Helvetica; font-size:24px;  text-decoration:none;">
    <a href="" style="color:black" title="A - Websites 1 ">B - Websites 1<a>
    </br>
    <a href = "" style="color:black" tiltle ="B - Websites 2">B - Websites 2<a>
    </br>
    <a href="" style="color:black" title="A - Websites 3 ">B - Websites 3<a>
    </br> </p> </strong></span>
    Thread Starter sunsi55

    (@sunsi55)

    Hi.
    It dosent work. Then every line gets its own box.
    I need one box around everyone of them.
    Got any other ideas?

    if a ‘span’ is not doing it, try the same using a ‘div’

    Thread Starter sunsi55

    (@sunsi55)

    It dosen`t work either.
    If I use div I get:
    – One border!
    – But it goes out to the main content of my webpage also, it dosen`t just border the sidebar.
    The box is way to big. I have a box over my whole webpage…

    Do you have any other sugestions 🙂 ?

    a link to your site might help to illustrate your challenge.

    it is easier to make purposeful suggestions when looking at the area in question.

    have you actually tried to put the border into the paragraph tag in your original code:

    <p style = "font-family:Helvetica; font-size:24px; text-decoration:none; border: 1px solid #000; ">

    Thread Starter sunsi55

    (@sunsi55)

    Yes I have tried that.
    But it dosen`t work either..
    But thanks for the help! 🙂
    If you have any other suggestions I am very greatful for that! Great help! 🙂

    i just took your code from the first post – with the border added to the paragraph style, and it showed a border around all three links:

    <p style = "font-family:Helvetica; font-size:24px; text-decoration:none; border: 1px solid #000; ">

    if your site has problems with that, the only thing to get more help is to posts a link to your site, to the page/post with these links.
    maybe some style of your theme is overwriting the border.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Border around more then one line!’ is closed to new replies.