Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Positioning Question

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #38241
    goalieman34
    Member

    The stock ticker I put in my website is behind my petrowest logo and I would like it moved over to under the search bar. If someone could take a look and see what is wrong that would be awesome.
    http://petrowest.squarespace.com/

    #103560
    Meta_Ing
    Participant

    First, set the position property for #topNav to relative. Next, set the following properties for #stockticker: position:absolute, top:0, right:0. Finally, remove the padding-right property from #stockticker

    Hope that helps.

    Edit – Sorry, I wasn’t aware of your previous question. Are you still looking for a way to do this without setting position:absolute?

    #103562
    goalieman34
    Member

    @Meta_Ing Thank you so much! worked perfectly. Just one last question. Do you see a way that I could get rid of the white background in the stock ticker?

    #103564
    Meta_Ing
    Participant

    No problem. And just remove the background property from #stockContainer and you should be good.

    #103565
    goalieman34
    Member

    awesome! thanks again

    #103587
    goalieman34
    Member

    @Meta_Ing Hey, I was just wondering if you could take a look at one other thing for me if you had time. I was wanting to add “volume” to my stock ticker and am not sure where to include it in the code. Not sure if you have any idea on what to do.
    Here is the stock ticker I am using:
    http://davidwalsh.name/javascript-stock-quotes
    Here is my website:
    http://petrowest.squarespace.com/

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.