Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    New Coder
    Join Date
    Jun 2013
    Posts
    15
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Well, after hours of messing around with the code, it all came down to your solutions , I forgot to add the position: relative to the original code and then add the position: absolute to the ::before.

    It works and I had to do a negative for the left position.

    I am guessing that everything will be the same for the other side (right side)
    and use ::after also instead of ::before and also change the left: -15px; to right: 15px

    I will do the changes for the right side now and see if it works also for the right side.

    Thanks for your help!!

  2. #17
    New Coder
    Join Date
    Jun 2013
    Posts
    15
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question

    It doesn't seems to work because I just can't see the white little bar anywhere around the screen and tried changing the values for top and right.
    It seems that the :after is not working at all.
    Last edited by mannygodi; 06-19-2013 at 05:15 AM.

  3. #18
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,300
    Thanks
    28
    Thanked 275 Times in 269 Posts
    Quote Originally Posted by mannygodi View Post
    It doesn't seems to work because I just can't see the white little bar anywhere around the screen and tried changing the values for top and right.
    It seems that the :after is not working at all.
    Not sure what to tell you. It should be the same process except utilizing the right property instead.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  4. #19
    New Coder
    Join Date
    Jun 2013
    Posts
    15
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question

    It seems there is another :after in some other css file, and it does a clearfix, would this be affecting the :after I am creating ?? (a conflict perhaps).

    I am still learning css so pardon me all these questions.

    Thanks again for your help!

  5. #20
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,300
    Thanks
    28
    Thanked 275 Times in 269 Posts
    Quote Originally Posted by mannygodi View Post
    It seems there is another :after in some other css file, and it does a clearfix, would this be affecting the :after I am creating ?? (a conflict perhaps)
    That certainly could be the case. Given that I don't have access to the code, I can't really say much more than that.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  6. #21
    New Coder
    Join Date
    Jun 2013
    Posts
    15
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Smile

    I was using the container (#maincontent) and now I am using (#wrapper) in the template and now it works. There must be something in conflict there because only the ::before works and not the ::after.

    All good now

    Thanks !!!!


 
Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •