1 Replies - 357 Views - Last Post: 13 February 2012 - 04:08 AM

Topic Sponsor:

#1 jhoog  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 29
  • Joined: 13-June 11

Having trouble with rendering order

Posted 07 February 2012 - 08:27 AM

I am having trouble getting this to render properly. My Info Div is being rendered after the Scheduled Div and i need it to be done first.

"<div id=\"Container1Div\" style=\"position:relative; width: 100%; height: 20px; background-color: gray;\">" +
                                              "<div id=\"SpacingDiv\" style=\"width:" + 0 + "px; position: absolute; margin: auto; height: 20px; text-align: center; background-image: url('Images/CalendarLine.jpg'); background-repeat: repeat-y;\">" +
                                              "</div>" +
                                              "<div id=\"InfoDiv\" style=\"width:" + (percentageBLDGoal * 300) + "px; position:absolute; height: 20px; background-color: LightGreen;\">" +
                                              "</div>" +
                                              "<div id=\"ScheduledDiv\" style=\"width:" + 100 + "px; position:absolute; height: 20px; background-color: LightBlue;\">" +

                                              "</div>" +
                                            "<div id=\"NameDiv\" style=\"position:absolute; height:20px; color:black;\">" + getUserName(UserID) + "</div>" +
                                           "</div>";



Is This A Good Question/Topic? 0
  • +

Replies To: Having trouble with rendering order

#2 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 2147
  • View blog
  • Posts: 5,430
  • Joined: 08-June 10

Re: Having trouble with rendering order

Posted 13 February 2012 - 04:08 AM

does it really matter in which order they are rendered, as long as the finished page is correct?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1