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 3 of 3
  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    9
    Member #
    26451
    Liked
    1 times

    CSS / HTML Text Container

    Hello,


    I am having an issue with my website byedui.com.


    On many of the pages the content stretches across the entire page, where it gets buried under other elements - video and an image. I was wondering if someone could help me on this? For example on the page DUI Charges Character Witnesses are Important in Your Case the content runs under the image.


    How can I set it so the content text runs only to the left edge of the embedded video? Would I have to set up a container and paste it into each page? I am at a loss and have never experienced such an issue before.


    Thanks!


    Gordon

  2.  

  3. #2
    Member spokanewebguy's Avatar
    Join Date
    Aug 2010
    Location
    Spokane
    Posts
    68
    Member #
    23273
    Liked
    1 times
    You can do this many ways, ideally, I would say you should put your text content in a div with a set width, for your content something like this:

    #content {width:60%;} (or you can use pixels if you prefer)
    then <div id="content"> before text and </div> after text.


    another way you can do it is put margin or padding to the bottom on the video container itself, but this is a poor method to me.

  4. #3
    Junior Member
    Join Date
    Jul 2013
    Posts
    4
    Member #
    36748
    Liked
    1 times
    Use <span> for containing the text, I think this will help you to adjust your content. like this..
    <span>Brazil vs Argentina</span>
    Last edited by JackSmith012; Jul 16th, 2013 at 05:26 AM.


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
  •  

Search tags for this page

text container html

Click on a term to search for related topics.

Tags for this Thread

All times are GMT -6. The time now is 06:43 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com