+1-888-365-2779
Try Now
More in this section

Forums / 3.x Pre-release forums (retired) / Absolute CSS Position

Absolute CSS Position

2 posts, 0 answered
  1. Paul Berger
    Paul Berger avatar
    61 posts
    Registered:
    03 Apr 2006
    04 Dec 2006
    Link to this post
    Hi Guys

    I am using Absolute Positioning for my CSS layout. In the editor it overlaps the right toolbar.

    I tried using a container but it is still not working for me.

    http://www.happen.biz/downloads/CSS_Issue.zip
  2. Nikolay
    Nikolay avatar
    21 posts
    Registered:
    24 Feb 2016
    04 Dec 2006
    Link to this post
    Hi Paul,

    You have done everything right (according to the suggestions in my previous post) but with a small difference:

    <div id="container" runat="server">

    The difference is runat="server" attribute that you have added.
    Because of  this attribute the server changes the id of this div on page render. The rendered html code in your case is:

    <div id="ctl00_container">

    The css properties for div with id="container" don't apply because the div with id="container" doesn't exist.
    You have to remove runat="server" from this div in the masterpage.
    Alternatively, if you want to leave runat="server", you need to change the id attribute with a class attribute:
    <div class="container" runat="server">
    In this case you need to change the css selector, too:
    .container instead of #container

    Best wishes,
    Nikolay
    the telerik team
2 posts, 0 answered