Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Senior Member BallardStudio's Avatar
    Join Date
    Jul 2011
    Posts
    143
    Member #
    28552
    Liked
    6 times
    Is there a way to get rid of the line break between tags?

    <p class="contacthead">Art Director & Package Designer<br>
    <p class="contactbody">201-334-7670</p>

    .contacthead {color:#FFF; font-size:12pt; font-weight:bold}
    .contactbody {color:#FFF; font-size:10pt;}

    Please forgive me for this question. I'm sure it's something simple and I can't figure it out.
    I'm an art director crossing paths between print and web design.
    http://www.ballardstudio.com

  2.  

  3. #2
    Senior Member BallardStudio's Avatar
    Join Date
    Jul 2011
    Posts
    143
    Member #
    28552
    Liked
    6 times
    I also see a correction I made <br />
    I'm an art director crossing paths between print and web design.
    http://www.ballardstudio.com

  4. #3
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    the <br /> is the line break. If you want it to be all on one line just remove it, and put the second class fro the phone number into a span.

    <p class="contacthead">Art Director & Package Designer <span class="contactbody">201-334-7670</span></p>
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  5. #4
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    Here's another way, although it's harder and takes longer:
    put both of them in a div, called 'contact', for example. Then in your css, type:
    #contact p{
    display: inline;
    }
    What this does is takes all the <p>s in the div 'contact', and removes their breaks
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  6. #5
    Senior Member BallardStudio's Avatar
    Join Date
    Jul 2011
    Posts
    143
    Member #
    28552
    Liked
    6 times
    I edited the CSS and it worked out. Thanks.
    I'm an art director crossing paths between print and web design.
    http://www.ballardstudio.com


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:23 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com